![]() |
PandaRoot
|
Propagator interface class for PandaRoot. More...
#include <PndPropagator.h>
Public Member Functions | |
| PndPropagator () | |
| default constructor More... | |
| PndPropagator (const TString &name, const TString &title) | |
| virtual | ~PndPropagator () |
| virtual void | Init (FairTrackPar *) |
| default destructor More... | |
| virtual Bool_t | Propagate ([[gnu::unused]] FairTrackPar *TStart, [[gnu::unused]] FairTrackPar *TEnd, [[gnu::unused]] Int_t PDG) |
| Propagate track to point, wire, plane or volume. More... | |
| virtual Bool_t | Propagate ([[gnu::unused]] Float_t *x1, [[gnu::unused]] Float_t *p1, [[gnu::unused]] Float_t *x2, [[gnu::unused]] Float_t *p2, [[gnu::unused]] Int_t PDG) |
| Propagate track to point, wire, plane or volume. More... | |
| virtual PndProp::PCAOutputStruct | FindPCA ([[gnu::unused]] Int_t PCA, [[gnu::unused]] Int_t PDGCode, [[gnu::unused]] TVector3 Point, [[gnu::unused]] TVector3 Wire1, [[gnu::unused]] TVector3 Wire2, [[gnu::unused]] Double_t MaxDistance) |
| Find point of closest approach to point or wire. More... | |
| virtual Bool_t | SetPropagateOnlyParameters () |
| Method to set to propagate only parameters. More... | |
| virtual Bool_t | SetPCAPropagation ([[gnu::unused]] Int_t pca, [[gnu::unused]] Int_t dir=1, [[gnu::unused]] FairTrackPar *par=nullptr) |
| Set PCA propagation. More... | |
| virtual Bool_t | SetDestinationPlane ([[gnu::unused]] const TVector3 &v0, [[gnu::unused]] const TVector3 &v1, [[gnu::unused]] const TVector3 &v2) |
| Method to set the plane to propagate particles to. More... | |
| virtual Bool_t | SetOriginPlane ([[gnu::unused]] const TVector3 &v0, [[gnu::unused]] const TVector3 &v1) |
| Method to set the plane to propagate particles from. More... | |
| virtual Bool_t | SetDestinationVolume (std::string volName, Int_t copyNo, Int_t option) |
| Method to set the volume to propagate particles to. More... | |
| virtual Bool_t | SetDestinationLength (Float_t length) |
| Method to set the length to propagate particles to. More... | |
| virtual Bool_t | SetDestinationPoint (const TVector3 point) |
| Method to set the point to propagate particles to. More... | |
| virtual Bool_t | SetDestinationWire (const TVector3 wire1, const TVector3 wire2) |
| Method to set wire to propagate to. More... | |
| virtual PndProp::PCAOutputStruct | GetPcaOutput () |
| get PCAOutputStruct containing all relevant pca informations. More... | |
| virtual Float_t | GetLengthAtPCA () |
| virtual Float_t | GetDistAtPCA () |
| Get distance between point of closest approach and vertex. More... | |
| virtual TVector3 | GetPCA () |
| Get position of pca on track. More... | |
| ClassDef (PndPropagator, 1) | |
Protected Attributes | |
| Int_t | fPcaMode |
| if 1: propagate to point, if 2: propagate to line, if 0: no pca More... | |
| TVector3 | fPoint |
| point to which to calculate pca More... | |
| TVector3 | fWire1 |
| first anchor point of line to which to calculate pca More... | |
| TVector3 | fWire2 |
| second anchor point of line to which to calculate pca More... | |
| Float_t | fDestinationLength |
| track length when PropagateToTrack is chosen More... | |
| TString | fVolumeName |
| volume name More... | |
| Int_t | fVolumeCopyNo |
| volume copy number More... | |
| Bool_t | fVolumeEnter |
| true if enter volume More... | |
| TVector3 | fInitialPosition |
| initial position in cm More... | |
| TVector3 | fInitialMomentum |
| initial momentum in GeV More... | |
| TVector3 | fFinalPosition |
| final position More... | |
| TVector3 | fFinalMomentum |
| final momentum More... | |
| PndProp::PCAOutputStruct | fPcaOutput |
Propagator interface class for PandaRoot.
Definition at line 52 of file PndPropagator.h.
| PndPropagator::PndPropagator | ( | ) |
default constructor
| PndPropagator::PndPropagator | ( | const TString & | name, |
| const TString & | title | ||
| ) |
|
inlinevirtual |
Definition at line 75 of file PndPropagator.h.
| PndPropagator::ClassDef | ( | PndPropagator | , |
| 1 | |||
| ) |
Referenced by PndHelixPropagator::GetPcaMode().
|
inlinevirtual |
Find point of closest approach to point or wire.
| pca | if = 1: closest approach to point if = 2: closest approach to wire if = 0: no closest approach |
| PDGCode | pdg code of the particle |
| point | point with respect to which calculate the closest approach |
| wire | first anchor point of line with respect to which calculate the closest approach |
| wire2 | second anchor point of line with respect to which calculate the closest approach |
| maxdistance | geometrical distance[start - point/wire extr] * 2 |
Definition at line 123 of file PndPropagator.h.
|
inlinevirtual |
Get distance between point of closest approach and vertex.
Definition at line 250 of file PndPropagator.h.
References PndProp::PCAOutputStruct::Distance.
|
inlinevirtual |
Get Track length at point of closest approach.
Reimplemented in PndGeanePro.
Definition at line 245 of file PndPropagator.h.
References PndProp::PCAOutputStruct::TrackLength.
|
inlinevirtual |
Get position of pca on track.
Definition at line 255 of file PndPropagator.h.
References PndProp::PCAOutputStruct::OnTrackPCA.
|
inlinevirtual |
get PCAOutputStruct containing all relevant pca informations.
Definition at line 240 of file PndPropagator.h.
|
inlinevirtual |
default destructor
Reimplemented in PndHelixPropagator, and PndGeanePro.
Definition at line 77 of file PndPropagator.h.
|
inlinevirtual |
Propagate track to point, wire, plane or volume.
| TStart | track parameters at point from which to propagate |
| TEnd | track parameters at end point of propagation |
| PDG | pdg code of the particle to propagate |
Definition at line 86 of file PndPropagator.h.
|
inlinevirtual |
Propagate track to point, wire, plane or volume.
| x1 | coordinates of point from which to propagate |
| p1 | momentum at point from which to propagate |
| x2 | coordinates of end point of propagation |
| p2 | momentum at end point of propagation |
| PDG | pdg code of the particle to propagate |
Definition at line 102 of file PndPropagator.h.
|
inlinevirtual |
Method to set the length to propagate particles to.
| length | track length |
Reimplemented in PndGeanePro.
Definition at line 206 of file PndPropagator.h.
|
inlinevirtual |
Method to set the plane to propagate particles to.
| v0 | first plane defining vector |
| v1 | second plane defining vector |
| v2 | third plane defining vector |
Reimplemented in PndHelixPropagator.
Definition at line 165 of file PndPropagator.h.
|
inlinevirtual |
Method to set the point to propagate particles to.
| point | destination point |
Reimplemented in PndGeanePro.
Definition at line 217 of file PndPropagator.h.
|
inlinevirtual |
Method to set the volume to propagate particles to.
| volName | volume name |
| copyNo | copy number |
| option | other options |
Reimplemented in PndGeanePro.
Definition at line 190 of file PndPropagator.h.
|
inlinevirtual |
Method to set wire to propagate to.
| wire1 | first anchor point of wire to propagate to |
| wire2 | second anchor point of wire to propagate to |
Reimplemented in PndGeanePro.
Definition at line 228 of file PndPropagator.h.
|
inlinevirtual |
Method to set the plane to propagate particles from.
| v0 | first plane defining vector |
| v1 | second plane defining vector |
Reimplemented in PndHelixPropagator.
Definition at line 178 of file PndPropagator.h.
|
inlinevirtual |
Set PCA propagation.
| pca | if = 1: closest approach to point if = 2: closest approach to wire if = 0: no closest approach |
| dir | if = +1: move forward if = -1: move backward |
| par | initial track parameters |
Definition at line 151 of file PndPropagator.h.
|
inlinevirtual |
Method to set to propagate only parameters.
Reimplemented in PndGeanePro.
Definition at line 139 of file PndPropagator.h.
|
protected |
track length when PropagateToTrack is chosen
Definition at line 59 of file PndPropagator.h.
|
protected |
final momentum
Definition at line 67 of file PndPropagator.h.
|
protected |
final position
Definition at line 66 of file PndPropagator.h.
|
protected |
initial momentum in GeV
Definition at line 65 of file PndPropagator.h.
Referenced by PndHelixPropagator::Radius().
|
protected |
initial position in cm
Definition at line 64 of file PndPropagator.h.
|
protected |
if 1: propagate to point, if 2: propagate to line, if 0: no pca
Definition at line 55 of file PndPropagator.h.
Referenced by PndHelixPropagator::GetPcaMode(), and PndHelixPropagator::SetPCAPropagation().
|
protected |
Definition at line 69 of file PndPropagator.h.
Referenced by PndGeanePro::GetLengthAtPCA().
|
protected |
point to which to calculate pca
Definition at line 56 of file PndPropagator.h.
Referenced by PndHelixPropagator::GetPoint().
|
protected |
volume copy number
Definition at line 61 of file PndPropagator.h.
|
protected |
true if enter volume
Definition at line 62 of file PndPropagator.h.
|
protected |
volume name
Definition at line 60 of file PndPropagator.h.
|
protected |
first anchor point of line to which to calculate pca
Definition at line 57 of file PndPropagator.h.
|
protected |
second anchor point of line to which to calculate pca
Definition at line 58 of file PndPropagator.h.