![]() |
PandaRoot
|
Interface to GEANE for PandaRoot. More...
#include <PndGeanePro.h>
Public Member Functions | |
PndGeanePro () | |
default constructor More... | |
~PndGeanePro () | |
destructor More... | |
void | Init (FairTrackPar *TParam) |
Method to initialize last track parameter of reconstructed track. More... | |
Bool_t | Propagate (Int_t PDG) |
Main propagate function that calls ERTRAK from GEANE to do the propagation. More... | |
virtual Bool_t | Propagate (FairTrackPar *TStart, FairTrackPar *TEnd, int PDG) |
Propagate function called by user. More... | |
virtual Bool_t | Propagate (Float_t *x1, Float_t *p1, Float_t *x2, Float_t *p2, Int_t PDG) |
Propagate function called by user. More... | |
virtual PndProp::PCAOutputStruct | FindPCA (Int_t pca, Int_t PDGCode, TVector3 point, TVector3 wire1, TVector3 wire2, Double_t maxdistance) |
Find the point of closest approach of the track to a point (measured position) or to a line (wire). More... | |
virtual Bool_t | SetDestinationPlane (const TVector3 &v0, const TVector3 &v1, const TVector3 &v2) |
Method to set the plane to propagate particles to. More... | |
virtual Bool_t | SetOriginPlane (const TVector3 &v0, 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 (TVector3 point) |
Method to set point to propagate to. More... | |
virtual Bool_t | SetDestinationWire (TVector3 wire1, TVector3 wire2) |
Method to set wire to propagate to. More... | |
virtual Bool_t | SetPropagateOnlyParameters () |
Method to set to propagate only parameters. More... | |
virtual bool | SetPCAPropagation (Int_t pca, Int_t dir=1, FairTrackPar *par=nullptr) |
Method to set PCA mode, propagation direction and other propagation options, initializes track parameter and error matrix. More... | |
void | SetBackProp () |
Method to set propagation to backwards propagation. More... | |
Float_t | GetLengthAtPCA () |
void | GetTransportMatrix (Double_t trm[5][5]) |
Method to retrieve the transport matrix. More... | |
ClassDef (PndGeanePro, 1) | |
![]() | |
PndPropagator () | |
default constructor More... | |
PndPropagator (const TString &name, const TString &title) | |
virtual | ~PndPropagator () |
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 | 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 PndProp::PCAOutputStruct | GetPcaOutput () |
get PCAOutputStruct containing all relevant pca informations. More... | |
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) | |
Additional Inherited Members | |
![]() | |
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 |
Interface to GEANE for PandaRoot.
Definition at line 18 of file PndGeanePro.h.
PndGeanePro::PndGeanePro | ( | ) |
default constructor
PndGeanePro::~PndGeanePro | ( | ) |
destructor
PndGeanePro::ClassDef | ( | PndGeanePro | , |
1 | |||
) |
Referenced by GetTransportMatrix().
|
virtual |
Find the point of closest approach of the track to a point (measured position) or to a line (wire).
pca | = 1 closest approach to point = 2 closest approach to wire = 0 no closest approach |
PDGCode | pdg code of particle |
point | point with respect to which pca is calculated |
wire1 | first anchor point of line with respect to which pca is calculated |
wire2 | second anchor point of line with respect to which pca is calculated |
maxdistance | = geometrical distance[start - point/wire extr] * 2 |
|
inlinevirtual |
Reimplemented from PndPropagator.
Definition at line 179 of file PndGeanePro.h.
References PndPropagator::fPcaOutput, and PndProp::PCAOutputStruct::TrackLength.
|
inline |
Method to retrieve the transport matrix.
trm | Matrix in which the values of the transport matrix are stored. |
Definition at line 185 of file PndGeanePro.h.
References ClassDef(), and i.
|
virtual |
Method to initialize last track parameter of reconstructed track.
Position and momentum of particle at last point of track are copied to arrays that GEANE can use.
Reimplemented from PndPropagator.
Bool_t PndGeanePro::Propagate | ( | Int_t | PDG | ) |
Main propagate function that calls ERTRAK from GEANE to do the propagation.
Prior to calling this function, the GEANE must be set up properly. This is done by the Propagate(FairTrackPar*, FairTrackPar*) and Propagate(Float_t*, Float_t*, Float_t*, Float_t*, Int_t) functions.
Int_t | pdg code of the particle to propagate |
|
virtual |
Propagate function called by user.
Propagates track from start to end point and returns end point and momentum. Before calling Propagate, the destination of propagation must be set using
TStart | start track parameters - usually the momentum and position at the last point of the reconstructed track |
TEnd | the return track parameters at the end of propagation |
PDG | the pdg code of the particle to propagate |
|
virtual |
Propagate function called by user.
This propagate function takes in arrays with start position and momentum. Before calling this function, GEANE needs to be set up and the destination length needs to be set.
|
inline |
Method to set propagation to backwards propagation.
Definition at line 174 of file PndGeanePro.h.
|
virtual |
Method to set the length to propagate particles to.
length | track length |
Reimplemented from PndPropagator.
|
virtual |
Method to set the plane to propagate particles to.
v0 | first plane defining vectors |
v1 | second plane defining vectors |
v2 | third plane defining vectors |
|
virtual |
Method to set point to propagate to.
point | point to propagate to |
Reimplemented from PndPropagator.
|
virtual |
Method to set the volume to propagate particles to.
volName | volume name |
copyNo | copy number |
option | additional options |
Reimplemented from PndPropagator.
|
virtual |
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 from PndPropagator.
|
virtual |
Method to set the plane to propagate particles from.
v0 | first plane defining vectors |
v1 | second plane defining vectors |
|
virtual |
Method to set PCA mode, propagation direction and other propagation options, initializes track parameter and error matrix.
pca | PCA mode = 1 closest approach to point = 2 closest approach to wire = 0 no closest approach |
dir | propagation direction = 1 forwards = -1 backwards |
par | track parameter at end of reconstructed track |
|
virtual |
Method to set to propagate only parameters.
Reimplemented from PndPropagator.