4 #include "FairLogger.h" 5 #include "FairPropagator.h" 9 #include "TDatabasePDG.h" 10 #include "FairGeaneApplication.h" 21 Float_t fDestinationLengthArray[1];
22 Float_t fInErrorMatrix[15];
23 Double_t fTransportMatrix[5][5];
24 Float_t fInitialPlane[6];
25 Float_t fInitialPositionArray[3];
26 Float_t fInitialMomentumArray[3];
27 Float_t fFinalPlane[12];
28 Float_t fFinalPositionArray[3];
29 Float_t fFinalMomentumArray[3];
55 void Init(FairTrackPar* TParam);
81 virtual Bool_t
Propagate(FairTrackPar* TStart, FairTrackPar* TEnd,
int PDG);
88 virtual Bool_t
Propagate(Float_t* x1, Float_t* p1, Float_t* x2, Float_t* p2, Int_t PDG);
109 TVector3 wire2, Double_t maxdistance);
117 virtual Bool_t
SetDestinationPlane(
const TVector3& v0,
const TVector3& v1,
const TVector3& v2);
124 virtual Bool_t
SetOriginPlane(
const TVector3& v0,
const TVector3& v1);
169 virtual bool SetPCAPropagation(Int_t pca, Int_t dir = 1, FairTrackPar* par =
nullptr);
187 for (Int_t
i = 0;
i < 5;
i++){
188 for (Int_t j = 0; j < 5; j++) {
189 trm[
i][j] = fTransportMatrix[
i][j];
197 #endif //PNDGEANEPRO_H
virtual Bool_t SetDestinationPoint(TVector3 point)
Method to set point to propagate to.
void Init(FairTrackPar *TParam)
Method to initialize last track parameter of reconstructed track.
virtual Bool_t SetDestinationPlane(const TVector3 &v0, const TVector3 &v1, const TVector3 &v2)
Method to set the plane to propagate particles to.
PndProp::PCAOutputStruct fPcaOutput
virtual Bool_t SetPropagateOnlyParameters()
Method to set to propagate only parameters.
Interface to GEANE for PandaRoot.
virtual Bool_t SetOriginPlane(const TVector3 &v0, const TVector3 &v1)
Method to set the plane to propagate particles from.
virtual Bool_t SetDestinationVolume(std::string volName, Int_t copyNo, Int_t option)
Method to set the volume to propagate particles to.
virtual Bool_t SetDestinationLength(Float_t length)
Method to set the length to propagate particles to.
void GetTransportMatrix(Double_t trm[5][5])
Method to retrieve the transport matrix.
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)...
Bool_t Propagate(Int_t PDG)
Main propagate function that calls ERTRAK from GEANE to do the propagation.
output of PCA finding algorithm
virtual Bool_t SetDestinationWire(TVector3 wire1, TVector3 wire2)
Method to set wire to propagate to.
Propagator interface class for PandaRoot.
void SetBackProp()
Method to set propagation to backwards propagation.
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 parame...
PndGeanePro()
default constructor