30 fVtx.SetXYZT(FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX);
31 fEnd.SetXYZT(FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX);
32 fVtxDir.SetXYZ(FLT_MAX,FLT_MAX,FLT_MAX);
33 fEndDir.SetXYZ(FLT_MAX,FLT_MAX,FLT_MAX);
37 for(
size_t i=0; i<5; i++) {
44 for(
size_t i=0; i<15; i++) {
50 Track::Track(
const float& lenFw,
const float& lenBk,
const float& pBeg,
const float& pEnd,
51 const TLorentzVector& vtx,
const TLorentzVector&
end,
const TVector3& vtxDir,
const TVector3& endDir,
52 const float& chiFwd,
const float& chiBac,
const size_t& nHit,
53 const float* trkParBeg,
const float* trkParEnd,
const float* covarBeg,
const float* covarEnd,
54 const int& chargeFwd,
const int& chargeBac,
const vector<pair<int,float>>& pidf,
55 const vector<pair<int,float>>& pidb,
const float& ionf,
const float& ionb,
const vector<pair<UInt_t,TLorentzVector>>& truePosVtx,
56 const vector<pair<UInt_t,TLorentzVector>>& truePosEnd,
const vector<pair<UInt_t,TLorentzVector>>& trueMomVtx,
57 const vector<pair<UInt_t,TLorentzVector>>& trueMomEnd,
const vector<std::pair<int,float>>& trueEnergy ) :
86 for(
size_t i=0; i<5; i++) {
93 for(
size_t i=0; i<15; i++) {
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