#include <RecoTree.h>
Public Member Functions | |
virtual | ~RecoTree () |
virtual const size_t | NTrack () const =0 |
number of tracks in this event More... | |
virtual const size_t | NVertex () const =0 |
number of vertices in this event More... | |
virtual const size_t | NVee () const =0 |
number of vees in this event More... | |
virtual const size_t | NCalCluster () const =0 |
number of ECal clusters in this event More... | |
virtual const TLorentzVector * | TrackVertex (const size_t &itrack) const =0 |
4-position of track's assumed start point More... | |
virtual const TLorentzVector * | TrackEnd (const size_t &itrack) const =0 |
4-position of track's assumed end point More... | |
virtual const size_t | NTrackHit (const size_t &itrack) const =0 |
number of reconstructed hits used in track fit More... | |
virtual const TVector3 * | TrackMomBeg (const size_t &itrack) const =0 |
momentum 3-vector as track's assumed start point More... | |
virtual const TVector3 * | TrackMomEnd (const size_t &itrack) const =0 |
momentum 3-vector as track's assumed end point More... | |
virtual const float | TrackVtxDirectionX (const size_t &itrack) const =0 |
x-direction cosine at track vertex More... | |
virtual const float | TrackVtxDirectionY (const size_t &itrack) const =0 |
y-direction cosine at track vertex More... | |
virtual const float | TrackVtxDirectionZ (const size_t &itrack) const =0 |
z-direction cosine at track vertex More... | |
virtual const float | TrackEndDirectionX (const size_t &itrack) const =0 |
x-direction cosine at track end More... | |
virtual const float | TrackEndDirectionY (const size_t &itrack) const =0 |
y-direction cosine at track end More... | |
virtual const float | TrackEndDirectionZ (const size_t &itrack) const =0 |
z-direction cosine at track end More... | |
virtual const float | TrackLenFwd (const size_t &itrack) const =0 |
track length from forward fit More... | |
virtual const float | TrackLenBkd (const size_t &itrack) const =0 |
track length from backward fit More... | |
virtual const float | TrackIonizFwd (const size_t &itrack) const =0 |
track average ionization rate from forward fit More... | |
virtual const float | TrackIonizBkd (const size_t &itrack) const =0 |
track average ionization rate from backward fit More... | |
virtual const int | TrackChiSqrFwd (const size_t &itrack) const =0 |
chi-squared of track fit in forward direction More... | |
virtual const int | TrackChiSqrBkd (const size_t &itrack) const =0 |
chi-squared of track fit in backward direction More... | |
virtual const int | TrackChgFwd (const size_t &itrack) const =0 |
charge sign of track if current hypothesis correct More... | |
virtual const int | TrackChgBkd (const size_t &itrack) const =0 |
charge sign of track if current hypothesis wrong More... | |
virtual void | TrackParBeg (const size_t &itrack, float pars[5]) const =0 |
track fit parameters at the track's assumed start More... | |
virtual void | TrackParEnd (const size_t &itrack, float pars[5]) const =0 |
track fit parameters at the track's assumed end More... | |
virtual void | TrackCovarBeg (const size_t &itrack, float pars[15]) const =0 |
track fit covariance matrix (assume symmetry) at track's assumed start More... | |
virtual void | TrackCovarEnd (const size_t &itrack, float pars[15]) const =0 |
track fit covariance matrix (assume symmetry) at track's assumed end More... | |
virtual const TLorentzVector * | TrackTruePosBeg (const size_t &itrack) const =0 |
true 4-position at track vertex [cm,ns] More... | |
virtual const TLorentzVector * | TrackTruePosEnd (const size_t &itrack) const =0 |
true 4-position at track end [cm,ns] More... | |
virtual const TLorentzVector * | TrackTrueMomBeg (const size_t &itrack) const =0 |
true 4-momentum at track vertex [GeV/c,GeV] More... | |
virtual const TLorentzVector * | TrackTrueMomEnd (const size_t &itrack) const =0 |
true 4-momentum at track end [GeV/c,GeV] More... | |
virtual const float | TrackTrueEnergy (const size_t &itrack) const =0 |
total associated true energy deposited with ith cluster More... | |
virtual const size_t | TrackNTrueTrack (const size_t &itrack) const =0 |
number of MCParticles associated with ith cluster More... | |
virtual const int | TrackTrkIdMaxDeposit (const size_t &itrack) const =0 |
trackID of the MCParticle depositing the most energy in ith cluster More... | |
virtual const float | TrackMaxDeposit (const size_t &itrack) const =0 |
maximum true deposited energy from a single MCParticle More... | |
const float | TrackMaxDepositFrac (const size_t &itrack) const |
largest fraction of total energy contributed by single MCParticle More... | |
virtual const pair< int, float > * | TrackTrueDeposit (const size_t &itrack, size_t &itrue) const =0 |
virtual const vector< pair< int, float > > * | TrackTrueDeposits (const size_t &itrack) const =0 |
virtual const TLorentzVector * | GetVertex (const size_t &ivertex) const =0 |
vertex 4-position for vertex with index ivertex More... | |
virtual void | VertexCovariance (const size_t &ivertex, float covar[][3]) const =0 |
given a vertex index, fill given position covariance matrix More... | |
virtual const TLorentzVector * | VeeVertex (const size_t &ivee) const =0 |
vertex 4-position for vee with index ivee More... | |
virtual void | VeeCovariance (const size_t &ivee, float covar[][3]) const =0 |
given a vee index, fill given position covariance matrix More... | |
virtual const vector< TLorentzVector > * | VeeMomentumPerHypothesis (const size_t &ivee) const =0 |
4-momentum for vee if it matches {Kshort, Lambda1, Lambda2} More... | |
virtual const float | VeeChiSquared (const size_t &ivee) const =0 |
virtual const TLorentzVector * | CalClustPosition (const size_t &icluster) const =0 |
virtual const float | CalClustEnergy (const size_t &icluster) const =0 |
reconstructed ECal cluster energy More... | |
virtual const float | CalClustEnergyError (const size_t &icluster) const =0 |
virtual const float | CalClustTrueEnergy (const size_t &icluster) const =0 |
total associated true energy deposited with ith cluster More... | |
virtual const size_t | CalClustNTrueTrack (const size_t &icluster) const =0 |
number of MCParticles associated with ith cluster More... | |
virtual const int | CalClustTrkIdMaxDeposit (const size_t &icluster) const =0 |
trackID of the MCParticle depositing the most energy in ith cluster More... | |
virtual const float | CalClustMaxDeposit (const size_t &icluster) const =0 |
maximum true deposited energy from a single MCParticle More... | |
const float | CalClustMaxDepositFrac (const size_t &icluster) const |
largest fraction of total energy contributed by single MCParticle More... | |
virtual const std::pair< int, float > * | CalClustTrueDeposit (const size_t &icluster, const size_t &itrack) const =0 |
virtual const float | CalClustTimeDifference (const size_t &icluster) const =0 |
virtual const float * | CalClustShape (const size_t &icluster) const =0 |
virtual const float | CalClustTheta (const size_t &icluster) const =0 |
virtual const float | CalClustPhi (const size_t &icluster) const =0 |
virtual const vector< TVector3 > * | CalClustEigenVecs (const size_t &icluster) const =0 |
void | GetTrackG4PIndices (const size_t &itrk, vector< UInt_t > &ig4ps) const |
given a track index, fill a given vector with matched G4 particle indices More... | |
void | GetVertexTrackIndices (const size_t &ivtx, vector< UInt_t > &itracks) const |
given a vertex index, fill a given vector with matched track indices More... | |
void | GetVeeTrackIndices (const size_t &ivee, vector< UInt_t > &itracks) const |
given a vee index, fill a given vector with matched G4 particle indices More... | |
void | GetCalClusterTrackIndices (const size_t &iclust, vector< UInt_t > &itracks) const |
given a calocluster index, fill a given vector with matched track indices More... | |
void | GetCalClusterG4Indices (const size_t &iclust, vector< UInt_t > &ig4ps) const |
given a calocluster index, fill a given vector with matched G4Particle indices More... | |
Public Member Functions inherited from garana::TreeReader | |
virtual | ~TreeReader () |
void | SetupRead (TTree *tree) |
TTree * | GetInputTree () |
size_t | NEntries () const |
virtual void | GetEntry (const UInt_t &ientry) |
Int_t | Event () const |
const TObjArray * | GetBranchList () const |
void | Fill () |
void | Write () |
void | CheckOpt (char opt) |
bool | BlockWrite () const |
virtual bool | SetBranchAddresses ()=0 |
Protected Attributes | |
vector< vector< UInt_t > > * | fTrackG4PIndices = nullptr |
vector< vector< UInt_t > > * | fVertTrackIndices = nullptr |
vector< vector< UInt_t > > * | fVeeTrackIndices = nullptr |
vector< vector< UInt_t > > * | fCalClusterTrackIndices = nullptr |
vector< vector< UInt_t > > * | fCalClusterG4Indices = nullptr |
TBranch * | b_TrackG4PIndices = nullptr |
TBranch * | b_VertTrackIndices = nullptr |
TBranch * | b_VeeTrackIndices = nullptr |
TBranch * | b_CalClusterTrackIndices = nullptr |
TBranch * | b_CalClusterG4Indices = nullptr |
Protected Attributes inherited from garana::TreeReader | |
const std::string | treename |
char | fOpt = 'r' |
TTree * | fTreeIn = nullptr |
pointer to the analyzed TTree or TChain More... | |
UInt_t | fCurrentEntry = UINT_MAX |
TBranch * | b_Event = nullptr |
Int_t | fEvent = -1 |
event number for tree entry More... | |
Definition at line 21 of file RecoTree.h.
|
inlinevirtual |
Definition at line 25 of file RecoTree.h.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
reconstructed ECal cluster energy
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
maximum true deposited energy from a single MCParticle
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
const float RecoTree::CalClustMaxDepositFrac | ( | const size_t & | icluster | ) | const |
largest fraction of total energy contributed by single MCParticle
Definition at line 13 of file RecoTree.cxx.
|
pure virtual |
number of MCParticles associated with ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
trackID of the MCParticle depositing the most energy in ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
total associated true energy deposited with ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
void RecoTree::GetCalClusterG4Indices | ( | const size_t & | iclust, |
vector< UInt_t > & | ig4ps | ||
) | const |
given a calocluster index, fill a given vector with matched G4Particle indices
Definition at line 39 of file RecoTree.cxx.
void RecoTree::GetCalClusterTrackIndices | ( | const size_t & | iclust, |
vector< UInt_t > & | itracks | ||
) | const |
given a calocluster index, fill a given vector with matched track indices
Definition at line 35 of file RecoTree.cxx.
void RecoTree::GetTrackG4PIndices | ( | const size_t & | itrk, |
vector< UInt_t > & | ig4ps | ||
) | const |
given a track index, fill a given vector with matched G4 particle indices
Definition at line 22 of file RecoTree.cxx.
void RecoTree::GetVeeTrackIndices | ( | const size_t & | ivee, |
vector< UInt_t > & | itracks | ||
) | const |
given a vee index, fill a given vector with matched G4 particle indices
Definition at line 31 of file RecoTree.cxx.
|
pure virtual |
vertex 4-position for vertex with index ivertex
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
void RecoTree::GetVertexTrackIndices | ( | const size_t & | ivtx, |
vector< UInt_t > & | itracks | ||
) | const |
given a vertex index, fill a given vector with matched track indices
Definition at line 27 of file RecoTree.cxx.
|
pure virtual |
number of ECal clusters in this event
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
number of tracks in this event
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
number of reconstructed hits used in track fit
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
number of vees in this event
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
number of vertices in this event
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
charge sign of track if current hypothesis wrong
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
charge sign of track if current hypothesis correct
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
chi-squared of track fit in backward direction
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
chi-squared of track fit in forward direction
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track fit covariance matrix (assume symmetry) at track's assumed start
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track fit covariance matrix (assume symmetry) at track's assumed end
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
4-position of track's assumed end point
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
x-direction cosine at track end
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
y-direction cosine at track end
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
z-direction cosine at track end
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track average ionization rate from backward fit
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track average ionization rate from forward fit
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track length from backward fit
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track length from forward fit
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
maximum true deposited energy from a single MCParticle
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
const float RecoTree::TrackMaxDepositFrac | ( | const size_t & | itrack | ) | const |
largest fraction of total energy contributed by single MCParticle
Definition at line 17 of file RecoTree.cxx.
|
pure virtual |
momentum 3-vector as track's assumed start point
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
momentum 3-vector as track's assumed end point
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
number of MCParticles associated with ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track fit parameters at the track's assumed start
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
track fit parameters at the track's assumed end
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
trackID of the MCParticle depositing the most energy in ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
total associated true energy deposited with ith cluster
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
true 4-momentum at track vertex [GeV/c,GeV]
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
true 4-momentum at track end [GeV/c,GeV]
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
true 4-position at track vertex [cm,ns]
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
true 4-position at track end [cm,ns]
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
4-position of track's assumed start point
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
x-direction cosine at track vertex
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
y-direction cosine at track vertex
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
z-direction cosine at track vertex
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
given a vee index, fill given position covariance matrix
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
4-momentum for vee if it matches {Kshort, Lambda1, Lambda2}
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
vertex 4-position for vee with index ivee
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
pure virtual |
given a vertex index, fill given position covariance matrix
Implemented in garana::FlatRecoTree, and garana::StructuredRecoTree.
|
protected |
Definition at line 118 of file RecoTree.h.
|
protected |
Definition at line 117 of file RecoTree.h.
|
protected |
Definition at line 114 of file RecoTree.h.
|
protected |
Definition at line 116 of file RecoTree.h.
|
protected |
Definition at line 115 of file RecoTree.h.
Definition at line 112 of file RecoTree.h.
Definition at line 111 of file RecoTree.h.
Definition at line 108 of file RecoTree.h.
Definition at line 110 of file RecoTree.h.
Definition at line 109 of file RecoTree.h.