8 #ifndef GARANA_TRACK_H_ 9 #define GARANA_TRACK_H_ 11 #include <TLorentzVector.h> 30 Track(
const float& lenFw,
const float& lenBk,
const float& pBeg,
const float& pEnd,
31 const TLorentzVector& vtx,
const TLorentzVector&
end,
const TVector3& vtxDir,
const TVector3& endDir,
32 const float& chiFwd,
const float& chiBac,
const size_t& nHit,
33 const float* trkParBeg,
const float* trkParEnd,
const float* covarBeg,
const float* covarEnd,
34 const int& chargeFwd,
const int& chargeBac,
const vector<pair<int,float>>& pidf,
const vector<pair<int,float>>& pidb,
35 const float& ionf,
const float& ionb,
const vector<pair<UInt_t,TLorentzVector>>& truePosVtx,
36 const vector<pair<UInt_t,TLorentzVector>>& truePosEnd,
const vector<pair<UInt_t,TLorentzVector>>& trueMomVtx,
37 const vector<pair<UInt_t,TLorentzVector>>& trueMomEnd,
const vector<std::pair<int,float>>& trueEnergy);
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
float fCovMatEnd[15]
covariance matrix at end of track
vector< pair< int, float > > fPidBac
float fTrackParBeg[5]
Track parameters at beginning of track y, z, curvature, phi, lambda – 5-param track (cm...
float fCovMatBeg[15]
covariance matrix at beginning of track – packed in a 1D array, assuming symmetry ...
vector< pair< UInt_t, TLorentzVector > > fTrueMomEnd
4-momentum for each assc'd MCParticle at track end
TVector3 fVtxDir
track vertex direction
float fMomBeg
momentum of the track at the vertex in GeV/c
float fLenBac
length of the track in cm from backwards fit
size_t fNHits
number of hits
vector< pair< UInt_t, TLorentzVector > > fTruePosVtx
4-position for each assc'd MCParticle at track vertex
float fTrackParEnd[5]
Track parameters at end of track y, z, curvature, phi, lambda – 5-param track (cm, cm, cm-1, rad, rad)
float fChiBac
chisquared backward fit
vector< pair< int, float > > fPidFwd
float fLenFwd
< returns the fraction of the total energy contributed to this track that was deposited by the partic...
vector< pair< UInt_t, TLorentzVector > > fTruePosEnd
4-position for each assc'd MCParticle at track end
float fMomEnd
momentum of the track at the end in GeV/c
vector< pair< UInt_t, TLorentzVector > > fTrueMomVtx
4-momentum for each assc'd MCParticle at track vertex
TLorentzVector fVtx
track vertex position 4-vector cm,ns
TLorentzVector fEnd
track end position 4-vector cm,ns
TVector3 fEndDir
track end direction
vector< std::pair< int, float > > fTrueEnergy
true energy (second) [GeV] deposited by MCParticle with trackID (first)
float fChiFwd
chisquared forward fit