Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
garana::FlatRecoTree Class Reference

#include <FlatRecoTree.h>

Inheritance diagram for garana::FlatRecoTree:
garana::RecoTree garana::TreeReader garana::MillRecoTree

Public Member Functions

 FlatRecoTree ()
 
 FlatRecoTree (TTree *tree)
 
 FlatRecoTree (TTree *tree, char opt)
 
const size_t NTrack () const override
 number of tracks in this event More...
 
const size_t NVertex () const override
 number of vertices in this event More...
 
const size_t NVee () const override
 number of vees in this event More...
 
const size_t NCalCluster () const override
 number of ECal clusters in this event More...
 
const TLorentzVector * TrackVertex (const size_t &itrack) const override
 4-position of track's assumed start point More...
 
const TLorentzVector * TrackEnd (const size_t &itrack) const override
 4-position of track's assumed end point More...
 
const size_t NTrackHit (const size_t &itrack) const override
 number of reconstructed hits used in track fit More...
 
const TVector3 * TrackMomBeg (const size_t &itrack) const override
 momentum 3-vector as track's assumed start point More...
 
const TVector3 * TrackMomEnd (const size_t &itrack) const override
 momentum 3-vector as track's assumed end point More...
 
const float TrackVtxDirectionX (const size_t &itrack) const override
 x-direction cosine at track vertex More...
 
const float TrackVtxDirectionY (const size_t &itrack) const override
 y-direction cosine at track vertex More...
 
const float TrackVtxDirectionZ (const size_t &itrack) const override
 z-direction cosine at track vertex More...
 
const float TrackEndDirectionX (const size_t &itrack) const override
 x-direction cosine at track end More...
 
const float TrackEndDirectionY (const size_t &itrack) const override
 y-direction cosine at track end More...
 
const float TrackEndDirectionZ (const size_t &itrack) const override
 z-direction cosine at track end More...
 
const float TrackLenFwd (const size_t &itrack) const override
 track length from forward fit More...
 
const float TrackLenBkd (const size_t &itrack) const override
 track length from backward fit More...
 
const float TrackIonizFwd (const size_t &itrack) const override
 track average ionization rate from forward fit More...
 
const float TrackIonizBkd (const size_t &itrack) const override
 track average ionization rate from backward fit More...
 
const int TrackChiSqrFwd (const size_t &itrack) const override
 chi-squared of track fit in forward direction More...
 
const int TrackChiSqrBkd (const size_t &itrack) const override
 chi-squared of track fit in backward direction More...
 
const int TrackChgFwd (const size_t &itrack) const override
 charge sign of track if current hypothesis correct More...
 
const int TrackChgBkd (const size_t &itrack) const override
 charge sign of track if current hypothesis wrong More...
 
void TrackParBeg (const size_t &itrack, float pars[5]) const override
 track fit parameters at the track's assumed start More...
 
void TrackParEnd (const size_t &itrack, float pars[5]) const override
 track fit parameters at the track's assumed end More...
 
void TrackCovarBeg (const size_t &itrack, float pars[15]) const override
 track fit covariance matrix (assume symmetry) at track's assumed start More...
 
void TrackCovarEnd (const size_t &itrack, float pars[15]) const override
 track fit covariance matrix (assume symmetry) at track's assumed end More...
 
const TLorentzVector * TrackTruePosBeg (const size_t &itrack) const override
 true 4-position at track vertex [cm,ns] More...
 
const TLorentzVector * TrackTruePosEnd (const size_t &itrack) const override
 true 4-position at track end [cm,ns] More...
 
const TLorentzVector * TrackTrueMomBeg (const size_t &itrack) const override
 true 4-momentum at track vertex [GeV/c,GeV] More...
 
const TLorentzVector * TrackTrueMomEnd (const size_t &itrack) const override
 true 4-momentum at track end [GeV/c,GeV] More...
 
const float TrackTrueEnergy (const size_t &icluster) const override
 total associated true energy deposited with ith cluster More...
 
const size_t TrackNTrueTrack (const size_t &icluster) const override
 number of MCParticles associated with ith cluster More...
 
const int TrackTrkIdMaxDeposit (const size_t &icluster) const override
 trackID of the MCParticle depositing the most energy in ith cluster More...
 
const float TrackMaxDeposit (const size_t &icluster) const override
 maximum true deposited energy from a single MCParticle More...
 
const pair< int, float > * TrackTrueDeposit (const size_t &itrack, size_t &itrue) const override
 
const vector< pair< int, float > > * TrackTrueDeposits (const size_t &itrack) const override
 
const TLorentzVector * GetVertex (const size_t &ivertex) const override
 ================ vertex ========================== More...
 
void VertexCovariance (const size_t &ivertex, float covar[][3]) const override
 given a vertex index, fill given position covariance matrix More...
 
const TLorentzVector * VeeVertex (const size_t &ivee) const override
 =============== Vee ======================= More...
 
void VeeCovariance (const size_t &ivee, float covar[][3]) const override
 given a vee index, fill given position covariance matrix More...
 
const vector< TLorentzVector > * VeeMomentumPerHypothesis (const size_t &ivee) const override
 4-momentum for vee if it matches {Kshort, Lambda1, Lambda2} More...
 
const float VeeChiSquared (const size_t &ivee) const override
 
const TLorentzVector * CalClustPosition (const size_t &icluster) const override
 ================ ECal cluster ====================== More...
 
const float CalClustEnergy (const size_t &icluster) const override
 reconstructed ECal cluster energy More...
 
const float CalClustEnergyError (const size_t &icluster) const override
 
const float CalClustTrueEnergy (const size_t &icluster) const override
 total associated true energy deposited with ith cluster More...
 
const size_t CalClustNTrueTrack (const size_t &icluster) const override
 number of MCParticles associated with ith cluster More...
 
const int CalClustTrkIdMaxDeposit (const size_t &icluster) const override
 trackID of the MCParticle depositing the most energy in ith cluster More...
 
const float CalClustMaxDeposit (const size_t &icluster) const override
 maximum true deposited energy from a single MCParticle More...
 
const std::pair< int, float > * CalClustTrueDeposit (const size_t &icluster, const size_t &itrack) const override
 
const float CalClustTimeDifference (const size_t &icluster) const override
 
const float * CalClustShape (const size_t &icluster) const override
 
const float CalClustTheta (const size_t &icluster) const override
 
const float CalClustPhi (const size_t &icluster) const override
 
const vector< TVector3 > * CalClustEigenVecs (const size_t &icluster) const override
 
- Public Member Functions inherited from garana::RecoTree
virtual ~RecoTree ()
 
const float TrackMaxDepositFrac (const size_t &itrack) const
 largest fraction of total energy contributed by single MCParticle More...
 
const float CalClustMaxDepositFrac (const size_t &icluster) const
 largest fraction of total energy contributed by single MCParticle More...
 
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
 

Protected Member Functions

bool SetBranchAddresses () override
 
void SetVecs ()
 
void ClearVecs ()
 

Protected Attributes

vector< float > * fTrkLenFwd = nullptr
 length of the track in cm from forwards fit More...
 
vector< float > * fTrkLenBac = nullptr
 length of the track in cm from backwards fit More...
 
vector< float > * fTrkMomBeg = nullptr
 momentum of the track at the vertex in GeV/c More...
 
vector< float > * fTrkMomEnd = nullptr
 momentum of the track at the end in GeV/c More...
 
vector< float > * fTrkVtxX = nullptr
 track vertex position 4-vector cm,ns More...
 
vector< float > * fTrkVtxY = nullptr
 
vector< float > * fTrkVtxZ = nullptr
 
vector< float > * fTrkVtxT = nullptr
 
vector< float > * fTrkEndX = nullptr
 track end position 4-vector cm,ns More...
 
vector< float > * fTrkEndY = nullptr
 
vector< float > * fTrkEndZ = nullptr
 
vector< float > * fTrkEndT = nullptr
 
vector< float > * fTrkVtxDirX = nullptr
 track vertex direction More...
 
vector< float > * fTrkVtxDirY = nullptr
 
vector< float > * fTrkVtxDirZ = nullptr
 
vector< float > * fTrkEndDirX = nullptr
 track end direction More...
 
vector< float > * fTrkEndDirY = nullptr
 
vector< float > * fTrkEndDirZ = nullptr
 
vector< float > * fTrkChiFwd = nullptr
 chisquared forward fit More...
 
vector< float > * fTrkChiBac = nullptr
 chisquared backward fit More...
 
vector< size_t > * fTrkNHits = nullptr
 number of hits More...
 
vector< float > * fTrackXBeg = nullptr
 Track x-coord at beginning of track [cm]. More...
 
vector< float > * fTrackYBeg = nullptr
 Track y-coord (par[0]) at beginning of track [cm]. More...
 
vector< float > * fTrackZBeg = nullptr
 Track z-coord (par[1]) at beginning of track [cm]. More...
 
vector< float > * fTrackCurvBeg = nullptr
 Track curvature (par[2]) at beginning of track [cm^-1]. More...
 
vector< float > * fTrackPhiBeg = nullptr
 Track phi (par[3]) at beginning of track [rad]. More...
 
vector< float > * fTrackLambBeg = nullptr
 Track lambda (par[4]) at beginning of track [rad]. More...
 
vector< float > * fTrackXEnd = nullptr
 Track x-coord at end of track [cm]. More...
 
vector< float > * fTrackYEnd = nullptr
 Track y-coord (par[0]) at end of track [cm]. More...
 
vector< float > * fTrackZEnd = nullptr
 Track z-coord (par[1]) at end of track [cm]. More...
 
vector< float > * fTrackCurvEnd = nullptr
 Track curvature (par[2]) at end of track [cm^-1]. More...
 
vector< float > * fTrackPhiEnd = nullptr
 Track phi (par[3]) at end of track [rad]. More...
 
vector< float > * fTrackLambEnd = nullptr
 Track lambda (par[4]) at end of track [rad]. More...
 
vector< float > * fTrkCovMat1Beg = nullptr
 covariance matrix at beginning of track – assuming symmetry More...
 
vector< float > * fTrkCovMat2Beg = nullptr
 
vector< float > * fTrkCovMat3Beg = nullptr
 
vector< float > * fTrkCovMat4Beg = nullptr
 
vector< float > * fTrkCovMat5Beg = nullptr
 
vector< float > * fTrkCovMat6Beg = nullptr
 
vector< float > * fTrkCovMat7Beg = nullptr
 
vector< float > * fTrkCovMat8Beg = nullptr
 
vector< float > * fTrkCovMat9Beg = nullptr
 
vector< float > * fTrkCovMat10Beg = nullptr
 
vector< float > * fTrkCovMat11Beg = nullptr
 
vector< float > * fTrkCovMat12Beg = nullptr
 
vector< float > * fTrkCovMat13Beg = nullptr
 
vector< float > * fTrkCovMat14Beg = nullptr
 
vector< float > * fTrkCovMat15Beg = nullptr
 
vector< float > * fTrkCovMat1End = nullptr
 covariance matrix at end of track – assuming symmetry More...
 
vector< float > * fTrkCovMat2End = nullptr
 
vector< float > * fTrkCovMat3End = nullptr
 
vector< float > * fTrkCovMat4End = nullptr
 
vector< float > * fTrkCovMat5End = nullptr
 
vector< float > * fTrkCovMat6End = nullptr
 
vector< float > * fTrkCovMat7End = nullptr
 
vector< float > * fTrkCovMat8End = nullptr
 
vector< float > * fTrkCovMat9End = nullptr
 
vector< float > * fTrkCovMat10End = nullptr
 
vector< float > * fTrkCovMat11End = nullptr
 
vector< float > * fTrkCovMat12End = nullptr
 
vector< float > * fTrkCovMat13End = nullptr
 
vector< float > * fTrkCovMat14End = nullptr
 
vector< float > * fTrkCovMat15End = nullptr
 
vector< float > * fTrkIonizFwd = nullptr
 
vector< float > * fTrkIonizBac = nullptr
 
vector< int > * fTrkChgFwd = nullptr
 
vector< int > * fTrkChgBac = nullptr
 
vector< float > * fVeeVtxX = nullptr
 x-position of vertex [cm] More...
 
vector< float > * fVeeVtxY = nullptr
 y-position of vertex [cm] More...
 
vector< float > * fVeeVtxZ = nullptr
 z-position of vertex [cm] More...
 
vector< float > * fVeeVtxT = nullptr
 time of vertex [ns] More...
 
vector< float > * fVeeVtxCovar11 = nullptr
 uncertainties in vertex position [cm] More...
 
vector< float > * fVeeVtxCovar12 = nullptr
 
vector< float > * fVeeVtxCovar13 = nullptr
 
vector< float > * fVeeVtxCovar21 = nullptr
 
vector< float > * fVeeVtxCovar22 = nullptr
 
vector< float > * fVeeVtxCovar23 = nullptr
 
vector< float > * fVeeVtxCovar31 = nullptr
 
vector< float > * fVeeVtxCovar32 = nullptr
 
vector< float > * fVeeVtxCovar33 = nullptr
 
vector< float > * fVeePxKshort = nullptr
 four-momentum of vee, for Kshort hypothesis [GeV] More...
 
vector< float > * fVeePyKshort = nullptr
 
vector< float > * fVeePzKshort = nullptr
 
vector< float > * fVeeEKshort = nullptr
 
vector< float > * fVeePxLamb1 = nullptr
 four-momentum of vee, for Kshort hypothesis [GeV] More...
 
vector< float > * fVeePyLamb1 = nullptr
 
vector< float > * fVeePzLamb1 = nullptr
 
vector< float > * fVeeELamb1 = nullptr
 
vector< float > * fVeePxLamb2 = nullptr
 four-momentum of vee, for Kshort hypothesis [GeV] More...
 
vector< float > * fVeePyLamb2 = nullptr
 
vector< float > * fVeePzLamb2 = nullptr
 
vector< float > * fVeeELamb2 = nullptr
 
vector< float > * fVeeChisqr = nullptr
 chi-squared More...
 
vector< float > * fVtxX = nullptr
 x-position of vertex [cm] More...
 
vector< float > * fVtxY = nullptr
 y-position of vertex [cm] More...
 
vector< float > * fVtxZ = nullptr
 z-position of vertex [cm] More...
 
vector< float > * fVtxT = nullptr
 time of vertex [ns] More...
 
vector< float > * fVtxCovar11 = nullptr
 uncertainties in vertex position [cm] More...
 
vector< float > * fVtxCovar12 = nullptr
 
vector< float > * fVtxCovar13 = nullptr
 
vector< float > * fVtxCovar21 = nullptr
 
vector< float > * fVtxCovar22 = nullptr
 
vector< float > * fVtxCovar23 = nullptr
 
vector< float > * fVtxCovar31 = nullptr
 
vector< float > * fVtxCovar32 = nullptr
 
vector< float > * fVtxCovar33 = nullptr
 
vector< float > * fCalClustX = nullptr
 x-position of the cluster [cm] More...
 
vector< float > * fCalClustY = nullptr
 y-position of the cluster [cm] More...
 
vector< float > * fCalClustZ = nullptr
 z-position of the cluster [cm] More...
 
vector< float > * fCalClustT = nullptr
 time of the cluster [ns] More...
 
vector< float > * fCalClustEnergy = nullptr
 energy of the ECal cluster [GeV] More...
 
vector< float > * fCalClustEnergyError = nullptr
 uncertainty of the cluster energy [GeV] More...
 
vector< float > * fCalClustTdiff = nullptr
 time difference between the first and last layer of the cluster [ns] More...
 
vector< float > * fCalClustEllip = nullptr
 cluster shape parameter ellipsoid More...
 
vector< float > * fCalClustR1 = nullptr
 cluster shape parameter r1 More...
 
vector< float > * fCalClustR2 = nullptr
 cluster shape parameter r2 More...
 
vector< float > * fCalClustR3 = nullptr
 cluster shape parameter r3 More...
 
vector< float > * fCalClustVol = nullptr
 cluster shape parameter volume More...
 
vector< float > * fCalClustWidth = nullptr
 cluster shape parameter width More...
 
vector< float > * fCalClustTheta = nullptr
 intrasic direction of the cluster theta More...
 
vector< float > * fCalClustPhi = nullptr
 intrasic direction of the cluster phi More...
 
vector< float > * fCalClustEigen1X = nullptr
 Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1. More...
 
vector< float > * fCalClustEigen1Y = nullptr
 
vector< float > * fCalClustEigen1Z = nullptr
 
vector< float > * fCalClustEigen2X = nullptr
 Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1. More...
 
vector< float > * fCalClustEigen2Y = nullptr
 
vector< float > * fCalClustEigen2Z = nullptr
 
vector< float > * fCalClustEigen3X = nullptr
 Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1. More...
 
vector< float > * fCalClustEigen3Y = nullptr
 
vector< float > * fCalClustEigen3Z = nullptr
 
vector< vector< UInt_t > > * fTrackG4PIndices = nullptr
 
vector< vector< UInt_t > > * fVertTrackIndices = nullptr
 
vector< vector< UInt_t > > * fVeeTrackIndices = nullptr
 
vector< vector< UInt_t > > * fCalTrackIndices = nullptr
 
vector< vector< Int_t > > * fVertTrackEnds = nullptr
 
vector< vector< Int_t > > * fVeeTrackEnds = nullptr
 
TBranch * b_TrkLenFwd = nullptr
 
TBranch * b_TrkLenBac = nullptr
 
TBranch * b_TrkMomBeg = nullptr
 
TBranch * b_TrkMomEnd = nullptr
 
TBranch * b_TrkVtxX = nullptr
 
TBranch * b_TrkVtxY = nullptr
 
TBranch * b_TrkVtxZ = nullptr
 
TBranch * b_TrkVtxT = nullptr
 
TBranch * b_TrkEndX = nullptr
 
TBranch * b_TrkEndY = nullptr
 
TBranch * b_TrkEndZ = nullptr
 
TBranch * b_TrkEndT = nullptr
 
TBranch * b_TrkVtxDirX = nullptr
 
TBranch * b_TrkVtxDirY = nullptr
 
TBranch * b_TrkVtxDirZ = nullptr
 
TBranch * b_TrkEndDirX = nullptr
 
TBranch * b_TrkEndDirY = nullptr
 
TBranch * b_TrkEndDirZ = nullptr
 
TBranch * b_TrkChiFwd = nullptr
 
TBranch * b_TrkChiBac = nullptr
 
TBranch * b_TrkNHits = nullptr
 
TBranch * b_TrackXBeg = nullptr
 
TBranch * b_TrackYBeg = nullptr
 
TBranch * b_TrackZBeg = nullptr
 
TBranch * b_TrackCurvBeg = nullptr
 
TBranch * b_TrackPhiBeg = nullptr
 
TBranch * b_TrackLambBeg = nullptr
 
TBranch * b_TrackParEnd = nullptr
 
TBranch * b_TrackXEnd = nullptr
 
TBranch * b_TrackYEnd = nullptr
 
TBranch * b_TrackZEnd = nullptr
 
TBranch * b_TrackCurvEnd = nullptr
 
TBranch * b_TrackPhiEnd = nullptr
 
TBranch * b_TrackLambEnd = nullptr
 
TBranch * b_TrkCovMat1Beg = nullptr
 
TBranch * b_TrkCovMat2Beg = nullptr
 
TBranch * b_TrkCovMat3Beg = nullptr
 
TBranch * b_TrkCovMat4Beg = nullptr
 
TBranch * b_TrkCovMat5Beg = nullptr
 
TBranch * b_TrkCovMat6Beg = nullptr
 
TBranch * b_TrkCovMat7Beg = nullptr
 
TBranch * b_TrkCovMat8Beg = nullptr
 
TBranch * b_TrkCovMat9Beg = nullptr
 
TBranch * b_TrkCovMat10Beg = nullptr
 
TBranch * b_TrkCovMat11Beg = nullptr
 
TBranch * b_TrkCovMat12Beg = nullptr
 
TBranch * b_TrkCovMat13Beg = nullptr
 
TBranch * b_TrkCovMat14Beg = nullptr
 
TBranch * b_TrkCovMat15Beg = nullptr
 
TBranch * b_TrkCovMat1End = nullptr
 
TBranch * b_TrkCovMat2End = nullptr
 
TBranch * b_TrkCovMat3End = nullptr
 
TBranch * b_TrkCovMat4End = nullptr
 
TBranch * b_TrkCovMat5End = nullptr
 
TBranch * b_TrkCovMat6End = nullptr
 
TBranch * b_TrkCovMat7End = nullptr
 
TBranch * b_TrkCovMat8End = nullptr
 
TBranch * b_TrkCovMat9End = nullptr
 
TBranch * b_TrkCovMat10End = nullptr
 
TBranch * b_TrkCovMat11End = nullptr
 
TBranch * b_TrkCovMat12End = nullptr
 
TBranch * b_TrkCovMat13End = nullptr
 
TBranch * b_TrkCovMat14End = nullptr
 
TBranch * b_TrkCovMat15End = nullptr
 
TBranch * b_VeeVtxX = nullptr
 
TBranch * b_VeeVtxY = nullptr
 
TBranch * b_VeeVtxZ = nullptr
 
TBranch * b_VeeVtxT = nullptr
 
TBranch * b_VeeVtxCovar11 = nullptr
 
TBranch * b_VeeVtxCovar12 = nullptr
 
TBranch * b_VeeVtxCovar13 = nullptr
 
TBranch * b_VeeVtxCovar21 = nullptr
 
TBranch * b_VeeVtxCovar22 = nullptr
 
TBranch * b_VeeVtxCovar23 = nullptr
 
TBranch * b_VeeVtxCovar31 = nullptr
 
TBranch * b_VeeVtxCovar32 = nullptr
 
TBranch * b_VeeVtxCovar33 = nullptr
 
TBranch * b_VeePxKshort = nullptr
 
TBranch * b_VeePyKshort = nullptr
 
TBranch * b_VeePzKshort = nullptr
 
TBranch * b_VeeEKshort = nullptr
 
TBranch * b_VeePxLamb1 = nullptr
 
TBranch * b_VeePyLamb1 = nullptr
 
TBranch * b_VeePzLamb1 = nullptr
 
TBranch * b_VeeELamb1 = nullptr
 
TBranch * b_VeePxLamb2 = nullptr
 
TBranch * b_VeePyLamb2 = nullptr
 
TBranch * b_VeePzLamb2 = nullptr
 
TBranch * b_VeeELamb2 = nullptr
 
TBranch * b_VeeChisqr = nullptr
 
TBranch * b_VtxX = nullptr
 
TBranch * b_VtxY = nullptr
 
TBranch * b_VtxZ = nullptr
 
TBranch * b_VtxT = nullptr
 
TBranch * b_VtxCovar11 = nullptr
 
TBranch * b_VtxCovar12 = nullptr
 
TBranch * b_VtxCovar13 = nullptr
 
TBranch * b_VtxCovar21 = nullptr
 
TBranch * b_VtxCovar22 = nullptr
 
TBranch * b_VtxCovar23 = nullptr
 
TBranch * b_VtxCovar31 = nullptr
 
TBranch * b_VtxCovar32 = nullptr
 
TBranch * b_VtxCovar33 = nullptr
 
TBranch * b_CalClustX = nullptr
 
TBranch * b_CalClustY = nullptr
 
TBranch * b_CalClustZ = nullptr
 
TBranch * b_CalClustT = nullptr
 
TBranch * b_CalClustEnergy = nullptr
 
TBranch * b_CalClustEnergyError = nullptr
 
TBranch * b_CalClustTdiff = nullptr
 
TBranch * b_CalClustEllip = nullptr
 
TBranch * b_CalClustR1 = nullptr
 
TBranch * b_CalClustR2 = nullptr
 
TBranch * b_CalClustR3 = nullptr
 
TBranch * b_CalClustVol = nullptr
 
TBranch * b_CalClustWidth = nullptr
 
TBranch * b_CalClustTheta = nullptr
 
TBranch * b_CalClustPhi = nullptr
 
TBranch * b_CalClustEigen1X = nullptr
 
TBranch * b_CalClustEigen1Y = nullptr
 
TBranch * b_CalClustEigen1Z = nullptr
 
TBranch * b_CalClustEigen2X = nullptr
 
TBranch * b_CalClustEigen2Y = nullptr
 
TBranch * b_CalClustEigen2Z = nullptr
 
TBranch * b_CalClustEigen3X = nullptr
 
TBranch * b_CalClustEigen3Y = nullptr
 
TBranch * b_CalClustEigen3Z = nullptr
 
TBranch * b_TrackG4PIndices = nullptr
 
TBranch * b_VertTrackIndices = nullptr
 
TBranch * b_VeeTrackIndices = nullptr
 
TBranch * b_CalTrackIndices = nullptr
 
TBranch * b_VertTrackEnds = nullptr
 
TBranch * b_VeeTrackEnds = nullptr
 
TBranch * b_TrkIonizFwd = nullptr
 
TBranch * b_TrkIonizBac = nullptr
 
TBranch * b_TrkChgFwd = nullptr
 
TBranch * b_TrkChgBac = nullptr
 
- Protected Attributes inherited from garana::RecoTree
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...
 

Detailed Description

Definition at line 18 of file FlatRecoTree.h.

Constructor & Destructor Documentation

garana::FlatRecoTree::FlatRecoTree ( )
inline

Definition at line 22 of file FlatRecoTree.h.

22 {}
FlatRecoTree::FlatRecoTree ( TTree *  tree)

Definition at line 14 of file FlatRecoTree.cxx.

15 {
16  SetupRead(tree);
17 }
void SetupRead(TTree *tree)
Definition: TreeReader.cxx:6
FlatRecoTree::FlatRecoTree ( TTree *  tree,
char  opt 
)

Definition at line 19 of file FlatRecoTree.cxx.

20 {
21  CheckOpt(opt);//sets TreeReader::fOpt
22 
23  if(fOpt=='r'){
24  std::cout << "constructed FlatRecoTree object in read-only mode" << std::endl;
25  SetupRead(tree);
27  }
28  else {
29  std::cout << "constructed FlatRecoTree object in write mode" << std::endl;
30  fTreeIn = tree;
32  SetVecs();
33  }
34 
35 }
opt
Definition: train.py:196
TTree * fTreeIn
pointer to the analyzed TTree or TChain
Definition: TreeReader.h:51
void CheckOpt(char opt)
Definition: TreeReader.cxx:67
bool SetBranchAddresses() override
void SetupRead(TTree *tree)
Definition: TreeReader.cxx:6
QTextStream & endl(QTextStream &s)

Member Function Documentation

const vector< TVector3 > * FlatRecoTree::CalClustEigenVecs ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 969 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustEnergy ( const size_t &  icluster) const
overridevirtual

reconstructed ECal cluster energy

Implements garana::RecoTree.

Definition at line 917 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustEnergyError ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 921 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustMaxDeposit ( const size_t &  icluster) const
overridevirtual

maximum true deposited energy from a single MCParticle

Implements garana::RecoTree.

Definition at line 933 of file FlatRecoTree.cxx.

const size_t FlatRecoTree::CalClustNTrueTrack ( const size_t &  icluster) const
overridevirtual

number of MCParticles associated with ith cluster

Implements garana::RecoTree.

Definition at line 927 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustPhi ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 965 of file FlatRecoTree.cxx.

const TLorentzVector * FlatRecoTree::CalClustPosition ( const size_t &  icluster) const
overridevirtual

================ ECal cluster ======================

Implements garana::RecoTree.

Definition at line 912 of file FlatRecoTree.cxx.

const float * FlatRecoTree::CalClustShape ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 948 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustTheta ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 961 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustTimeDifference ( const size_t &  icluster) const
overridevirtual

Implements garana::RecoTree.

Definition at line 944 of file FlatRecoTree.cxx.

const int FlatRecoTree::CalClustTrkIdMaxDeposit ( const size_t &  icluster) const
overridevirtual

trackID of the MCParticle depositing the most energy in ith cluster

Implements garana::RecoTree.

Definition at line 930 of file FlatRecoTree.cxx.

const std::pair< int, float > * FlatRecoTree::CalClustTrueDeposit ( const size_t &  icluster,
const size_t &  itrack 
) const
overridevirtual

Implements garana::RecoTree.

Definition at line 936 of file FlatRecoTree.cxx.

const float FlatRecoTree::CalClustTrueEnergy ( const size_t &  icluster) const
overridevirtual

total associated true energy deposited with ith cluster

Implements garana::RecoTree.

Definition at line 924 of file FlatRecoTree.cxx.

925  { return fCalClustTheta->at(icluster); } const float FlatRecoTree::CalClustPhi(const size_t& icluster) const { return fCalClustPhi->at(icluster); } const vector<TVector3>* FlatRecoTree::CalClustEigenVecs(const size_t& icluster) const{
926 
vector< float > * fCalClustTheta
intrasic direction of the cluster theta
Definition: FlatRecoTree.h:234
const float CalClustPhi(const size_t &icluster) const override
vector< float > * fCalClustPhi
intrasic direction of the cluster phi
Definition: FlatRecoTree.h:235
const vector< TVector3 > * CalClustEigenVecs(const size_t &icluster) const override
void FlatRecoTree::ClearVecs ( )
protected

Definition at line 504 of file FlatRecoTree.cxx.

504  {
505 
506  fTrkLenFwd->clear();
507  fTrkLenBac->clear();
508  fTrkMomBeg->clear();
509  fTrkMomEnd->clear();
510  fTrkVtxX->clear();
511  fTrkVtxY->clear();
512  fTrkVtxZ->clear();
513  fTrkVtxT->clear();
514  fTrkEndX->clear();
515  fTrkEndY->clear();
516  fTrkEndZ->clear();
517  fTrkEndT->clear();
518 
519  fTrkVtxDirX->clear();
520  fTrkVtxDirY->clear();
521  fTrkVtxDirZ->clear();
522  fTrkEndDirX->clear();
523  fTrkEndDirY->clear();
524  fTrkEndDirZ->clear();
525  fTrkChiFwd->clear();
526  fTrkChiBac->clear();
527  fTrkNHits->clear();
528 
529  fTrackXBeg->clear();
530  fTrackYBeg->clear();
531  fTrackZBeg->clear();
532  fTrackCurvBeg->clear();
533  fTrackPhiBeg->clear();
534  fTrackLambBeg->clear();
535  fTrackXEnd->clear();
536  fTrackYEnd->clear();
537  fTrackZEnd->clear();
538  fTrackCurvEnd->clear();
539  fTrackPhiEnd->clear();
540  fTrackLambEnd->clear();
541  fTrkCovMat1Beg->clear();
542  fTrkCovMat2Beg->clear();
543  fTrkCovMat3Beg->clear();
544  fTrkCovMat4Beg->clear();
545  fTrkCovMat5Beg->clear();
546  fTrkCovMat6Beg->clear();
547  fTrkCovMat7Beg->clear();
548  fTrkCovMat8Beg->clear();
549  fTrkCovMat9Beg->clear();
550  fTrkCovMat10Beg->clear();
551  fTrkCovMat11Beg->clear();
552  fTrkCovMat12Beg->clear();
553  fTrkCovMat13Beg->clear();
554  fTrkCovMat14Beg->clear();
555  fTrkCovMat15Beg->clear();
556  fTrkCovMat1End->clear();
557  fTrkCovMat2End->clear();
558  fTrkCovMat3End->clear();
559  fTrkCovMat4End->clear();
560  fTrkCovMat5End->clear();
561  fTrkCovMat6End->clear();
562  fTrkCovMat7End->clear();
563  fTrkCovMat8End->clear();
564  fTrkCovMat9End->clear();
565  fTrkCovMat10End->clear();
566  fTrkCovMat11End->clear();
567  fTrkCovMat12End->clear();
568  fTrkCovMat13End->clear();
569  fTrkCovMat14End->clear();
570  fTrkCovMat15End->clear();
571 
572  fTrkIonizFwd->clear();
573  fTrkIonizBac->clear();
574  fTrkChgFwd->clear();
575  fTrkChgBac->clear();
576 
577  fVeeVtxX->clear();
578  fVeeVtxY->clear();
579  fVeeVtxZ->clear();
580  fVeeVtxT->clear();
581  fVeeVtxCovar11->clear();
582  fVeeVtxCovar12->clear();
583  fVeeVtxCovar13->clear();
584  fVeeVtxCovar21->clear();
585  fVeeVtxCovar22->clear();
586  fVeeVtxCovar23->clear();
587  fVeeVtxCovar31->clear();
588  fVeeVtxCovar32->clear();
589  fVeeVtxCovar33->clear();
590 
591  fVeePxKshort->clear();
592  fVeePyKshort->clear();
593  fVeePzKshort->clear();
594  fVeeEKshort->clear();
595  fVeePxLamb1->clear();
596  fVeePyLamb1->clear();
597  fVeePzLamb1->clear();
598  fVeeELamb1->clear();
599  fVeePxLamb2->clear();
600  fVeePyLamb2->clear();
601  fVeePzLamb2->clear();
602  fVeeELamb2 ->clear();
603  fVeeChisqr->clear();
604 
605  fVtxX->clear();
606  fVtxY->clear();
607  fVtxZ->clear();
608  fVtxT->clear();
609  fVtxCovar11->clear();
610  fVtxCovar12->clear();
611  fVtxCovar13->clear();
612  fVtxCovar21->clear();
613  fVtxCovar22->clear();
614  fVtxCovar23->clear();
615  fVtxCovar31->clear();
616  fVtxCovar32->clear();
617  fVtxCovar33->clear();
618 
619  fCalClustX->clear();
620  fCalClustY->clear();
621  fCalClustZ->clear();
622  fCalClustT->clear();
623  fCalClustEnergy->clear();
624  fCalClustEnergyError->clear();
625  fCalClustTdiff->clear();
626  fCalClustEllip->clear();
627  fCalClustR1->clear();
628  fCalClustR2->clear();
629  fCalClustR3->clear();
630  fCalClustVol->clear();
631  fCalClustWidth->clear();
632  fCalClustTheta->clear();
633  fCalClustPhi->clear();
634  fCalClustEigen1X->clear();
635  fCalClustEigen1Y->clear();
636  fCalClustEigen1Z->clear();
637  fCalClustEigen2X->clear();
638  fCalClustEigen2Y->clear();
639  fCalClustEigen2Z->clear();
640  fCalClustEigen3X->clear();
641  fCalClustEigen3Y->clear();
642  fCalClustEigen3Z->clear();
643 
644  fTrackG4PIndices->clear();
645  fVertTrackIndices->clear();
646  fVeeTrackIndices->clear();
647  fCalTrackIndices->clear();
648 
649  fVertTrackEnds->clear();
650  fVeeTrackEnds->clear();
651 
652  }
vector< float > * fTrkVtxDirZ
Definition: FlatRecoTree.h:119
vector< float > * fTrkLenBac
length of the track in cm from backwards fit
Definition: FlatRecoTree.h:105
vector< float > * fCalClustEigen1X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:236
vector< float > * fTrkCovMat8Beg
Definition: FlatRecoTree.h:146
vector< float > * fTrkIonizBac
Definition: FlatRecoTree.h:171
vector< float > * fTrkCovMat7End
Definition: FlatRecoTree.h:160
vector< float > * fTrkVtxDirY
Definition: FlatRecoTree.h:118
vector< float > * fVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:207
vector< float > * fTrackPhiBeg
Track phi (par[3]) at beginning of track [rad].
Definition: FlatRecoTree.h:131
vector< vector< UInt_t > > * fCalTrackIndices
Definition: FlatRecoTree.h:250
vector< float > * fVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:208
vector< float > * fVtxCovar31
Definition: FlatRecoTree.h:216
vector< float > * fCalClustZ
z-position of the cluster [cm]
Definition: FlatRecoTree.h:223
vector< size_t > * fTrkNHits
number of hits
Definition: FlatRecoTree.h:125
vector< float > * fCalClustEigen3X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:242
vector< float > * fTrkCovMat10Beg
Definition: FlatRecoTree.h:148
vector< float > * fCalClustEigen2X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:239
vector< float > * fVeeVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:179
vector< float > * fTrkCovMat1Beg
covariance matrix at beginning of track – assuming symmetry
Definition: FlatRecoTree.h:139
vector< float > * fCalClustR3
cluster shape parameter r3
Definition: FlatRecoTree.h:231
vector< float > * fTrkVtxZ
Definition: FlatRecoTree.h:110
vector< float > * fVeeEKshort
Definition: FlatRecoTree.h:194
vector< float > * fTrkChiFwd
chisquared forward fit
Definition: FlatRecoTree.h:123
vector< float > * fTrkCovMat3Beg
Definition: FlatRecoTree.h:141
vector< float > * fCalClustEigen3Y
Definition: FlatRecoTree.h:243
vector< float > * fVeePzLamb1
Definition: FlatRecoTree.h:197
vector< float > * fTrackYEnd
Track y-coord (par[0]) at end of track [cm].
Definition: FlatRecoTree.h:134
vector< float > * fTrkVtxY
Definition: FlatRecoTree.h:109
vector< float > * fTrkVtxX
track vertex position 4-vector cm,ns
Definition: FlatRecoTree.h:108
vector< int > * fTrkChgBac
Definition: FlatRecoTree.h:173
vector< vector< UInt_t > > * fVeeTrackIndices
Definition: FlatRecoTree.h:249
vector< float > * fTrkCovMat14End
Definition: FlatRecoTree.h:167
vector< float > * fTrackXBeg
Track x-coord at beginning of track [cm].
Definition: FlatRecoTree.h:127
vector< float > * fTrkVtxT
Definition: FlatRecoTree.h:111
vector< float > * fVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:206
vector< float > * fTrkCovMat10End
Definition: FlatRecoTree.h:163
vector< float > * fTrkCovMat4Beg
Definition: FlatRecoTree.h:142
vector< float > * fCalClustX
x-position of the cluster [cm]
Definition: FlatRecoTree.h:221
vector< float > * fTrkEndY
Definition: FlatRecoTree.h:113
vector< float > * fCalClustEllip
cluster shape parameter ellipsoid
Definition: FlatRecoTree.h:228
vector< float > * fVtxCovar21
Definition: FlatRecoTree.h:213
vector< vector< Int_t > > * fVeeTrackEnds
Definition: FlatRecoTree.h:253
vector< float > * fVeeVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:178
vector< float > * fTrkEndDirX
track end direction
Definition: FlatRecoTree.h:120
vector< float > * fVeeELamb1
Definition: FlatRecoTree.h:198
vector< float > * fTrkCovMat7Beg
Definition: FlatRecoTree.h:145
vector< float > * fVeePxLamb1
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:195
vector< float > * fVeeVtxCovar31
Definition: FlatRecoTree.h:187
vector< float > * fTrkCovMat4End
Definition: FlatRecoTree.h:157
vector< float > * fTrkCovMat9End
Definition: FlatRecoTree.h:162
vector< float > * fTrkChiBac
chisquared backward fit
Definition: FlatRecoTree.h:124
vector< float > * fTrkCovMat15Beg
Definition: FlatRecoTree.h:153
vector< float > * fTrkCovMat12End
Definition: FlatRecoTree.h:165
vector< float > * fCalClustEigen1Z
Definition: FlatRecoTree.h:238
vector< float > * fTrkVtxDirX
track vertex direction
Definition: FlatRecoTree.h:117
vector< float > * fCalClustTheta
intrasic direction of the cluster theta
Definition: FlatRecoTree.h:234
vector< float > * fTrkMomEnd
momentum of the track at the end in GeV/c
Definition: FlatRecoTree.h:107
vector< float > * fVeeELamb2
Definition: FlatRecoTree.h:202
vector< float > * fTrkCovMat11Beg
Definition: FlatRecoTree.h:149
vector< float > * fCalClustEigen2Y
Definition: FlatRecoTree.h:240
vector< float > * fTrkCovMat9Beg
Definition: FlatRecoTree.h:147
vector< float > * fTrackPhiEnd
Track phi (par[3]) at end of track [rad].
Definition: FlatRecoTree.h:137
vector< float > * fTrkCovMat13End
Definition: FlatRecoTree.h:166
vector< float > * fTrkLenFwd
length of the track in cm from forwards fit
Definition: FlatRecoTree.h:104
vector< float > * fTrkCovMat5End
Definition: FlatRecoTree.h:158
vector< float > * fTrkCovMat8End
Definition: FlatRecoTree.h:161
vector< vector< UInt_t > > * fVertTrackIndices
Definition: FlatRecoTree.h:248
vector< float > * fVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:209
vector< float > * fVtxCovar13
Definition: FlatRecoTree.h:212
vector< float > * fTrkEndX
track end position 4-vector cm,ns
Definition: FlatRecoTree.h:112
vector< float > * fTrackZEnd
Track z-coord (par[1]) at end of track [cm].
Definition: FlatRecoTree.h:135
vector< float > * fVeeVtxCovar13
Definition: FlatRecoTree.h:183
vector< float > * fTrkCovMat5Beg
Definition: FlatRecoTree.h:143
vector< float > * fTrkEndDirZ
Definition: FlatRecoTree.h:122
vector< float > * fTrackXEnd
Track x-coord at end of track [cm].
Definition: FlatRecoTree.h:133
vector< float > * fCalClustTdiff
time difference between the first and last layer of the cluster [ns]
Definition: FlatRecoTree.h:227
vector< float > * fTrackCurvEnd
Track curvature (par[2]) at end of track [cm^-1].
Definition: FlatRecoTree.h:136
vector< float > * fTrackYBeg
Track y-coord (par[0]) at beginning of track [cm].
Definition: FlatRecoTree.h:128
vector< float > * fTrkCovMat3End
Definition: FlatRecoTree.h:156
vector< float > * fCalClustEigen3Z
Definition: FlatRecoTree.h:244
vector< float > * fTrkCovMat6Beg
Definition: FlatRecoTree.h:144
vector< float > * fVeeVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:181
vector< float > * fCalClustWidth
cluster shape parameter width
Definition: FlatRecoTree.h:233
vector< float > * fVeePzKshort
Definition: FlatRecoTree.h:193
vector< vector< UInt_t > > * fTrackG4PIndices
Definition: FlatRecoTree.h:247
vector< float > * fCalClustR2
cluster shape parameter r2
Definition: FlatRecoTree.h:230
vector< float > * fVeePxLamb2
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:199
vector< float > * fTrkIonizFwd
Definition: FlatRecoTree.h:170
vector< float > * fTrkEndZ
Definition: FlatRecoTree.h:114
vector< float > * fTrkEndDirY
Definition: FlatRecoTree.h:121
vector< float > * fVtxCovar32
Definition: FlatRecoTree.h:217
vector< float > * fCalClustPhi
intrasic direction of the cluster phi
Definition: FlatRecoTree.h:235
vector< float > * fTrkCovMat15End
Definition: FlatRecoTree.h:168
vector< int > * fTrkChgFwd
Definition: FlatRecoTree.h:172
vector< float > * fCalClustEigen2Z
Definition: FlatRecoTree.h:241
vector< float > * fVeeVtxCovar22
Definition: FlatRecoTree.h:185
vector< float > * fTrkCovMat13Beg
Definition: FlatRecoTree.h:151
vector< float > * fVeePzLamb2
Definition: FlatRecoTree.h:201
vector< float > * fTrkCovMat2Beg
Definition: FlatRecoTree.h:140
vector< float > * fTrackLambEnd
Track lambda (par[4]) at end of track [rad].
Definition: FlatRecoTree.h:138
vector< float > * fTrkCovMat12Beg
Definition: FlatRecoTree.h:150
vector< float > * fTrkCovMat1End
covariance matrix at end of track – assuming symmetry
Definition: FlatRecoTree.h:154
vector< float > * fVeeVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:177
vector< float > * fVtxCovar23
Definition: FlatRecoTree.h:215
vector< float > * fVeeVtxCovar32
Definition: FlatRecoTree.h:188
vector< float > * fTrackCurvBeg
Track curvature (par[2]) at beginning of track [cm^-1].
Definition: FlatRecoTree.h:130
vector< float > * fTrkCovMat14Beg
Definition: FlatRecoTree.h:152
vector< float > * fVeeVtxCovar33
Definition: FlatRecoTree.h:189
vector< float > * fTrkCovMat2End
Definition: FlatRecoTree.h:155
vector< float > * fTrkMomBeg
momentum of the track at the vertex in GeV/c
Definition: FlatRecoTree.h:106
vector< float > * fCalClustEnergy
energy of the ECal cluster [GeV]
Definition: FlatRecoTree.h:225
vector< float > * fVeePxKshort
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:191
vector< float > * fVeeVtxCovar21
Definition: FlatRecoTree.h:184
vector< float > * fVtxCovar12
Definition: FlatRecoTree.h:211
vector< float > * fVtxCovar22
Definition: FlatRecoTree.h:214
vector< float > * fCalClustT
time of the cluster [ns]
Definition: FlatRecoTree.h:224
vector< float > * fVeeVtxCovar23
Definition: FlatRecoTree.h:186
vector< float > * fVeeVtxCovar12
Definition: FlatRecoTree.h:182
vector< float > * fTrackZBeg
Track z-coord (par[1]) at beginning of track [cm].
Definition: FlatRecoTree.h:129
vector< float > * fCalClustEnergyError
uncertainty of the cluster energy [GeV]
Definition: FlatRecoTree.h:226
vector< float > * fVeePyKshort
Definition: FlatRecoTree.h:192
vector< float > * fTrkCovMat11End
Definition: FlatRecoTree.h:164
vector< float > * fTrackLambBeg
Track lambda (par[4]) at beginning of track [rad].
Definition: FlatRecoTree.h:132
vector< float > * fCalClustEigen1Y
Definition: FlatRecoTree.h:237
vector< float > * fVeeChisqr
chi-squared
Definition: FlatRecoTree.h:203
vector< float > * fVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:210
vector< float > * fCalClustVol
cluster shape parameter volume
Definition: FlatRecoTree.h:232
vector< float > * fTrkCovMat6End
Definition: FlatRecoTree.h:159
vector< float > * fVeePyLamb1
Definition: FlatRecoTree.h:196
vector< float > * fCalClustY
y-position of the cluster [cm]
Definition: FlatRecoTree.h:222
vector< float > * fVeeVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:180
vector< vector< Int_t > > * fVertTrackEnds
Definition: FlatRecoTree.h:252
vector< float > * fTrkEndT
Definition: FlatRecoTree.h:115
vector< float > * fCalClustR1
cluster shape parameter r1
Definition: FlatRecoTree.h:229
vector< float > * fVtxCovar33
Definition: FlatRecoTree.h:218
vector< float > * fVeePyLamb2
Definition: FlatRecoTree.h:200
const TLorentzVector * FlatRecoTree::GetVertex ( const size_t &  ivertex) const
overridevirtual

================ vertex ==========================

Implements garana::RecoTree.

Definition at line 850 of file FlatRecoTree.cxx.

850  {
851 
852 
853  const TLorentzVector* v = new TLorentzVector( fVtxX->at(ivertex),
854  fVtxY->at(ivertex),
855  fVtxZ->at(ivertex),
856  fVtxT->at(ivertex) );
857  return v;
858 
859  }
vector< float > * fVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:207
vector< float > * fVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:208
vector< float > * fVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:206
vector< float > * fVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:209
const size_t FlatRecoTree::NCalCluster ( ) const
overridevirtual

number of ECal clusters in this event

Implements garana::RecoTree.

Definition at line 667 of file FlatRecoTree.cxx.

667  {
668  return fCalClustX->size();
669  }
vector< float > * fCalClustX
x-position of the cluster [cm]
Definition: FlatRecoTree.h:221
const size_t FlatRecoTree::NTrack ( ) const
overridevirtual

number of tracks in this event

Implements garana::RecoTree.

Definition at line 655 of file FlatRecoTree.cxx.

655  {
656  return fTrkNHits->size();
657  }
vector< size_t > * fTrkNHits
number of hits
Definition: FlatRecoTree.h:125
const size_t FlatRecoTree::NTrackHit ( const size_t &  itrack) const
overridevirtual

number of reconstructed hits used in track fit

Implements garana::RecoTree.

Definition at line 687 of file FlatRecoTree.cxx.

687  {
688  return fTrkNHits->at(itrack);
689  }
vector< size_t > * fTrkNHits
number of hits
Definition: FlatRecoTree.h:125
const size_t FlatRecoTree::NVee ( ) const
overridevirtual

number of vees in this event

Implements garana::RecoTree.

Definition at line 663 of file FlatRecoTree.cxx.

663  {
664  return fVeeVtxX->size();
665  }
vector< float > * fVeeVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:177
const size_t FlatRecoTree::NVertex ( ) const
overridevirtual

number of vertices in this event

Implements garana::RecoTree.

Definition at line 659 of file FlatRecoTree.cxx.

659  {
660  return fVtxX->size();
661  }
vector< float > * fVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:206
bool FlatRecoTree::SetBranchAddresses ( )
overrideprotectedvirtual

Implements garana::TreeReader.

Definition at line 37 of file FlatRecoTree.cxx.

37  {
38 
39 std::cout << "FlatRecoTree SetBranchAddresses()" << std::endl;
40 
41  if(fOpt=='r'){
42  fTreeIn->SetBranchAddress("Event", &fEvent, &b_Event );
43  fTreeIn->SetBranchAddress("TrkLenFwd", &fTrkLenFwd, &b_TrkLenFwd );
44  fTreeIn->SetBranchAddress("TrkLenBac", &fTrkLenBac, &b_TrkLenBac );
45  fTreeIn->SetBranchAddress("TrkMomBeg", &fTrkMomBeg, &b_TrkMomBeg );
46  fTreeIn->SetBranchAddress("TrkMomEnd", &fTrkMomEnd, &b_TrkMomEnd );
47  fTreeIn->SetBranchAddress("TrkVtxX", &fTrkVtxX, &b_TrkVtxX );
48  fTreeIn->SetBranchAddress("TrkVtxY", &fTrkVtxY, &b_TrkVtxY );
49  fTreeIn->SetBranchAddress("TrkVtxZ", &fTrkVtxZ, &b_TrkVtxZ );
50  fTreeIn->SetBranchAddress("TrkVtxT", &fTrkVtxT, &b_TrkVtxT );
51  fTreeIn->SetBranchAddress("TrkEndX", &fTrkEndX, &b_TrkEndX );
52  fTreeIn->SetBranchAddress("TrkEndY", &fTrkEndY, &b_TrkEndY );
53  fTreeIn->SetBranchAddress("TrkEndZ", &fTrkEndZ, &b_TrkEndZ );
54  fTreeIn->SetBranchAddress("TrkEndT", &fTrkEndT, &b_TrkEndT );
55 
56  fTreeIn->SetBranchAddress("TrkVtxDirX", &fTrkVtxDirX, &b_TrkVtxDirX );
57  fTreeIn->SetBranchAddress("TrkVtxDirY", &fTrkVtxDirY, &b_TrkVtxDirY );
58  fTreeIn->SetBranchAddress("TrkVtxDirZ", &fTrkVtxDirZ, &b_TrkVtxDirZ );
59  fTreeIn->SetBranchAddress("TrkEndDirX", &fTrkEndDirX, &b_TrkEndDirX );
60  fTreeIn->SetBranchAddress("TrkEndDirY", &fTrkEndDirY, &b_TrkEndDirY );
61  fTreeIn->SetBranchAddress("TrkEndDirZ", &fTrkEndDirZ, &b_TrkEndDirZ );
62  fTreeIn->SetBranchAddress("TrkChiFwd", &fTrkChiFwd, &b_TrkChiFwd );
63  fTreeIn->SetBranchAddress("TrkChiBac", &fTrkChiBac, &b_TrkChiBac );
64  fTreeIn->SetBranchAddress("TrkNHits", &fTrkNHits, &b_TrkNHits );
65 
66  fTreeIn->SetBranchAddress("TrackXBeg", &fTrackXBeg, &b_TrackXBeg );
67  fTreeIn->SetBranchAddress("TrackYBeg", &fTrackYBeg, &b_TrackYBeg );
68  fTreeIn->SetBranchAddress("TrackZBeg", &fTrackZBeg, &b_TrackZBeg );
69  fTreeIn->SetBranchAddress("TrackCurvBeg", &fTrackCurvBeg, &b_TrackCurvBeg );
70  fTreeIn->SetBranchAddress("TrackPhiBeg", &fTrackPhiBeg, &b_TrackPhiBeg );
71  fTreeIn->SetBranchAddress("TrackLambBeg", &fTrackLambBeg, &b_TrackLambBeg );
72  fTreeIn->SetBranchAddress("TrackXEnd", &fTrackXEnd, &b_TrackXEnd );
73  fTreeIn->SetBranchAddress("TrackYEnd", &fTrackYEnd, &b_TrackYEnd );
74  fTreeIn->SetBranchAddress("TrackZEnd", &fTrackZEnd, &b_TrackZEnd );
75  fTreeIn->SetBranchAddress("TrackCurvEnd", &fTrackCurvEnd, &b_TrackCurvEnd );
76  fTreeIn->SetBranchAddress("TrackPhiEnd ", &fTrackPhiEnd , &b_TrackPhiEnd );
77  fTreeIn->SetBranchAddress("TrackLambEnd", &fTrackLambEnd, &b_TrackLambEnd );
78  fTreeIn->SetBranchAddress("TrkCovMat1Beg", &fTrkCovMat1Beg, &b_TrkCovMat1Beg );
79  fTreeIn->SetBranchAddress("TrkCovMat2Beg", &fTrkCovMat2Beg, &b_TrkCovMat2Beg );
80  fTreeIn->SetBranchAddress("TrkCovMat3Beg", &fTrkCovMat3Beg, &b_TrkCovMat3Beg );
81  fTreeIn->SetBranchAddress("TrkCovMat4Beg", &fTrkCovMat4Beg, &b_TrkCovMat4Beg );
82  fTreeIn->SetBranchAddress("TrkCovMat5Beg", &fTrkCovMat5Beg, &b_TrkCovMat5Beg );
83  fTreeIn->SetBranchAddress("TrkCovMat6Beg", &fTrkCovMat6Beg, &b_TrkCovMat6Beg );
84  fTreeIn->SetBranchAddress("TrkCovMat7Beg", &fTrkCovMat7Beg, &b_TrkCovMat7Beg );
85  fTreeIn->SetBranchAddress("TrkCovMat8Beg", &fTrkCovMat8Beg, &b_TrkCovMat8Beg );
86  fTreeIn->SetBranchAddress("TrkCovMat9Beg", &fTrkCovMat9Beg, &b_TrkCovMat9Beg );
87  fTreeIn->SetBranchAddress("TrkCovMat10Beg", &fTrkCovMat10Beg, &b_TrkCovMat10Beg );
88  fTreeIn->SetBranchAddress("TrkCovMat11Beg", &fTrkCovMat11Beg, &b_TrkCovMat11Beg );
89  fTreeIn->SetBranchAddress("TrkCovMat12Beg", &fTrkCovMat12Beg, &b_TrkCovMat12Beg );
90  fTreeIn->SetBranchAddress("TrkCovMat13Beg", &fTrkCovMat13Beg, &b_TrkCovMat13Beg );
91  fTreeIn->SetBranchAddress("TrkCovMat14Beg", &fTrkCovMat14Beg, &b_TrkCovMat14Beg );
92  fTreeIn->SetBranchAddress("TrkCovMat15Beg", &fTrkCovMat15Beg, &b_TrkCovMat15Beg );
93  fTreeIn->SetBranchAddress("TrkCovMat1End", &fTrkCovMat1End, &b_TrkCovMat1End );
94  fTreeIn->SetBranchAddress("TrkCovMat2End", &fTrkCovMat2End, &b_TrkCovMat2End );
95  fTreeIn->SetBranchAddress("TrkCovMat3End", &fTrkCovMat3End, &b_TrkCovMat3End );
96  fTreeIn->SetBranchAddress("TrkCovMat4End", &fTrkCovMat4End, &b_TrkCovMat4End );
97  fTreeIn->SetBranchAddress("TrkCovMat5End", &fTrkCovMat5End, &b_TrkCovMat5End );
98  fTreeIn->SetBranchAddress("TrkCovMat6End", &fTrkCovMat6End, &b_TrkCovMat6End );
99  fTreeIn->SetBranchAddress("TrkCovMat7End", &fTrkCovMat7End, &b_TrkCovMat7End );
100  fTreeIn->SetBranchAddress("TrkCovMat8End", &fTrkCovMat8End, &b_TrkCovMat8End );
101  fTreeIn->SetBranchAddress("TrkCovMat9End", &fTrkCovMat9End, &b_TrkCovMat9End );
102  fTreeIn->SetBranchAddress("TrkCovMat10End", &fTrkCovMat10End, &b_TrkCovMat10End );
103  fTreeIn->SetBranchAddress("TrkCovMat11End", &fTrkCovMat11End, &b_TrkCovMat11End );
104  fTreeIn->SetBranchAddress("TrkCovMat12End", &fTrkCovMat12End, &b_TrkCovMat12End );
105  fTreeIn->SetBranchAddress("TrkCovMat13End", &fTrkCovMat13End, &b_TrkCovMat13End );
106  fTreeIn->SetBranchAddress("TrkCovMat14End", &fTrkCovMat14End, &b_TrkCovMat14End );
107  fTreeIn->SetBranchAddress("TrkCovMat15End", &fTrkCovMat15End, &b_TrkCovMat15End );
108 
109  fTreeIn->SetBranchAddress("TrkIonizFwd", &fTrkIonizFwd, &b_TrkIonizFwd );
110  fTreeIn->SetBranchAddress("TrkIonizBac", &fTrkIonizBac, &b_TrkIonizBac );
111  fTreeIn->SetBranchAddress("TrkChgFwd", &fTrkChgFwd, &b_TrkChgFwd );
112  fTreeIn->SetBranchAddress("TrkChgBac", &fTrkChgBac, &b_TrkChgBac );
113 
114  fTreeIn->SetBranchAddress("VeeVtxX", &fVeeVtxX, &b_VeeVtxX );
115  fTreeIn->SetBranchAddress("VeeVtxY", &fVeeVtxY, &b_VeeVtxY );
116  fTreeIn->SetBranchAddress("VeeVtxZ", &fVeeVtxZ, &b_VeeVtxZ );
117  fTreeIn->SetBranchAddress("VeeVtxT", &fVeeVtxT, &b_VeeVtxT );
118  fTreeIn->SetBranchAddress("VeeVtxCovar11", &fVeeVtxCovar11, &b_VeeVtxCovar11 );
119  fTreeIn->SetBranchAddress("VeeVtxCovar12", &fVeeVtxCovar12, &b_VeeVtxCovar12 );
120  fTreeIn->SetBranchAddress("VeeVtxCovar13", &fVeeVtxCovar13, &b_VeeVtxCovar13 );
121  fTreeIn->SetBranchAddress("VeeVtxCovar21", &fVeeVtxCovar21, &b_VeeVtxCovar21 );
122  fTreeIn->SetBranchAddress("VeeVtxCovar22", &fVeeVtxCovar22, &b_VeeVtxCovar22 );
123  fTreeIn->SetBranchAddress("VeeVtxCovar23", &fVeeVtxCovar23, &b_VeeVtxCovar23 );
124  fTreeIn->SetBranchAddress("VeeVtxCovar31", &fVeeVtxCovar31, &b_VeeVtxCovar31 );
125  fTreeIn->SetBranchAddress("VeeVtxCovar32", &fVeeVtxCovar32, &b_VeeVtxCovar32 );
126  fTreeIn->SetBranchAddress("VeeVtxCovar33", &fVeeVtxCovar33, &b_VeeVtxCovar33 );
127 
128  fTreeIn->SetBranchAddress("VeePxKshort", &fVeePxKshort, &b_VeePxKshort );
129  fTreeIn->SetBranchAddress("VeePyKshort", &fVeePyKshort, &b_VeePyKshort );
130  fTreeIn->SetBranchAddress("VeePzKshort", &fVeePzKshort, &b_VeePzKshort );
131  fTreeIn->SetBranchAddress("VeeEKshort", &fVeeEKshort, &b_VeeEKshort );
132  fTreeIn->SetBranchAddress("VeePxLamb1", &fVeePxLamb1, &b_VeePxLamb1 );
133  fTreeIn->SetBranchAddress("VeePyLamb1", &fVeePyLamb1, &b_VeePyLamb1 );
134  fTreeIn->SetBranchAddress("VeePzLamb1", &fVeePzLamb1, &b_VeePzLamb1 );
135  fTreeIn->SetBranchAddress("VeeELamb1", &fVeeELamb1, &b_VeeELamb1 );
136  fTreeIn->SetBranchAddress("VeePxLamb2", &fVeePxLamb2, &b_VeePxLamb2 );
137  fTreeIn->SetBranchAddress("VeePyLamb2", &fVeePyLamb2, &b_VeePyLamb2 );
138  fTreeIn->SetBranchAddress("VeePzLamb2", &fVeePzLamb2, &b_VeePzLamb2 );
139  fTreeIn->SetBranchAddress("VeeELamb2", &fVeeELamb2, &b_VeeELamb2 );
140  fTreeIn->SetBranchAddress("VeeChisqr", &fVeeChisqr, &b_VeeChisqr );
141 
142  fTreeIn->SetBranchAddress("VtxX", &fVtxX, &b_VtxX );
143  fTreeIn->SetBranchAddress("VtxY", &fVtxY, &b_VtxY );
144  fTreeIn->SetBranchAddress("VtxZ", &fVtxZ, &b_VtxZ );
145  fTreeIn->SetBranchAddress("VtxT", &fVtxT, &b_VtxT );
146  fTreeIn->SetBranchAddress("VtxCovar11", &fVtxCovar11, &b_VtxCovar11 );
147  fTreeIn->SetBranchAddress("VtxCovar12", &fVtxCovar12, &b_VtxCovar12 );
148  fTreeIn->SetBranchAddress("VtxCovar13", &fVtxCovar13, &b_VtxCovar13 );
149  fTreeIn->SetBranchAddress("VtxCovar21", &fVtxCovar21, &b_VtxCovar21 );
150  fTreeIn->SetBranchAddress("VtxCovar22", &fVtxCovar22, &b_VtxCovar22 );
151  fTreeIn->SetBranchAddress("VtxCovar23", &fVtxCovar23, &b_VtxCovar23 );
152  fTreeIn->SetBranchAddress("VtxCovar31", &fVtxCovar31, &b_VtxCovar31 );
153  fTreeIn->SetBranchAddress("VtxCovar32", &fVtxCovar32, &b_VtxCovar32 );
154  fTreeIn->SetBranchAddress("VtxCovar33", &fVtxCovar33, &b_VtxCovar33 );
155 
156  fTreeIn->SetBranchAddress("CalClustX", &fCalClustX, &b_CalClustX );
157  fTreeIn->SetBranchAddress("CalClustY", &fCalClustY, &b_CalClustY );
158  fTreeIn->SetBranchAddress("CalClustZ", &fCalClustZ, &b_CalClustZ );
159  fTreeIn->SetBranchAddress("CalClustT", &fCalClustT, &b_CalClustT );
160  fTreeIn->SetBranchAddress("CalClustEnergy", &fCalClustEnergy, &b_CalClustEnergy );
161  fTreeIn->SetBranchAddress("CalClustEnergyError", &fCalClustEnergyError, &b_CalClustEnergyError);
162  fTreeIn->SetBranchAddress("CalClustTdiff", &fCalClustTdiff, &b_CalClustTdiff );
163  fTreeIn->SetBranchAddress("CalClustEllip", &fCalClustEllip, &b_CalClustEllip );
164  fTreeIn->SetBranchAddress("CalClustR1", &fCalClustR1, &b_CalClustR1 );
165  fTreeIn->SetBranchAddress("CalClustR2", &fCalClustR2, &b_CalClustR2 );
166  fTreeIn->SetBranchAddress("CalClustR3", &fCalClustR3, &b_CalClustR3 );
167  fTreeIn->SetBranchAddress("CalClustVol", &fCalClustVol, &b_CalClustVol );
168  fTreeIn->SetBranchAddress("CalClustWidth", &fCalClustWidth, &b_CalClustWidth );
169  fTreeIn->SetBranchAddress("CalClustTheta", &fCalClustTheta, &b_CalClustTheta );
170  fTreeIn->SetBranchAddress("CalClustPhi", &fCalClustPhi, &b_CalClustPhi );
171  fTreeIn->SetBranchAddress("CalClustEigen1X", &fCalClustEigen1X, &b_CalClustEigen1X );
172  fTreeIn->SetBranchAddress("CalClustEigen1Y", &fCalClustEigen1Y, &b_CalClustEigen1Y );
173  fTreeIn->SetBranchAddress("CalClustEigen1Z", &fCalClustEigen1Z, &b_CalClustEigen1Z );
174  fTreeIn->SetBranchAddress("CalClustEigen2X", &fCalClustEigen2X, &b_CalClustEigen2X );
175  fTreeIn->SetBranchAddress("CalClustEigen2Y", &fCalClustEigen2Y, &b_CalClustEigen2Y );
176  fTreeIn->SetBranchAddress("CalClustEigen2Z", &fCalClustEigen2Z, &b_CalClustEigen2Z );
177  fTreeIn->SetBranchAddress("CalClustEigen3X", &fCalClustEigen3X, &b_CalClustEigen3X );
178  fTreeIn->SetBranchAddress("CalClustEigen3Y", &fCalClustEigen3Y, &b_CalClustEigen3Y );
179  fTreeIn->SetBranchAddress("CalClustEigen3Z", &fCalClustEigen3Z, &b_CalClustEigen3Z );
180 
181  fTreeIn->SetBranchAddress("TrackG4PIndices ", &fTrackG4PIndices, &b_TrackG4PIndices );
182  fTreeIn->SetBranchAddress("VertTrackIndices", &fVertTrackIndices, &b_VertTrackIndices );
183  fTreeIn->SetBranchAddress("VeeTrackIndices ", &fVeeTrackIndices, &b_VeeTrackIndices );
184  //fTreeIn->SetBranchAddress("CalTrackIndices ", &fCalTrackIndices, &b_CalTrackIndices );
185  fTreeIn->SetBranchAddress("CalTrackIndices", &fCalClusterTrackIndices , &b_CalClusterTrackIndices );
186  //fTreeIn->SetBranchAddress("CalTrackEnds", &fCalTrackEnds , &b_CalTrackEnds );
187  fTreeIn->SetBranchAddress("CalG4Indices", &fCalClusterG4Indices , &b_CalClusterG4Indices );
188 
189  fTreeIn->SetBranchAddress("VertTrackEnds", &fVertTrackEnds, &b_VertTrackEnds );
190  fTreeIn->SetBranchAddress("VeeTrackEnds", &fVeeTrackEnds, &b_VeeTrackEnds );
191 
192  }
193 
194 
195  if(fOpt=='w'){
196 
197  fTreeIn->Branch("Event", &fEvent, "Event/I" );
198  fTreeIn->Branch("TrkLenFwd", "vector<float>", &fTrkLenFwd );
199  fTreeIn->Branch("TrkLenBac", "vector<float>", &fTrkLenBac );
200  fTreeIn->Branch("TrkMomBeg", "vector<float>", &fTrkMomBeg );
201  fTreeIn->Branch("TrkMomEnd", "vector<float>", &fTrkMomEnd );
202  fTreeIn->Branch("TrkVtxX", "vector<float>", &fTrkVtxX );
203  fTreeIn->Branch("TrkVtxY", "vector<float>", &fTrkVtxY );
204  fTreeIn->Branch("TrkVtxZ", "vector<float>", &fTrkVtxZ );
205  fTreeIn->Branch("TrkVtxT", "vector<float>", &fTrkVtxT );
206  fTreeIn->Branch("TrkEndX", "vector<float>", &fTrkEndX );
207  fTreeIn->Branch("TrkEndY", "vector<float>", &fTrkEndY );
208  fTreeIn->Branch("TrkEndZ", "vector<float>", &fTrkEndZ );
209  fTreeIn->Branch("TrkEndT", "vector<float>", &fTrkEndT );
210 
211  fTreeIn->Branch("TrkVtxDirX", "vector<float>", &fTrkVtxDirX );
212  fTreeIn->Branch("TrkVtxDirY", "vector<float>", &fTrkVtxDirY );
213  fTreeIn->Branch("TrkVtxDirZ", "vector<float>", &fTrkVtxDirZ );
214  fTreeIn->Branch("TrkEndDirX", "vector<float>", &fTrkEndDirX );
215  fTreeIn->Branch("TrkEndDirY", "vector<float>", &fTrkEndDirY );
216  fTreeIn->Branch("TrkEndDirZ", "vector<float>", &fTrkEndDirZ );
217  fTreeIn->Branch("TrkChiFwd", "vector<float>", &fTrkChiFwd );
218  fTreeIn->Branch("TrkChiBac", "vector<float>", &fTrkChiBac );
219  fTreeIn->Branch("TrkNHits", "vector<size_t>", &fTrkNHits );
220 
221  fTreeIn->Branch("TrackXBeg", "vector<float>", &fTrackXBeg );
222  fTreeIn->Branch("TrackYBeg", "vector<float>", &fTrackYBeg );
223  fTreeIn->Branch("TrackZBeg", "vector<float>", &fTrackZBeg );
224  fTreeIn->Branch("TrackCurvBeg", "vector<float>", &fTrackCurvBeg );
225  fTreeIn->Branch("TrackPhiBeg", "vector<float>", &fTrackPhiBeg );
226  fTreeIn->Branch("TrackLambBeg", "vector<float>", &fTrackLambBeg );
227  fTreeIn->Branch("TrackXEnd", "vector<float>", &fTrackXEnd );
228  fTreeIn->Branch("TrackYEnd", "vector<float>", &fTrackYEnd );
229  fTreeIn->Branch("TrackZEnd", "vector<float>", &fTrackZEnd );
230  fTreeIn->Branch("TrackCurvEnd", "vector<float>", &fTrackCurvEnd );
231  fTreeIn->Branch("TrackPhiEnd ", "vector<float>", &fTrackPhiEnd );
232  fTreeIn->Branch("TrackLambEnd", "vector<float>", &fTrackLambEnd );
233  fTreeIn->Branch("TrkCovMat1Beg", "vector<float>", &fTrkCovMat1Beg );
234  fTreeIn->Branch("TrkCovMat2Beg", "vector<float>", &fTrkCovMat2Beg );
235  fTreeIn->Branch("TrkCovMat3Beg", "vector<float>", &fTrkCovMat3Beg );
236  fTreeIn->Branch("TrkCovMat4Beg", "vector<float>", &fTrkCovMat4Beg );
237  fTreeIn->Branch("TrkCovMat5Beg", "vector<float>", &fTrkCovMat5Beg );
238  fTreeIn->Branch("TrkCovMat6Beg", "vector<float>", &fTrkCovMat6Beg );
239  fTreeIn->Branch("TrkCovMat7Beg", "vector<float>", &fTrkCovMat7Beg );
240  fTreeIn->Branch("TrkCovMat8Beg", "vector<float>", &fTrkCovMat8Beg );
241  fTreeIn->Branch("TrkCovMat9Beg", "vector<float>", &fTrkCovMat9Beg );
242  fTreeIn->Branch("TrkCovMat10Beg", "vector<float>", &fTrkCovMat10Beg );
243  fTreeIn->Branch("TrkCovMat11Beg", "vector<float>", &fTrkCovMat11Beg );
244  fTreeIn->Branch("TrkCovMat12Beg", "vector<float>", &fTrkCovMat12Beg );
245  fTreeIn->Branch("TrkCovMat13Beg", "vector<float>", &fTrkCovMat13Beg );
246  fTreeIn->Branch("TrkCovMat14Beg", "vector<float>", &fTrkCovMat14Beg );
247  fTreeIn->Branch("TrkCovMat15Beg", "vector<float>", &fTrkCovMat15Beg );
248  fTreeIn->Branch("TrkCovMat1End", "vector<float>", &fTrkCovMat1End );
249  fTreeIn->Branch("TrkCovMat2End", "vector<float>", &fTrkCovMat2End );
250  fTreeIn->Branch("TrkCovMat3End", "vector<float>", &fTrkCovMat3End );
251  fTreeIn->Branch("TrkCovMat4End", "vector<float>", &fTrkCovMat4End );
252  fTreeIn->Branch("TrkCovMat5End", "vector<float>", &fTrkCovMat5End );
253  fTreeIn->Branch("TrkCovMat6End", "vector<float>", &fTrkCovMat6End );
254  fTreeIn->Branch("TrkCovMat7End", "vector<float>", &fTrkCovMat7End );
255  fTreeIn->Branch("TrkCovMat8End", "vector<float>", &fTrkCovMat8End );
256  fTreeIn->Branch("TrkCovMat9End", "vector<float>", &fTrkCovMat9End );
257  fTreeIn->Branch("TrkCovMat10End", "vector<float>", &fTrkCovMat10End );
258  fTreeIn->Branch("TrkCovMat11End", "vector<float>", &fTrkCovMat11End );
259  fTreeIn->Branch("TrkCovMat12End", "vector<float>", &fTrkCovMat12End );
260  fTreeIn->Branch("TrkCovMat13End", "vector<float>", &fTrkCovMat13End );
261  fTreeIn->Branch("TrkCovMat14End", "vector<float>", &fTrkCovMat14End );
262  fTreeIn->Branch("TrkCovMat15End", "vector<float>", &fTrkCovMat15End );
263 
264  fTreeIn->Branch("TrkIonizFwd", "vector<UInt_t>", &fTrkIonizFwd );
265  fTreeIn->Branch("TrkIonizBac", "vector<UInt_t>", &fTrkIonizBac );
266  fTreeIn->Branch("TrkChgFwd", "vector<UInt_t>", &fTrkChgFwd );
267  fTreeIn->Branch("TrkChgBac", "vector<UInt_t>", &fTrkChgBac );
268 
269  fTreeIn->Branch("VeeVtxX", "vector<float>", &fVeeVtxX );
270  fTreeIn->Branch("VeeVtxY", "vector<float>", &fVeeVtxY );
271  fTreeIn->Branch("VeeVtxZ", "vector<float>", &fVeeVtxZ );
272  fTreeIn->Branch("VeeVtxT", "vector<float>", &fVeeVtxT );
273  fTreeIn->Branch("VeeVtxCovar11", "vector<float>", &fVeeVtxCovar11 );
274  fTreeIn->Branch("VeeVtxCovar12", "vector<float>", &fVeeVtxCovar12 );
275  fTreeIn->Branch("VeeVtxCovar13", "vector<float>", &fVeeVtxCovar13 );
276  fTreeIn->Branch("VeeVtxCovar21", "vector<float>", &fVeeVtxCovar21 );
277  fTreeIn->Branch("VeeVtxCovar22", "vector<float>", &fVeeVtxCovar22 );
278  fTreeIn->Branch("VeeVtxCovar23", "vector<float>", &fVeeVtxCovar23 );
279  fTreeIn->Branch("VeeVtxCovar31", "vector<float>", &fVeeVtxCovar31 );
280  fTreeIn->Branch("VeeVtxCovar32", "vector<float>", &fVeeVtxCovar32 );
281  fTreeIn->Branch("VeeVtxCovar33", "vector<float>", &fVeeVtxCovar33 );
282 
283  fTreeIn->Branch("VeePxKshort", "vector<float>", &fVeePxKshort );
284  fTreeIn->Branch("VeePyKshort", "vector<float>", &fVeePyKshort );
285  fTreeIn->Branch("VeePzKshort", "vector<float>", &fVeePzKshort );
286  fTreeIn->Branch("VeeEKshort", "vector<float>", &fVeeEKshort );
287  fTreeIn->Branch("VeePxLamb1", "vector<float>", &fVeePxLamb1 );
288  fTreeIn->Branch("VeePyLamb1", "vector<float>", &fVeePyLamb1 );
289  fTreeIn->Branch("VeePzLamb1", "vector<float>", &fVeePzLamb1 );
290  fTreeIn->Branch("VeeELamb1", "vector<float>", &fVeeELamb1 );
291  fTreeIn->Branch("VeePxLamb2", "vector<float>", &fVeePxLamb2 );
292  fTreeIn->Branch("VeePyLamb2", "vector<float>", &fVeePyLamb2 );
293  fTreeIn->Branch("VeePzLamb2", "vector<float>", &fVeePzLamb2 );
294  fTreeIn->Branch("VeeELamb2", "vector<float>", &fVeeELamb2 );
295  fTreeIn->Branch("VeeChisqr", "vector<float>", &fVeeChisqr );
296 
297  fTreeIn->Branch("VtxX", "vector<float>", &fVtxX );
298  fTreeIn->Branch("VtxY", "vector<float>", &fVtxY );
299  fTreeIn->Branch("VtxZ", "vector<float>", &fVtxZ );
300  fTreeIn->Branch("VtxT", "vector<float>", &fVtxT );
301  fTreeIn->Branch("VtxCovar11", "vector<float>", &fVtxCovar11 );
302  fTreeIn->Branch("VtxCovar12", "vector<float>", &fVtxCovar12 );
303  fTreeIn->Branch("VtxCovar13", "vector<float>", &fVtxCovar13 );
304  fTreeIn->Branch("VtxCovar21", "vector<float>", &fVtxCovar21 );
305  fTreeIn->Branch("VtxCovar22", "vector<float>", &fVtxCovar22 );
306  fTreeIn->Branch("VtxCovar23", "vector<float>", &fVtxCovar23 );
307  fTreeIn->Branch("VtxCovar31", "vector<float>", &fVtxCovar31 );
308  fTreeIn->Branch("VtxCovar32", "vector<float>", &fVtxCovar32 );
309  fTreeIn->Branch("VtxCovar33", "vector<float>", &fVtxCovar33 );
310 
311  fTreeIn->Branch("CalClustX", "vector<float>", &fCalClustX );
312  fTreeIn->Branch("CalClustY", "vector<float>", &fCalClustY );
313  fTreeIn->Branch("CalClustZ", "vector<float>", &fCalClustZ );
314  fTreeIn->Branch("CalClustT", "vector<float>", &fCalClustT );
315  fTreeIn->Branch("CalClustEnergy", "vector<float>", &fCalClustEnergy );
316  fTreeIn->Branch("CalClustEnergyError", "vector<float>", &fCalClustEnergyError);
317  fTreeIn->Branch("CalClustTdiff", "vector<float>", &fCalClustTdiff );
318  fTreeIn->Branch("CalClustEllip", "vector<float>", &fCalClustEllip );
319  fTreeIn->Branch("CalClustR1", "vector<float>", &fCalClustR1 );
320  fTreeIn->Branch("CalClustR2", "vector<float>", &fCalClustR2 );
321  fTreeIn->Branch("CalClustR3", "vector<float>", &fCalClustR3 );
322  fTreeIn->Branch("CalClustVol", "vector<float>", &fCalClustVol );
323  fTreeIn->Branch("CalClustWidth", "vector<float>", &fCalClustWidth );
324  fTreeIn->Branch("CalClustTheta", "vector<float>", &fCalClustTheta );
325  fTreeIn->Branch("CalClustPhi", "vector<float>", &fCalClustPhi );
326  fTreeIn->Branch("CalClustEigen1X", "vector<float>", &fCalClustEigen1X );
327  fTreeIn->Branch("CalClustEigen1Y", "vector<float>", &fCalClustEigen1Y );
328  fTreeIn->Branch("CalClustEigen1Z", "vector<float>", &fCalClustEigen1Z );
329  fTreeIn->Branch("CalClustEigen2X", "vector<float>", &fCalClustEigen2X );
330  fTreeIn->Branch("CalClustEigen2Y", "vector<float>", &fCalClustEigen2Y );
331  fTreeIn->Branch("CalClustEigen2Z", "vector<float>", &fCalClustEigen2Z );
332  fTreeIn->Branch("CalClustEigen3X", "vector<float>", &fCalClustEigen3X );
333  fTreeIn->Branch("CalClustEigen3Y", "vector<float>", &fCalClustEigen3Y );
334  fTreeIn->Branch("CalClustEigen3Z", "vector<float>", &fCalClustEigen3Z );
335 
336  fTreeIn->Branch("TrackG4PIndices ", "vector<vector<UInt_t>>", &fTrackG4PIndices );
337  fTreeIn->Branch("VertTrackIndices", "vector<vector<UInt_t>>", &fVertTrackIndices );
338  fTreeIn->Branch("VeeTrackIndices ", "vector<vector<UInt_t>>", &fVeeTrackIndices );
339  //fTreeIn->Branch("CalTrackIndices ", "vector<vector<UInt_t>>", &fCalTrackIndices );
340  fTreeIn->Branch("CalTrackIndices", "vector<vector<UInt_t>>", &fCalClusterTrackIndices );
341  //fTreeIn->Branch("CalTrackEnds", &fCalTrackEnds , &b_CalTrackEnds );
342  fTreeIn->Branch("CalG4Indices", "vector<vector<UInt_t>>", &fCalClusterG4Indices );
343 
344  fTreeIn->Branch("VertTrackEnds", "vector<vector<Int_t>>", &fVertTrackEnds );
345  fTreeIn->Branch("VeeTrackEnds", "vector<vector<Int_t>>", &fVeeTrackEnds );
346 
347  }
348 
349  return true;
350 }
vector< float > * fTrkVtxDirZ
Definition: FlatRecoTree.h:119
vector< float > * fTrkLenBac
length of the track in cm from backwards fit
Definition: FlatRecoTree.h:105
vector< float > * fCalClustEigen1X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:236
vector< float > * fTrkCovMat8Beg
Definition: FlatRecoTree.h:146
vector< float > * fTrkIonizBac
Definition: FlatRecoTree.h:171
TBranch * b_TrackCurvBeg
Definition: FlatRecoTree.h:282
vector< float > * fTrkCovMat7End
Definition: FlatRecoTree.h:160
vector< float > * fTrkVtxDirY
Definition: FlatRecoTree.h:118
TBranch * b_VeeVtxCovar31
Definition: FlatRecoTree.h:333
TBranch * b_TrkCovMat10End
Definition: FlatRecoTree.h:316
vector< float > * fVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:207
vector< float > * fTrackPhiBeg
Track phi (par[3]) at beginning of track [rad].
Definition: FlatRecoTree.h:131
vector< float > * fVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:208
vector< float > * fVtxCovar31
Definition: FlatRecoTree.h:216
vector< float > * fCalClustZ
z-position of the cluster [cm]
Definition: FlatRecoTree.h:223
vector< size_t > * fTrkNHits
number of hits
Definition: FlatRecoTree.h:125
TBranch * b_VeeVtxCovar13
Definition: FlatRecoTree.h:329
TBranch * b_TrkCovMat5Beg
Definition: FlatRecoTree.h:296
vector< float > * fCalClustEigen3X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:242
vector< float > * fTrkCovMat10Beg
Definition: FlatRecoTree.h:148
vector< float > * fCalClustEigen2X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:239
vector< float > * fVeeVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:179
vector< float > * fTrkCovMat1Beg
covariance matrix at beginning of track – assuming symmetry
Definition: FlatRecoTree.h:139
vector< float > * fCalClustR3
cluster shape parameter r3
Definition: FlatRecoTree.h:231
TBranch * b_TrackLambBeg
Definition: FlatRecoTree.h:284
TBranch * b_TrkCovMat15Beg
Definition: FlatRecoTree.h:306
vector< vector< UInt_t > > * fCalClusterTrackIndices
Definition: RecoTree.h:111
TBranch * b_TrkCovMat9End
Definition: FlatRecoTree.h:315
vector< float > * fTrkVtxZ
Definition: FlatRecoTree.h:110
TBranch * b_VeeVtxCovar12
Definition: FlatRecoTree.h:328
TBranch * b_TrkCovMat11End
Definition: FlatRecoTree.h:317
vector< float > * fVeeEKshort
Definition: FlatRecoTree.h:194
vector< float > * fTrkChiFwd
chisquared forward fit
Definition: FlatRecoTree.h:123
TBranch * b_CalClustEigen1X
Definition: FlatRecoTree.h:380
TBranch * b_CalClustTdiff
Definition: FlatRecoTree.h:371
vector< float > * fTrkCovMat3Beg
Definition: FlatRecoTree.h:141
vector< float > * fCalClustEigen3Y
Definition: FlatRecoTree.h:243
vector< float > * fVeePzLamb1
Definition: FlatRecoTree.h:197
TBranch * b_CalClustEnergyError
Definition: FlatRecoTree.h:370
TBranch * b_TrkCovMat1End
Definition: FlatRecoTree.h:307
vector< float > * fTrackYEnd
Track y-coord (par[0]) at end of track [cm].
Definition: FlatRecoTree.h:134
vector< float > * fTrkVtxY
Definition: FlatRecoTree.h:109
vector< float > * fTrkVtxX
track vertex position 4-vector cm,ns
Definition: FlatRecoTree.h:108
vector< int > * fTrkChgBac
Definition: FlatRecoTree.h:173
vector< vector< UInt_t > > * fVeeTrackIndices
Definition: FlatRecoTree.h:249
vector< float > * fTrkCovMat14End
Definition: FlatRecoTree.h:167
vector< float > * fTrackXBeg
Track x-coord at beginning of track [cm].
Definition: FlatRecoTree.h:127
vector< float > * fTrkVtxT
Definition: FlatRecoTree.h:111
TBranch * b_TrkCovMat12Beg
Definition: FlatRecoTree.h:303
vector< float > * fVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:206
vector< float > * fTrkCovMat10End
Definition: FlatRecoTree.h:163
vector< float > * fTrkCovMat4Beg
Definition: FlatRecoTree.h:142
vector< float > * fCalClustX
x-position of the cluster [cm]
Definition: FlatRecoTree.h:221
TBranch * b_TrkCovMat10Beg
Definition: FlatRecoTree.h:301
vector< float > * fTrkEndY
Definition: FlatRecoTree.h:113
TBranch * b_TrkCovMat6Beg
Definition: FlatRecoTree.h:297
vector< float > * fCalClustEllip
cluster shape parameter ellipsoid
Definition: FlatRecoTree.h:228
TBranch * b_TrkCovMat5End
Definition: FlatRecoTree.h:311
TTree * fTreeIn
pointer to the analyzed TTree or TChain
Definition: TreeReader.h:51
TBranch * b_TrkCovMat2Beg
Definition: FlatRecoTree.h:293
vector< float > * fVtxCovar21
Definition: FlatRecoTree.h:213
vector< vector< Int_t > > * fVeeTrackEnds
Definition: FlatRecoTree.h:253
vector< float > * fVeeVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:178
vector< float > * fTrkEndDirX
track end direction
Definition: FlatRecoTree.h:120
vector< float > * fVeeELamb1
Definition: FlatRecoTree.h:198
vector< float > * fTrkCovMat7Beg
Definition: FlatRecoTree.h:145
vector< float > * fVeePxLamb1
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:195
vector< float > * fVeeVtxCovar31
Definition: FlatRecoTree.h:187
TBranch * b_TrkCovMat7End
Definition: FlatRecoTree.h:313
vector< float > * fTrkCovMat4End
Definition: FlatRecoTree.h:157
vector< float > * fTrkCovMat9End
Definition: FlatRecoTree.h:162
TBranch * b_CalClustEnergy
Definition: FlatRecoTree.h:369
vector< float > * fTrkChiBac
chisquared backward fit
Definition: FlatRecoTree.h:124
vector< float > * fTrkCovMat15Beg
Definition: FlatRecoTree.h:153
vector< float > * fTrkCovMat12End
Definition: FlatRecoTree.h:165
TBranch * b_TrkCovMat4End
Definition: FlatRecoTree.h:310
vector< float > * fCalClustEigen1Z
Definition: FlatRecoTree.h:238
TBranch * b_CalClustEigen1Z
Definition: FlatRecoTree.h:382
vector< float > * fTrkVtxDirX
track vertex direction
Definition: FlatRecoTree.h:117
vector< float > * fCalClustTheta
intrasic direction of the cluster theta
Definition: FlatRecoTree.h:234
vector< float > * fTrkMomEnd
momentum of the track at the end in GeV/c
Definition: FlatRecoTree.h:107
vector< float > * fVeeELamb2
Definition: FlatRecoTree.h:202
vector< float > * fTrkCovMat11Beg
Definition: FlatRecoTree.h:149
vector< float > * fCalClustEigen2Y
Definition: FlatRecoTree.h:240
vector< float > * fTrkCovMat9Beg
Definition: FlatRecoTree.h:147
TBranch * b_TrkCovMat7Beg
Definition: FlatRecoTree.h:298
vector< float > * fTrackPhiEnd
Track phi (par[3]) at end of track [rad].
Definition: FlatRecoTree.h:137
vector< float > * fTrkCovMat13End
Definition: FlatRecoTree.h:166
vector< float > * fTrkLenFwd
length of the track in cm from forwards fit
Definition: FlatRecoTree.h:104
TBranch * b_TrackLambEnd
Definition: FlatRecoTree.h:291
vector< float > * fTrkCovMat5End
Definition: FlatRecoTree.h:158
TBranch * b_CalClustEigen2X
Definition: FlatRecoTree.h:383
vector< float > * fTrkCovMat8End
Definition: FlatRecoTree.h:161
vector< vector< UInt_t > > * fVertTrackIndices
Definition: FlatRecoTree.h:248
vector< float > * fVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:209
vector< float > * fVtxCovar13
Definition: FlatRecoTree.h:212
vector< float > * fTrkEndX
track end position 4-vector cm,ns
Definition: FlatRecoTree.h:112
TBranch * b_TrackCurvEnd
Definition: FlatRecoTree.h:289
vector< float > * fTrackZEnd
Track z-coord (par[1]) at end of track [cm].
Definition: FlatRecoTree.h:135
vector< float > * fVeeVtxCovar13
Definition: FlatRecoTree.h:183
TBranch * b_TrkCovMat4Beg
Definition: FlatRecoTree.h:295
vector< vector< UInt_t > > * fCalClusterG4Indices
Definition: RecoTree.h:112
vector< float > * fTrkCovMat5Beg
Definition: FlatRecoTree.h:143
vector< float > * fTrkEndDirZ
Definition: FlatRecoTree.h:122
TBranch * b_CalClustEigen2Y
Definition: FlatRecoTree.h:384
vector< float > * fTrackXEnd
Track x-coord at end of track [cm].
Definition: FlatRecoTree.h:133
TBranch * b_TrkCovMat11Beg
Definition: FlatRecoTree.h:302
TBranch * b_VeeVtxCovar23
Definition: FlatRecoTree.h:332
TBranch * b_VertTrackEnds
Definition: FlatRecoTree.h:395
TBranch * b_CalClustEigen3Y
Definition: FlatRecoTree.h:387
vector< float > * fCalClustTdiff
time difference between the first and last layer of the cluster [ns]
Definition: FlatRecoTree.h:227
TBranch * b_CalClustTheta
Definition: FlatRecoTree.h:378
vector< float > * fTrackCurvEnd
Track curvature (par[2]) at end of track [cm^-1].
Definition: FlatRecoTree.h:136
vector< float > * fTrackYBeg
Track y-coord (par[0]) at beginning of track [cm].
Definition: FlatRecoTree.h:128
vector< float > * fTrkCovMat3End
Definition: FlatRecoTree.h:156
vector< float > * fCalClustEigen3Z
Definition: FlatRecoTree.h:244
vector< float > * fTrkCovMat6Beg
Definition: FlatRecoTree.h:144
vector< float > * fVeeVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:181
TBranch * b_VeeVtxCovar11
Definition: FlatRecoTree.h:327
TBranch * b_VeeVtxCovar21
Definition: FlatRecoTree.h:330
TBranch * b_CalClustEigen3Z
Definition: FlatRecoTree.h:388
vector< float > * fCalClustWidth
cluster shape parameter width
Definition: FlatRecoTree.h:233
TBranch * b_TrkCovMat14Beg
Definition: FlatRecoTree.h:305
vector< float > * fVeePzKshort
Definition: FlatRecoTree.h:193
vector< vector< UInt_t > > * fTrackG4PIndices
Definition: FlatRecoTree.h:247
vector< float > * fCalClustR2
cluster shape parameter r2
Definition: FlatRecoTree.h:230
vector< float > * fVeePxLamb2
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:199
vector< float > * fTrkIonizFwd
Definition: FlatRecoTree.h:170
vector< float > * fTrkEndZ
Definition: FlatRecoTree.h:114
vector< float > * fTrkEndDirY
Definition: FlatRecoTree.h:121
TBranch * b_Event
Definition: TreeReader.h:54
vector< float > * fVtxCovar32
Definition: FlatRecoTree.h:217
TBranch * b_CalClustEllip
Definition: FlatRecoTree.h:372
vector< float > * fCalClustPhi
intrasic direction of the cluster phi
Definition: FlatRecoTree.h:235
vector< float > * fTrkCovMat15End
Definition: FlatRecoTree.h:168
vector< int > * fTrkChgFwd
Definition: FlatRecoTree.h:172
vector< float > * fCalClustEigen2Z
Definition: FlatRecoTree.h:241
vector< float > * fVeeVtxCovar22
Definition: FlatRecoTree.h:185
vector< float > * fTrkCovMat13Beg
Definition: FlatRecoTree.h:151
TBranch * b_TrkCovMat12End
Definition: FlatRecoTree.h:318
TBranch * b_TrkCovMat1Beg
Definition: FlatRecoTree.h:292
vector< float > * fVeePzLamb2
Definition: FlatRecoTree.h:201
vector< float > * fTrkCovMat2Beg
Definition: FlatRecoTree.h:140
vector< float > * fTrackLambEnd
Track lambda (par[4]) at end of track [rad].
Definition: FlatRecoTree.h:138
TBranch * b_CalClustEigen3X
Definition: FlatRecoTree.h:386
vector< float > * fTrkCovMat12Beg
Definition: FlatRecoTree.h:150
vector< float > * fTrkCovMat1End
covariance matrix at end of track – assuming symmetry
Definition: FlatRecoTree.h:154
TBranch * b_TrkCovMat15End
Definition: FlatRecoTree.h:321
vector< float > * fVeeVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:177
TBranch * b_CalClusterTrackIndices
Definition: RecoTree.h:117
vector< float > * fVtxCovar23
Definition: FlatRecoTree.h:215
vector< float > * fVeeVtxCovar32
Definition: FlatRecoTree.h:188
TBranch * b_TrkCovMat6End
Definition: FlatRecoTree.h:312
vector< float > * fTrackCurvBeg
Track curvature (par[2]) at beginning of track [cm^-1].
Definition: FlatRecoTree.h:130
vector< float > * fTrkCovMat14Beg
Definition: FlatRecoTree.h:152
TBranch * b_CalClustEigen1Y
Definition: FlatRecoTree.h:381
TBranch * b_TrkCovMat3Beg
Definition: FlatRecoTree.h:294
vector< float > * fVeeVtxCovar33
Definition: FlatRecoTree.h:189
vector< float > * fTrkCovMat2End
Definition: FlatRecoTree.h:155
TBranch * b_CalClustEigen2Z
Definition: FlatRecoTree.h:385
vector< float > * fTrkMomBeg
momentum of the track at the vertex in GeV/c
Definition: FlatRecoTree.h:106
vector< float > * fCalClustEnergy
energy of the ECal cluster [GeV]
Definition: FlatRecoTree.h:225
TBranch * b_TrkCovMat13Beg
Definition: FlatRecoTree.h:304
TBranch * b_VeeVtxCovar33
Definition: FlatRecoTree.h:335
TBranch * b_VeeVtxCovar32
Definition: FlatRecoTree.h:334
vector< float > * fVeePxKshort
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:191
TBranch * b_TrackG4PIndices
Definition: FlatRecoTree.h:390
TBranch * b_VeeVtxCovar22
Definition: FlatRecoTree.h:331
TBranch * b_TrkCovMat14End
Definition: FlatRecoTree.h:320
vector< float > * fVeeVtxCovar21
Definition: FlatRecoTree.h:184
vector< float > * fVtxCovar12
Definition: FlatRecoTree.h:211
vector< float > * fVtxCovar22
Definition: FlatRecoTree.h:214
TBranch * b_TrkCovMat3End
Definition: FlatRecoTree.h:309
vector< float > * fCalClustT
time of the cluster [ns]
Definition: FlatRecoTree.h:224
TBranch * b_CalClustWidth
Definition: FlatRecoTree.h:377
TBranch * b_TrkCovMat8End
Definition: FlatRecoTree.h:314
vector< float > * fVeeVtxCovar23
Definition: FlatRecoTree.h:186
vector< float > * fVeeVtxCovar12
Definition: FlatRecoTree.h:182
vector< float > * fTrackZBeg
Track z-coord (par[1]) at beginning of track [cm].
Definition: FlatRecoTree.h:129
vector< float > * fCalClustEnergyError
uncertainty of the cluster energy [GeV]
Definition: FlatRecoTree.h:226
vector< float > * fVeePyKshort
Definition: FlatRecoTree.h:192
TBranch * b_VertTrackIndices
Definition: FlatRecoTree.h:391
Int_t fEvent
event number for tree entry
Definition: TreeReader.h:55
vector< float > * fTrkCovMat11End
Definition: FlatRecoTree.h:164
vector< float > * fTrackLambBeg
Track lambda (par[4]) at beginning of track [rad].
Definition: FlatRecoTree.h:132
TBranch * b_VeeTrackIndices
Definition: FlatRecoTree.h:392
vector< float > * fCalClustEigen1Y
Definition: FlatRecoTree.h:237
TBranch * b_VeeTrackEnds
Definition: FlatRecoTree.h:396
vector< float > * fVeeChisqr
chi-squared
Definition: FlatRecoTree.h:203
vector< float > * fVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:210
vector< float > * fCalClustVol
cluster shape parameter volume
Definition: FlatRecoTree.h:232
vector< float > * fTrkCovMat6End
Definition: FlatRecoTree.h:159
vector< float > * fVeePyLamb1
Definition: FlatRecoTree.h:196
vector< float > * fCalClustY
y-position of the cluster [cm]
Definition: FlatRecoTree.h:222
TBranch * b_TrkCovMat2End
Definition: FlatRecoTree.h:308
TBranch * b_TrkCovMat9Beg
Definition: FlatRecoTree.h:300
QTextStream & endl(QTextStream &s)
vector< float > * fVeeVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:180
TBranch * b_CalClusterG4Indices
Definition: RecoTree.h:118
TBranch * b_TrkCovMat13End
Definition: FlatRecoTree.h:319
TBranch * b_TrkCovMat8Beg
Definition: FlatRecoTree.h:299
vector< vector< Int_t > > * fVertTrackEnds
Definition: FlatRecoTree.h:252
vector< float > * fTrkEndT
Definition: FlatRecoTree.h:115
vector< float > * fCalClustR1
cluster shape parameter r1
Definition: FlatRecoTree.h:229
vector< float > * fVtxCovar33
Definition: FlatRecoTree.h:218
vector< float > * fVeePyLamb2
Definition: FlatRecoTree.h:200
void FlatRecoTree::SetVecs ( )
protected

Definition at line 353 of file FlatRecoTree.cxx.

353  {
354 
355  fTrkLenFwd = new vector<float>();
356  fTrkLenBac = new vector<float>();
357  fTrkMomBeg = new vector<float>();
358  fTrkMomEnd = new vector<float>();
359  fTrkVtxX = new vector<float>();
360  fTrkVtxY = new vector<float>();
361  fTrkVtxZ = new vector<float>();
362  fTrkVtxT = new vector<float>();
363  fTrkEndX = new vector<float>();
364  fTrkEndY = new vector<float>();
365  fTrkEndZ = new vector<float>();
366  fTrkEndT = new vector<float>();
367 
368  fTrkVtxDirX = new vector<float>();
369  fTrkVtxDirY = new vector<float>();
370  fTrkVtxDirZ = new vector<float>();
371  fTrkEndDirX = new vector<float>();
372  fTrkEndDirY = new vector<float>();
373  fTrkEndDirZ = new vector<float>();
374  fTrkChiFwd = new vector<float>();
375  fTrkChiBac = new vector<float>();
376  fTrkNHits = new vector<size_t>();
377 
378  fTrackXBeg = new vector<float>();
379  fTrackYBeg = new vector<float>();
380  fTrackZBeg = new vector<float>();
381  fTrackCurvBeg = new vector<float>();
382  fTrackPhiBeg = new vector<float>();
383  fTrackLambBeg = new vector<float>();
384  fTrackXEnd = new vector<float>();
385  fTrackYEnd = new vector<float>();
386  fTrackZEnd = new vector<float>();
387  fTrackCurvEnd = new vector<float>();
388  fTrackPhiEnd = new vector<float>();
389  fTrackLambEnd = new vector<float>();
390  fTrkCovMat1Beg = new vector<float>();
391  fTrkCovMat2Beg = new vector<float>();
392  fTrkCovMat3Beg = new vector<float>();
393  fTrkCovMat4Beg = new vector<float>();
394  fTrkCovMat5Beg = new vector<float>();
395  fTrkCovMat6Beg = new vector<float>();
396  fTrkCovMat7Beg = new vector<float>();
397  fTrkCovMat8Beg = new vector<float>();
398  fTrkCovMat9Beg = new vector<float>();
399  fTrkCovMat10Beg = new vector<float>();
400  fTrkCovMat11Beg = new vector<float>();
401  fTrkCovMat12Beg = new vector<float>();
402  fTrkCovMat13Beg = new vector<float>();
403  fTrkCovMat14Beg = new vector<float>();
404  fTrkCovMat15Beg = new vector<float>();
405  fTrkCovMat1End = new vector<float>();
406  fTrkCovMat2End = new vector<float>();
407  fTrkCovMat3End = new vector<float>();
408  fTrkCovMat4End = new vector<float>();
409  fTrkCovMat5End = new vector<float>();
410  fTrkCovMat6End = new vector<float>();
411  fTrkCovMat7End = new vector<float>();
412  fTrkCovMat8End = new vector<float>();
413  fTrkCovMat9End = new vector<float>();
414  fTrkCovMat10End = new vector<float>();
415  fTrkCovMat11End = new vector<float>();
416  fTrkCovMat12End = new vector<float>();
417  fTrkCovMat13End = new vector<float>();
418  fTrkCovMat14End = new vector<float>();
419  fTrkCovMat15End = new vector<float>();
420 
421  fTrkIonizFwd = new vector<float>();
422  fTrkIonizBac = new vector<float>();
423  fTrkChgFwd = new vector<int>();
424  fTrkChgBac = new vector<int>();
425 
426  fVeeVtxX = new vector<float>();
427  fVeeVtxY = new vector<float>();
428  fVeeVtxZ = new vector<float>();
429  fVeeVtxT = new vector<float>();
430  fVeeVtxCovar11 = new vector<float>();
431  fVeeVtxCovar12 = new vector<float>();
432  fVeeVtxCovar13 = new vector<float>();
433  fVeeVtxCovar21 = new vector<float>();
434  fVeeVtxCovar22 = new vector<float>();
435  fVeeVtxCovar23 = new vector<float>();
436  fVeeVtxCovar31 = new vector<float>();
437  fVeeVtxCovar32 = new vector<float>();
438  fVeeVtxCovar33 = new vector<float>();
439 
440  fVeePxKshort = new vector<float>();
441  fVeePyKshort = new vector<float>();
442  fVeePzKshort = new vector<float>();
443  fVeeEKshort = new vector<float>();
444  fVeePxLamb1 = new vector<float>();
445  fVeePyLamb1 = new vector<float>();
446  fVeePzLamb1 = new vector<float>();
447  fVeeELamb1 = new vector<float>();
448  fVeePxLamb2 = new vector<float>();
449  fVeePyLamb2 = new vector<float>();
450  fVeePzLamb2 = new vector<float>();
451  fVeeELamb2 = new vector<float>();
452  fVeeChisqr = new vector<float>();
453 
454  fVtxX = new vector<float>();
455  fVtxY = new vector<float>();
456  fVtxZ = new vector<float>();
457  fVtxT = new vector<float>();
458  fVtxCovar11 = new vector<float>();
459  fVtxCovar12 = new vector<float>();
460  fVtxCovar13 = new vector<float>();
461  fVtxCovar21 = new vector<float>();
462  fVtxCovar22 = new vector<float>();
463  fVtxCovar23 = new vector<float>();
464  fVtxCovar31 = new vector<float>();
465  fVtxCovar32 = new vector<float>();
466  fVtxCovar33 = new vector<float>();
467 
468  fCalClustX = new vector<float>();
469  fCalClustY = new vector<float>();
470  fCalClustZ = new vector<float>();
471  fCalClustT = new vector<float>();
472  fCalClustEnergy = new vector<float>();
473  fCalClustEnergyError = new vector<float>();
474  fCalClustTdiff = new vector<float>();
475  fCalClustEllip = new vector<float>();
476  fCalClustR1 = new vector<float>();
477  fCalClustR2 = new vector<float>();
478  fCalClustR3 = new vector<float>();
479  fCalClustVol = new vector<float>();
480  fCalClustWidth = new vector<float>();
481  fCalClustTheta = new vector<float>();
482  fCalClustPhi = new vector<float>();
483  fCalClustEigen1X = new vector<float>();
484  fCalClustEigen1Y = new vector<float>();
485  fCalClustEigen1Z = new vector<float>();
486  fCalClustEigen2X = new vector<float>();
487  fCalClustEigen2Y = new vector<float>();
488  fCalClustEigen2Z = new vector<float>();
489  fCalClustEigen3X = new vector<float>();
490  fCalClustEigen3Y = new vector<float>();
491  fCalClustEigen3Z = new vector<float>();
492 
493  fTrackG4PIndices = new vector<vector<UInt_t>>();
494  fVertTrackIndices = new vector<vector<UInt_t>>();
495  fVeeTrackIndices = new vector<vector<UInt_t>>();
496  fCalTrackIndices = new vector<vector<UInt_t>>();
497 
498  fVertTrackEnds = new vector<vector<Int_t>>();
499  fVeeTrackEnds = new vector<vector<Int_t>>();
500 
501  }
vector< float > * fTrkVtxDirZ
Definition: FlatRecoTree.h:119
vector< float > * fTrkLenBac
length of the track in cm from backwards fit
Definition: FlatRecoTree.h:105
vector< float > * fCalClustEigen1X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:236
vector< float > * fTrkCovMat8Beg
Definition: FlatRecoTree.h:146
vector< float > * fTrkIonizBac
Definition: FlatRecoTree.h:171
vector< float > * fTrkCovMat7End
Definition: FlatRecoTree.h:160
vector< float > * fTrkVtxDirY
Definition: FlatRecoTree.h:118
vector< float > * fVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:207
vector< float > * fTrackPhiBeg
Track phi (par[3]) at beginning of track [rad].
Definition: FlatRecoTree.h:131
vector< vector< UInt_t > > * fCalTrackIndices
Definition: FlatRecoTree.h:250
vector< float > * fVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:208
vector< float > * fVtxCovar31
Definition: FlatRecoTree.h:216
vector< float > * fCalClustZ
z-position of the cluster [cm]
Definition: FlatRecoTree.h:223
vector< size_t > * fTrkNHits
number of hits
Definition: FlatRecoTree.h:125
vector< float > * fCalClustEigen3X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:242
vector< float > * fTrkCovMat10Beg
Definition: FlatRecoTree.h:148
vector< float > * fCalClustEigen2X
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
Definition: FlatRecoTree.h:239
vector< float > * fVeeVtxZ
z-position of vertex [cm]
Definition: FlatRecoTree.h:179
vector< float > * fTrkCovMat1Beg
covariance matrix at beginning of track – assuming symmetry
Definition: FlatRecoTree.h:139
vector< float > * fCalClustR3
cluster shape parameter r3
Definition: FlatRecoTree.h:231
vector< float > * fTrkVtxZ
Definition: FlatRecoTree.h:110
vector< float > * fVeeEKshort
Definition: FlatRecoTree.h:194
vector< float > * fTrkChiFwd
chisquared forward fit
Definition: FlatRecoTree.h:123
vector< float > * fTrkCovMat3Beg
Definition: FlatRecoTree.h:141
vector< float > * fCalClustEigen3Y
Definition: FlatRecoTree.h:243
vector< float > * fVeePzLamb1
Definition: FlatRecoTree.h:197
vector< float > * fTrackYEnd
Track y-coord (par[0]) at end of track [cm].
Definition: FlatRecoTree.h:134
vector< float > * fTrkVtxY
Definition: FlatRecoTree.h:109
vector< float > * fTrkVtxX
track vertex position 4-vector cm,ns
Definition: FlatRecoTree.h:108
vector< int > * fTrkChgBac
Definition: FlatRecoTree.h:173
vector< vector< UInt_t > > * fVeeTrackIndices
Definition: FlatRecoTree.h:249
vector< float > * fTrkCovMat14End
Definition: FlatRecoTree.h:167
vector< float > * fTrackXBeg
Track x-coord at beginning of track [cm].
Definition: FlatRecoTree.h:127
vector< float > * fTrkVtxT
Definition: FlatRecoTree.h:111
vector< float > * fVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:206
vector< float > * fTrkCovMat10End
Definition: FlatRecoTree.h:163
vector< float > * fTrkCovMat4Beg
Definition: FlatRecoTree.h:142
vector< float > * fCalClustX
x-position of the cluster [cm]
Definition: FlatRecoTree.h:221
vector< float > * fTrkEndY
Definition: FlatRecoTree.h:113
vector< float > * fCalClustEllip
cluster shape parameter ellipsoid
Definition: FlatRecoTree.h:228
vector< float > * fVtxCovar21
Definition: FlatRecoTree.h:213
vector< vector< Int_t > > * fVeeTrackEnds
Definition: FlatRecoTree.h:253
vector< float > * fVeeVtxY
y-position of vertex [cm]
Definition: FlatRecoTree.h:178
vector< float > * fTrkEndDirX
track end direction
Definition: FlatRecoTree.h:120
vector< float > * fVeeELamb1
Definition: FlatRecoTree.h:198
vector< float > * fTrkCovMat7Beg
Definition: FlatRecoTree.h:145
vector< float > * fVeePxLamb1
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:195
vector< float > * fVeeVtxCovar31
Definition: FlatRecoTree.h:187
vector< float > * fTrkCovMat4End
Definition: FlatRecoTree.h:157
vector< float > * fTrkCovMat9End
Definition: FlatRecoTree.h:162
vector< float > * fTrkChiBac
chisquared backward fit
Definition: FlatRecoTree.h:124
vector< float > * fTrkCovMat15Beg
Definition: FlatRecoTree.h:153
vector< float > * fTrkCovMat12End
Definition: FlatRecoTree.h:165
vector< float > * fCalClustEigen1Z
Definition: FlatRecoTree.h:238
vector< float > * fTrkVtxDirX
track vertex direction
Definition: FlatRecoTree.h:117
vector< float > * fCalClustTheta
intrasic direction of the cluster theta
Definition: FlatRecoTree.h:234
vector< float > * fTrkMomEnd
momentum of the track at the end in GeV/c
Definition: FlatRecoTree.h:107
vector< float > * fVeeELamb2
Definition: FlatRecoTree.h:202
vector< float > * fTrkCovMat11Beg
Definition: FlatRecoTree.h:149
vector< float > * fCalClustEigen2Y
Definition: FlatRecoTree.h:240
vector< float > * fTrkCovMat9Beg
Definition: FlatRecoTree.h:147
vector< float > * fTrackPhiEnd
Track phi (par[3]) at end of track [rad].
Definition: FlatRecoTree.h:137
vector< float > * fTrkCovMat13End
Definition: FlatRecoTree.h:166
vector< float > * fTrkLenFwd
length of the track in cm from forwards fit
Definition: FlatRecoTree.h:104
vector< float > * fTrkCovMat5End
Definition: FlatRecoTree.h:158
vector< float > * fTrkCovMat8End
Definition: FlatRecoTree.h:161
vector< vector< UInt_t > > * fVertTrackIndices
Definition: FlatRecoTree.h:248
vector< float > * fVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:209
vector< float > * fVtxCovar13
Definition: FlatRecoTree.h:212
vector< float > * fTrkEndX
track end position 4-vector cm,ns
Definition: FlatRecoTree.h:112
vector< float > * fTrackZEnd
Track z-coord (par[1]) at end of track [cm].
Definition: FlatRecoTree.h:135
vector< float > * fVeeVtxCovar13
Definition: FlatRecoTree.h:183
vector< float > * fTrkCovMat5Beg
Definition: FlatRecoTree.h:143
vector< float > * fTrkEndDirZ
Definition: FlatRecoTree.h:122
vector< float > * fTrackXEnd
Track x-coord at end of track [cm].
Definition: FlatRecoTree.h:133
vector< float > * fCalClustTdiff
time difference between the first and last layer of the cluster [ns]
Definition: FlatRecoTree.h:227
vector< float > * fTrackCurvEnd
Track curvature (par[2]) at end of track [cm^-1].
Definition: FlatRecoTree.h:136
vector< float > * fTrackYBeg
Track y-coord (par[0]) at beginning of track [cm].
Definition: FlatRecoTree.h:128
vector< float > * fTrkCovMat3End
Definition: FlatRecoTree.h:156
vector< float > * fCalClustEigen3Z
Definition: FlatRecoTree.h:244
vector< float > * fTrkCovMat6Beg
Definition: FlatRecoTree.h:144
vector< float > * fVeeVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:181
vector< float > * fCalClustWidth
cluster shape parameter width
Definition: FlatRecoTree.h:233
vector< float > * fVeePzKshort
Definition: FlatRecoTree.h:193
vector< vector< UInt_t > > * fTrackG4PIndices
Definition: FlatRecoTree.h:247
vector< float > * fCalClustR2
cluster shape parameter r2
Definition: FlatRecoTree.h:230
vector< float > * fVeePxLamb2
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:199
vector< float > * fTrkIonizFwd
Definition: FlatRecoTree.h:170
vector< float > * fTrkEndZ
Definition: FlatRecoTree.h:114
vector< float > * fTrkEndDirY
Definition: FlatRecoTree.h:121
vector< float > * fVtxCovar32
Definition: FlatRecoTree.h:217
vector< float > * fCalClustPhi
intrasic direction of the cluster phi
Definition: FlatRecoTree.h:235
vector< float > * fTrkCovMat15End
Definition: FlatRecoTree.h:168
vector< int > * fTrkChgFwd
Definition: FlatRecoTree.h:172
vector< float > * fCalClustEigen2Z
Definition: FlatRecoTree.h:241
vector< float > * fVeeVtxCovar22
Definition: FlatRecoTree.h:185
vector< float > * fTrkCovMat13Beg
Definition: FlatRecoTree.h:151
vector< float > * fVeePzLamb2
Definition: FlatRecoTree.h:201
vector< float > * fTrkCovMat2Beg
Definition: FlatRecoTree.h:140
vector< float > * fTrackLambEnd
Track lambda (par[4]) at end of track [rad].
Definition: FlatRecoTree.h:138
vector< float > * fTrkCovMat12Beg
Definition: FlatRecoTree.h:150
vector< float > * fTrkCovMat1End
covariance matrix at end of track – assuming symmetry
Definition: FlatRecoTree.h:154
vector< float > * fVeeVtxX
x-position of vertex [cm]
Definition: FlatRecoTree.h:177
vector< float > * fVtxCovar23
Definition: FlatRecoTree.h:215
vector< float > * fVeeVtxCovar32
Definition: FlatRecoTree.h:188
vector< float > * fTrackCurvBeg
Track curvature (par[2]) at beginning of track [cm^-1].
Definition: FlatRecoTree.h:130
vector< float > * fTrkCovMat14Beg
Definition: FlatRecoTree.h:152
vector< float > * fVeeVtxCovar33
Definition: FlatRecoTree.h:189
vector< float > * fTrkCovMat2End
Definition: FlatRecoTree.h:155
vector< float > * fTrkMomBeg
momentum of the track at the vertex in GeV/c
Definition: FlatRecoTree.h:106
vector< float > * fCalClustEnergy
energy of the ECal cluster [GeV]
Definition: FlatRecoTree.h:225
vector< float > * fVeePxKshort
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:191
vector< float > * fVeeVtxCovar21
Definition: FlatRecoTree.h:184
vector< float > * fVtxCovar12
Definition: FlatRecoTree.h:211
vector< float > * fVtxCovar22
Definition: FlatRecoTree.h:214
vector< float > * fCalClustT
time of the cluster [ns]
Definition: FlatRecoTree.h:224
vector< float > * fVeeVtxCovar23
Definition: FlatRecoTree.h:186
vector< float > * fVeeVtxCovar12
Definition: FlatRecoTree.h:182
vector< float > * fTrackZBeg
Track z-coord (par[1]) at beginning of track [cm].
Definition: FlatRecoTree.h:129
vector< float > * fCalClustEnergyError
uncertainty of the cluster energy [GeV]
Definition: FlatRecoTree.h:226
vector< float > * fVeePyKshort
Definition: FlatRecoTree.h:192
vector< float > * fTrkCovMat11End
Definition: FlatRecoTree.h:164
vector< float > * fTrackLambBeg
Track lambda (par[4]) at beginning of track [rad].
Definition: FlatRecoTree.h:132
vector< float > * fCalClustEigen1Y
Definition: FlatRecoTree.h:237
vector< float > * fVeeChisqr
chi-squared
Definition: FlatRecoTree.h:203
vector< float > * fVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:210
vector< float > * fCalClustVol
cluster shape parameter volume
Definition: FlatRecoTree.h:232
vector< float > * fTrkCovMat6End
Definition: FlatRecoTree.h:159
vector< float > * fVeePyLamb1
Definition: FlatRecoTree.h:196
vector< float > * fCalClustY
y-position of the cluster [cm]
Definition: FlatRecoTree.h:222
vector< float > * fVeeVtxT
time of vertex [ns]
Definition: FlatRecoTree.h:180
vector< vector< Int_t > > * fVertTrackEnds
Definition: FlatRecoTree.h:252
vector< float > * fTrkEndT
Definition: FlatRecoTree.h:115
vector< float > * fCalClustR1
cluster shape parameter r1
Definition: FlatRecoTree.h:229
vector< float > * fVtxCovar33
Definition: FlatRecoTree.h:218
vector< float > * fVeePyLamb2
Definition: FlatRecoTree.h:200
const int FlatRecoTree::TrackChgBkd ( const size_t &  itrack) const
overridevirtual

charge sign of track if current hypothesis wrong

Implements garana::RecoTree.

Definition at line 760 of file FlatRecoTree.cxx.

760  {
761  return fTrkChgBac->at(itrack);
762  }
vector< int > * fTrkChgBac
Definition: FlatRecoTree.h:173
const int FlatRecoTree::TrackChgFwd ( const size_t &  itrack) const
overridevirtual

charge sign of track if current hypothesis correct

Implements garana::RecoTree.

Definition at line 756 of file FlatRecoTree.cxx.

756  {
757  return fTrkChgFwd->at(itrack);
758  }
vector< int > * fTrkChgFwd
Definition: FlatRecoTree.h:172
const int FlatRecoTree::TrackChiSqrBkd ( const size_t &  itrack) const
overridevirtual

chi-squared of track fit in backward direction

Implements garana::RecoTree.

Definition at line 752 of file FlatRecoTree.cxx.

752  {
753  return fTrkChiBac->at(itrack);
754  }
vector< float > * fTrkChiBac
chisquared backward fit
Definition: FlatRecoTree.h:124
const int FlatRecoTree::TrackChiSqrFwd ( const size_t &  itrack) const
overridevirtual

chi-squared of track fit in forward direction

Implements garana::RecoTree.

Definition at line 748 of file FlatRecoTree.cxx.

748  {
749  return fTrkChiFwd->at(itrack);
750  }
vector< float > * fTrkChiFwd
chisquared forward fit
Definition: FlatRecoTree.h:123
void FlatRecoTree::TrackCovarBeg ( const size_t &  itrack,
float  pars[15] 
) const
overridevirtual

track fit covariance matrix (assume symmetry) at track's assumed start

Implements garana::RecoTree.

Definition at line 783 of file FlatRecoTree.cxx.

783  {
784 
785  covar[0] = fTrkCovMat1Beg->at(itrack);
786  covar[1] = fTrkCovMat2Beg->at(itrack);
787  covar[2] = fTrkCovMat3Beg->at(itrack);
788  covar[3] = fTrkCovMat4Beg->at(itrack);
789  covar[4] = fTrkCovMat5Beg->at(itrack);
790  covar[5] = fTrkCovMat6Beg->at(itrack);
791  covar[6] = fTrkCovMat7Beg->at(itrack);
792  covar[7] = fTrkCovMat8Beg->at(itrack);
793  covar[8] = fTrkCovMat9Beg->at(itrack);
794  covar[9] = fTrkCovMat10Beg->at(itrack);
795  covar[10] = fTrkCovMat11Beg->at(itrack);
796  covar[11] = fTrkCovMat12Beg->at(itrack);
797  covar[12] = fTrkCovMat13Beg->at(itrack);
798  covar[13] = fTrkCovMat14Beg->at(itrack);
799  covar[14] = fTrkCovMat15Beg->at(itrack);
800  }
vector< float > * fTrkCovMat8Beg
Definition: FlatRecoTree.h:146
vector< float > * fTrkCovMat10Beg
Definition: FlatRecoTree.h:148
vector< float > * fTrkCovMat1Beg
covariance matrix at beginning of track – assuming symmetry
Definition: FlatRecoTree.h:139
vector< float > * fTrkCovMat3Beg
Definition: FlatRecoTree.h:141
vector< float > * fTrkCovMat4Beg
Definition: FlatRecoTree.h:142
vector< float > * fTrkCovMat7Beg
Definition: FlatRecoTree.h:145
vector< float > * fTrkCovMat15Beg
Definition: FlatRecoTree.h:153
vector< float > * fTrkCovMat11Beg
Definition: FlatRecoTree.h:149
vector< float > * fTrkCovMat9Beg
Definition: FlatRecoTree.h:147
vector< float > * fTrkCovMat5Beg
Definition: FlatRecoTree.h:143
vector< float > * fTrkCovMat6Beg
Definition: FlatRecoTree.h:144
vector< float > * fTrkCovMat13Beg
Definition: FlatRecoTree.h:151
vector< float > * fTrkCovMat2Beg
Definition: FlatRecoTree.h:140
vector< float > * fTrkCovMat12Beg
Definition: FlatRecoTree.h:150
vector< float > * fTrkCovMat14Beg
Definition: FlatRecoTree.h:152
void FlatRecoTree::TrackCovarEnd ( const size_t &  itrack,
float  pars[15] 
) const
overridevirtual

track fit covariance matrix (assume symmetry) at track's assumed end

Implements garana::RecoTree.

Definition at line 802 of file FlatRecoTree.cxx.

802  {
803 
804  covar[0] = fTrkCovMat1End->at(itrack);
805  covar[1] = fTrkCovMat2End->at(itrack);
806  covar[2] = fTrkCovMat3End->at(itrack);
807  covar[3] = fTrkCovMat4End->at(itrack);
808  covar[4] = fTrkCovMat5End->at(itrack);
809  covar[5] = fTrkCovMat6End->at(itrack);
810  covar[6] = fTrkCovMat7End->at(itrack);
811  covar[7] = fTrkCovMat8End->at(itrack);
812  covar[8] = fTrkCovMat9End->at(itrack);
813  covar[9] = fTrkCovMat10End->at(itrack);
814  covar[10] = fTrkCovMat11End->at(itrack);
815  covar[11] = fTrkCovMat12End->at(itrack);
816  covar[12] = fTrkCovMat13End->at(itrack);
817  covar[13] = fTrkCovMat14End->at(itrack);
818  covar[14] = fTrkCovMat15End->at(itrack);
819  }
vector< float > * fTrkCovMat7End
Definition: FlatRecoTree.h:160
vector< float > * fTrkCovMat14End
Definition: FlatRecoTree.h:167
vector< float > * fTrkCovMat10End
Definition: FlatRecoTree.h:163
vector< float > * fTrkCovMat4End
Definition: FlatRecoTree.h:157
vector< float > * fTrkCovMat9End
Definition: FlatRecoTree.h:162
vector< float > * fTrkCovMat12End
Definition: FlatRecoTree.h:165
vector< float > * fTrkCovMat13End
Definition: FlatRecoTree.h:166
vector< float > * fTrkCovMat5End
Definition: FlatRecoTree.h:158
vector< float > * fTrkCovMat8End
Definition: FlatRecoTree.h:161
vector< float > * fTrkCovMat3End
Definition: FlatRecoTree.h:156
vector< float > * fTrkCovMat15End
Definition: FlatRecoTree.h:168
vector< float > * fTrkCovMat1End
covariance matrix at end of track – assuming symmetry
Definition: FlatRecoTree.h:154
vector< float > * fTrkCovMat2End
Definition: FlatRecoTree.h:155
vector< float > * fTrkCovMat11End
Definition: FlatRecoTree.h:164
vector< float > * fTrkCovMat6End
Definition: FlatRecoTree.h:159
const TLorentzVector * FlatRecoTree::TrackEnd ( const size_t &  itrack) const
overridevirtual

4-position of track's assumed end point

Implements garana::RecoTree.

Definition at line 679 of file FlatRecoTree.cxx.

679  {
680  TLorentzVector* v = new TLorentzVector(fTrkEndX->at(itrack),
681  fTrkEndY->at(itrack),
682  fTrkEndZ->at(itrack),
683  fTrkEndT->at(itrack) );
684  return v;
685  }
vector< float > * fTrkEndY
Definition: FlatRecoTree.h:113
vector< float > * fTrkEndX
track end position 4-vector cm,ns
Definition: FlatRecoTree.h:112
vector< float > * fTrkEndZ
Definition: FlatRecoTree.h:114
vector< float > * fTrkEndT
Definition: FlatRecoTree.h:115
const float FlatRecoTree::TrackEndDirectionX ( const size_t &  itrack) const
overridevirtual

x-direction cosine at track end

Implements garana::RecoTree.

Definition at line 720 of file FlatRecoTree.cxx.

720  {
721  return fTrkEndDirX->at(itrack);
722  }
vector< float > * fTrkEndDirX
track end direction
Definition: FlatRecoTree.h:120
const float FlatRecoTree::TrackEndDirectionY ( const size_t &  itrack) const
overridevirtual

y-direction cosine at track end

Implements garana::RecoTree.

Definition at line 724 of file FlatRecoTree.cxx.

724  {
725  return fTrkEndDirY->at(itrack);
726  }
vector< float > * fTrkEndDirY
Definition: FlatRecoTree.h:121
const float FlatRecoTree::TrackEndDirectionZ ( const size_t &  itrack) const
overridevirtual

z-direction cosine at track end

Implements garana::RecoTree.

Definition at line 728 of file FlatRecoTree.cxx.

728  {
729  return fTrkEndDirZ->at(itrack);
730  }
vector< float > * fTrkEndDirZ
Definition: FlatRecoTree.h:122
const float FlatRecoTree::TrackIonizBkd ( const size_t &  itrack) const
overridevirtual

track average ionization rate from backward fit

Implements garana::RecoTree.

Definition at line 744 of file FlatRecoTree.cxx.

744  {
745  return fTrkIonizBac->at(itrack);
746  }
vector< float > * fTrkIonizBac
Definition: FlatRecoTree.h:171
const float FlatRecoTree::TrackIonizFwd ( const size_t &  itrack) const
overridevirtual

track average ionization rate from forward fit

Implements garana::RecoTree.

Definition at line 740 of file FlatRecoTree.cxx.

740  {
741  return fTrkIonizFwd->at(itrack);
742  }
vector< float > * fTrkIonizFwd
Definition: FlatRecoTree.h:170
const float FlatRecoTree::TrackLenBkd ( const size_t &  itrack) const
overridevirtual

track length from backward fit

Implements garana::RecoTree.

Definition at line 736 of file FlatRecoTree.cxx.

736  {
737  return fTrkLenBac->at(itrack);
738  }
vector< float > * fTrkLenBac
length of the track in cm from backwards fit
Definition: FlatRecoTree.h:105
const float FlatRecoTree::TrackLenFwd ( const size_t &  itrack) const
overridevirtual

track length from forward fit

Implements garana::RecoTree.

Definition at line 732 of file FlatRecoTree.cxx.

732  {
733  return fTrkLenFwd->at(itrack);
734  }
vector< float > * fTrkLenFwd
length of the track in cm from forwards fit
Definition: FlatRecoTree.h:104
const float FlatRecoTree::TrackMaxDeposit ( const size_t &  itrack) const
overridevirtual

maximum true deposited energy from a single MCParticle

Implements garana::RecoTree.

Definition at line 846 of file FlatRecoTree.cxx.

846 { return itrack*0+FLT_MAX;}
const TVector3 * FlatRecoTree::TrackMomBeg ( const size_t &  itrack) const
overridevirtual

momentum 3-vector as track's assumed start point

Implements garana::RecoTree.

Definition at line 691 of file FlatRecoTree.cxx.

691  {
692  TVector3* v = new TVector3(fTrkVtxDirX->at(itrack),
693  fTrkVtxDirX->at(itrack),
694  fTrkVtxDirX->at(itrack) );
695  (*v) *= fTrkMomBeg->at(itrack);
696  return v; //*fTrkMomBeg->at(itrack);
697 
698  }
vector< float > * fTrkVtxDirX
track vertex direction
Definition: FlatRecoTree.h:117
vector< float > * fTrkMomBeg
momentum of the track at the vertex in GeV/c
Definition: FlatRecoTree.h:106
const TVector3 * FlatRecoTree::TrackMomEnd ( const size_t &  itrack) const
overridevirtual

momentum 3-vector as track's assumed end point

Implements garana::RecoTree.

Definition at line 700 of file FlatRecoTree.cxx.

700  {
701  TVector3* v = new TVector3(fTrkEndDirX->at(itrack),
702  fTrkEndDirX->at(itrack),
703  fTrkEndDirX->at(itrack) );
704  (*v) *= fTrkMomEnd->at(itrack);
705  return v;//*fTrkMomEnd->at(itrack);
706  }
vector< float > * fTrkEndDirX
track end direction
Definition: FlatRecoTree.h:120
vector< float > * fTrkMomEnd
momentum of the track at the end in GeV/c
Definition: FlatRecoTree.h:107
const size_t FlatRecoTree::TrackNTrueTrack ( const size_t &  itrack) const
overridevirtual

number of MCParticles associated with ith cluster

Implements garana::RecoTree.

Definition at line 844 of file FlatRecoTree.cxx.

844 {return itrack*0+UINT_MAX;}
void FlatRecoTree::TrackParBeg ( const size_t &  itrack,
float  pars[5] 
) const
overridevirtual

track fit parameters at the track's assumed start

Implements garana::RecoTree.

Definition at line 764 of file FlatRecoTree.cxx.

764  {
765 
766  pars[0] = fTrackXBeg ->at(itrack);
767  pars[1] = fTrackYBeg ->at(itrack);
768  pars[2] = fTrackZBeg ->at(itrack);
769  pars[3] = fTrackCurvBeg->at(itrack);
770  pars[4] = fTrackPhiBeg ->at(itrack);
771  pars[5] = fTrackLambBeg->at(itrack);
772  }
vector< float > * fTrackPhiBeg
Track phi (par[3]) at beginning of track [rad].
Definition: FlatRecoTree.h:131
vector< float > * fTrackXBeg
Track x-coord at beginning of track [cm].
Definition: FlatRecoTree.h:127
vector< float > * fTrackYBeg
Track y-coord (par[0]) at beginning of track [cm].
Definition: FlatRecoTree.h:128
vector< float > * fTrackCurvBeg
Track curvature (par[2]) at beginning of track [cm^-1].
Definition: FlatRecoTree.h:130
vector< float > * fTrackZBeg
Track z-coord (par[1]) at beginning of track [cm].
Definition: FlatRecoTree.h:129
vector< float > * fTrackLambBeg
Track lambda (par[4]) at beginning of track [rad].
Definition: FlatRecoTree.h:132
void FlatRecoTree::TrackParEnd ( const size_t &  itrack,
float  pars[5] 
) const
overridevirtual

track fit parameters at the track's assumed end

Implements garana::RecoTree.

Definition at line 774 of file FlatRecoTree.cxx.

774  {
775  pars[0] = fTrackXEnd ->at(itrack);
776  pars[1] = fTrackYEnd ->at(itrack);
777  pars[2] = fTrackZEnd ->at(itrack);
778  pars[3] = fTrackCurvEnd->at(itrack);
779  pars[4] = fTrackPhiEnd ->at(itrack);
780  pars[5] = fTrackLambEnd->at(itrack);
781  }
vector< float > * fTrackYEnd
Track y-coord (par[0]) at end of track [cm].
Definition: FlatRecoTree.h:134
vector< float > * fTrackPhiEnd
Track phi (par[3]) at end of track [rad].
Definition: FlatRecoTree.h:137
vector< float > * fTrackZEnd
Track z-coord (par[1]) at end of track [cm].
Definition: FlatRecoTree.h:135
vector< float > * fTrackXEnd
Track x-coord at end of track [cm].
Definition: FlatRecoTree.h:133
vector< float > * fTrackCurvEnd
Track curvature (par[2]) at end of track [cm^-1].
Definition: FlatRecoTree.h:136
vector< float > * fTrackLambEnd
Track lambda (par[4]) at end of track [rad].
Definition: FlatRecoTree.h:138
const int FlatRecoTree::TrackTrkIdMaxDeposit ( const size_t &  itrack) const
overridevirtual

trackID of the MCParticle depositing the most energy in ith cluster

Implements garana::RecoTree.

Definition at line 845 of file FlatRecoTree.cxx.

845 { return itrack*0+INT_MAX;}
const pair< int, float > * FlatRecoTree::TrackTrueDeposit ( const size_t &  itrack,
size_t &  itrue 
) const
overridevirtual

Implements garana::RecoTree.

Definition at line 847 of file FlatRecoTree.cxx.

847 { if(itrack&&itrue) return nullptr; else return nullptr;}
const vector< pair< int, float > > * FlatRecoTree::TrackTrueDeposits ( const size_t &  itrack) const
overridevirtual

Implements garana::RecoTree.

Definition at line 848 of file FlatRecoTree.cxx.

848 { if(itrack) return nullptr; else return nullptr;}
const float FlatRecoTree::TrackTrueEnergy ( const size_t &  itrack) const
overridevirtual

total associated true energy deposited with ith cluster

Implements garana::RecoTree.

Definition at line 843 of file FlatRecoTree.cxx.

843 { return itrack*0+FLT_MAX;}
const TLorentzVector * FlatRecoTree::TrackTrueMomBeg ( const size_t &  itrack) const
overridevirtual

true 4-momentum at track vertex [GeV/c,GeV]

Implements garana::RecoTree.

Definition at line 832 of file FlatRecoTree.cxx.

832  {
833  if(itrack)return 0;
834  else return 0;
835  }
const TLorentzVector * FlatRecoTree::TrackTrueMomEnd ( const size_t &  itrack) const
overridevirtual

true 4-momentum at track end [GeV/c,GeV]

Implements garana::RecoTree.

Definition at line 837 of file FlatRecoTree.cxx.

837  {
838  if(itrack)return 0;
839  else return 0;
840  }
const TLorentzVector * FlatRecoTree::TrackTruePosBeg ( const size_t &  itrack) const
overridevirtual

true 4-position at track vertex [cm,ns]

Implements garana::RecoTree.

Definition at line 822 of file FlatRecoTree.cxx.

822  {
823  if(itrack)return 0;
824  else return 0;
825  }
const TLorentzVector * FlatRecoTree::TrackTruePosEnd ( const size_t &  itrack) const
overridevirtual

true 4-position at track end [cm,ns]

Implements garana::RecoTree.

Definition at line 827 of file FlatRecoTree.cxx.

827  {
828  if(itrack)return 0;
829  else return 0;
830  }
const TLorentzVector * FlatRecoTree::TrackVertex ( const size_t &  itrack) const
overridevirtual

4-position of track's assumed start point

Implements garana::RecoTree.

Definition at line 671 of file FlatRecoTree.cxx.

671  {
672  TLorentzVector* v = new TLorentzVector(fTrkVtxX->at(itrack),
673  fTrkVtxY->at(itrack),
674  fTrkVtxZ->at(itrack),
675  fTrkVtxT->at(itrack) );
676  return v;
677  }
vector< float > * fTrkVtxZ
Definition: FlatRecoTree.h:110
vector< float > * fTrkVtxY
Definition: FlatRecoTree.h:109
vector< float > * fTrkVtxX
track vertex position 4-vector cm,ns
Definition: FlatRecoTree.h:108
vector< float > * fTrkVtxT
Definition: FlatRecoTree.h:111
const float FlatRecoTree::TrackVtxDirectionX ( const size_t &  itrack) const
overridevirtual

x-direction cosine at track vertex

Implements garana::RecoTree.

Definition at line 708 of file FlatRecoTree.cxx.

708  {
709  return fTrkVtxDirX->at(itrack);
710  }
vector< float > * fTrkVtxDirX
track vertex direction
Definition: FlatRecoTree.h:117
const float FlatRecoTree::TrackVtxDirectionY ( const size_t &  itrack) const
overridevirtual

y-direction cosine at track vertex

Implements garana::RecoTree.

Definition at line 712 of file FlatRecoTree.cxx.

712  {
713  return fTrkVtxDirY->at(itrack);
714  }
vector< float > * fTrkVtxDirY
Definition: FlatRecoTree.h:118
const float FlatRecoTree::TrackVtxDirectionZ ( const size_t &  itrack) const
overridevirtual

z-direction cosine at track vertex

Implements garana::RecoTree.

Definition at line 716 of file FlatRecoTree.cxx.

716  {
717  return fTrkVtxDirZ->at(itrack);
718  }
vector< float > * fTrkVtxDirZ
Definition: FlatRecoTree.h:119
const float FlatRecoTree::VeeChiSquared ( const size_t &  ivee) const
overridevirtual

Implements garana::RecoTree.

Definition at line 907 of file FlatRecoTree.cxx.

909  {
void FlatRecoTree::VeeCovariance ( const size_t &  ivee,
float  covar[][3] 
) const
overridevirtual

given a vee index, fill given position covariance matrix

Implements garana::RecoTree.

Definition at line 881 of file FlatRecoTree.cxx.

886  {
887 
888  vector<TLorentzVector>* v = new vector<TLorentzVector>();
889  v->push_back(TLorentzVector(fVeePxKshort->at(ivee),fVeePyKshort->at(ivee),
890  fVeePzKshort->at(ivee),fVeeEKshort->at(ivee)));
891  v->push_back(TLorentzVector(fVeePxLamb1->at(ivee),fVeePyLamb1->at(ivee),
892  fVeePzLamb1->at(ivee),fVeeELamb1->at(ivee)));
vector< float > * fVeeEKshort
Definition: FlatRecoTree.h:194
vector< float > * fVeePzLamb1
Definition: FlatRecoTree.h:197
vector< float > * fVeeELamb1
Definition: FlatRecoTree.h:198
vector< float > * fVeePxLamb1
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:195
vector< float > * fVeePzKshort
Definition: FlatRecoTree.h:193
vector< float > * fVeePxKshort
four-momentum of vee, for Kshort hypothesis [GeV]
Definition: FlatRecoTree.h:191
vector< float > * fVeePyKshort
Definition: FlatRecoTree.h:192
vector< float > * fVeePyLamb1
Definition: FlatRecoTree.h:196
const vector< TLorentzVector > * FlatRecoTree::VeeMomentumPerHypothesis ( const size_t &  ivee) const
overridevirtual

4-momentum for vee if it matches {Kshort, Lambda1, Lambda2}

Implements garana::RecoTree.

Definition at line 894 of file FlatRecoTree.cxx.

895  { return fVeeChisqr->at(ivee); } /// ================ ECal cluster ====================== const TLorentzVector* FlatRecoTree::CalClustPosition(const size_t& icluster) const { return new TLorentzVector(fCalClustX->at(icluster),fCalClustY->at(icluster),
896  fCalClustZ->at(icluster),fCalClustT->at(icluster)); } const float FlatRecoTree::CalClustEnergy(const size_t& icluster) const { return fCalClustEnergy->at(icluster); } const float FlatRecoTree::CalClustEnergyError(const size_t& icluster) const { return fCalClustEnergyError->at(icluster); }
897 const float FlatRecoTree::CalClustTrueEnergy(const size_t& icluster) const { //FIXME
898  return icluster;
899 }
900 const size_t FlatRecoTree::CalClustNTrueTrack(const size_t& icluster) const {
901  return icluster;
902 }
903 const int FlatRecoTree::CalClustTrkIdMaxDeposit(const size_t& icluster) const {
904  return icluster;
905 }
vector< float > * fCalClustZ
z-position of the cluster [cm]
Definition: FlatRecoTree.h:223
const float CalClustEnergyError(const size_t &icluster) const override
const float CalClustTrueEnergy(const size_t &icluster) const override
total associated true energy deposited with ith cluster
const int CalClustTrkIdMaxDeposit(const size_t &icluster) const override
trackID of the MCParticle depositing the most energy in ith cluster
const size_t CalClustNTrueTrack(const size_t &icluster) const override
number of MCParticles associated with ith cluster
vector< float > * fCalClustEnergy
energy of the ECal cluster [GeV]
Definition: FlatRecoTree.h:225
const float CalClustEnergy(const size_t &icluster) const override
reconstructed ECal cluster energy
vector< float > * fCalClustT
time of the cluster [ns]
Definition: FlatRecoTree.h:224
vector< float > * fCalClustEnergyError
uncertainty of the cluster energy [GeV]
Definition: FlatRecoTree.h:226
vector< float > * fVeeChisqr
chi-squared
Definition: FlatRecoTree.h:203
const TLorentzVector * FlatRecoTree::VeeVertex ( const size_t &  ivee) const
overridevirtual

=============== Vee =======================

Implements garana::RecoTree.

Definition at line 877 of file FlatRecoTree.cxx.

877  {
878  covar[0][0] = fVeeVtxCovar11->at(ivee);
879  covar[0][1] = fVeeVtxCovar12->at(ivee);
880  covar[0][2] = fVeeVtxCovar13->at(ivee);
vector< float > * fVeeVtxCovar13
Definition: FlatRecoTree.h:183
vector< float > * fVeeVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:181
vector< float > * fVeeVtxCovar12
Definition: FlatRecoTree.h:182
void FlatRecoTree::VertexCovariance ( const size_t &  ivertex,
float  covar[][3] 
) const
overridevirtual

given a vertex index, fill given position covariance matrix

Implements garana::RecoTree.

Definition at line 861 of file FlatRecoTree.cxx.

861  {
862 
863  covar[0][0] = fVtxCovar11->at(ivertex);
864  covar[0][1] = fVtxCovar12->at(ivertex);
865  covar[0][2] = fVtxCovar13->at(ivertex);
866  covar[1][0] = fVtxCovar21->at(ivertex);
867  covar[1][1] = fVtxCovar22->at(ivertex);
868  covar[1][2] = fVtxCovar23->at(ivertex);
869  covar[2][0] = fVtxCovar31->at(ivertex);
870  covar[2][1] = fVtxCovar32->at(ivertex);
871  covar[2][2] = fVtxCovar33->at(ivertex);
872 
873  }
vector< float > * fVtxCovar31
Definition: FlatRecoTree.h:216
vector< float > * fVtxCovar21
Definition: FlatRecoTree.h:213
vector< float > * fVtxCovar13
Definition: FlatRecoTree.h:212
vector< float > * fVtxCovar32
Definition: FlatRecoTree.h:217
vector< float > * fVtxCovar23
Definition: FlatRecoTree.h:215
vector< float > * fVtxCovar12
Definition: FlatRecoTree.h:211
vector< float > * fVtxCovar22
Definition: FlatRecoTree.h:214
vector< float > * fVtxCovar11
uncertainties in vertex position [cm]
Definition: FlatRecoTree.h:210
vector< float > * fVtxCovar33
Definition: FlatRecoTree.h:218

Member Data Documentation

TBranch* garana::FlatRecoTree::b_CalClustEigen1X = nullptr
protected

Definition at line 380 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen1Y = nullptr
protected

Definition at line 381 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen1Z = nullptr
protected

Definition at line 382 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen2X = nullptr
protected

Definition at line 383 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen2Y = nullptr
protected

Definition at line 384 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen2Z = nullptr
protected

Definition at line 385 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen3X = nullptr
protected

Definition at line 386 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen3Y = nullptr
protected

Definition at line 387 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEigen3Z = nullptr
protected

Definition at line 388 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEllip = nullptr
protected

Definition at line 372 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEnergy = nullptr
protected

Definition at line 369 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustEnergyError = nullptr
protected

Definition at line 370 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustPhi = nullptr
protected

Definition at line 379 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustR1 = nullptr
protected

Definition at line 373 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustR2 = nullptr
protected

Definition at line 374 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustR3 = nullptr
protected

Definition at line 375 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustT = nullptr
protected

Definition at line 368 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustTdiff = nullptr
protected

Definition at line 371 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustTheta = nullptr
protected

Definition at line 378 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustVol = nullptr
protected

Definition at line 376 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustWidth = nullptr
protected

Definition at line 377 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustX = nullptr
protected

Definition at line 365 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustY = nullptr
protected

Definition at line 366 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalClustZ = nullptr
protected

Definition at line 367 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_CalTrackIndices = nullptr
protected

Definition at line 393 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackCurvBeg = nullptr
protected

Definition at line 282 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackCurvEnd = nullptr
protected

Definition at line 289 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackG4PIndices = nullptr
protected

Definition at line 390 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackLambBeg = nullptr
protected

Definition at line 284 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackLambEnd = nullptr
protected

Definition at line 291 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackParEnd = nullptr
protected

Definition at line 285 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackPhiBeg = nullptr
protected

Definition at line 283 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackPhiEnd = nullptr
protected

Definition at line 290 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackXBeg = nullptr
protected

Definition at line 279 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackXEnd = nullptr
protected

Definition at line 286 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackYBeg = nullptr
protected

Definition at line 280 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackYEnd = nullptr
protected

Definition at line 287 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackZBeg = nullptr
protected

Definition at line 281 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrackZEnd = nullptr
protected

Definition at line 288 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkChgBac = nullptr
protected

Definition at line 401 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkChgFwd = nullptr
protected

Definition at line 400 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkChiBac = nullptr
protected

Definition at line 276 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkChiFwd = nullptr
protected

Definition at line 275 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat10Beg = nullptr
protected

Definition at line 301 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat10End = nullptr
protected

Definition at line 316 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat11Beg = nullptr
protected

Definition at line 302 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat11End = nullptr
protected

Definition at line 317 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat12Beg = nullptr
protected

Definition at line 303 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat12End = nullptr
protected

Definition at line 318 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat13Beg = nullptr
protected

Definition at line 304 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat13End = nullptr
protected

Definition at line 319 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat14Beg = nullptr
protected

Definition at line 305 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat14End = nullptr
protected

Definition at line 320 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat15Beg = nullptr
protected

Definition at line 306 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat15End = nullptr
protected

Definition at line 321 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat1Beg = nullptr
protected

Definition at line 292 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat1End = nullptr
protected

Definition at line 307 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat2Beg = nullptr
protected

Definition at line 293 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat2End = nullptr
protected

Definition at line 308 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat3Beg = nullptr
protected

Definition at line 294 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat3End = nullptr
protected

Definition at line 309 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat4Beg = nullptr
protected

Definition at line 295 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat4End = nullptr
protected

Definition at line 310 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat5Beg = nullptr
protected

Definition at line 296 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat5End = nullptr
protected

Definition at line 311 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat6Beg = nullptr
protected

Definition at line 297 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat6End = nullptr
protected

Definition at line 312 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat7Beg = nullptr
protected

Definition at line 298 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat7End = nullptr
protected

Definition at line 313 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat8Beg = nullptr
protected

Definition at line 299 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat8End = nullptr
protected

Definition at line 314 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat9Beg = nullptr
protected

Definition at line 300 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkCovMat9End = nullptr
protected

Definition at line 315 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndDirX = nullptr
protected

Definition at line 272 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndDirY = nullptr
protected

Definition at line 273 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndDirZ = nullptr
protected

Definition at line 274 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndT = nullptr
protected

Definition at line 267 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndX = nullptr
protected

Definition at line 264 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndY = nullptr
protected

Definition at line 265 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkEndZ = nullptr
protected

Definition at line 266 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkIonizBac = nullptr
protected

Definition at line 399 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkIonizFwd = nullptr
protected

Definition at line 398 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkLenBac = nullptr
protected

Definition at line 257 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkLenFwd = nullptr
protected

Definition at line 256 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkMomBeg = nullptr
protected

Definition at line 258 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkMomEnd = nullptr
protected

Definition at line 259 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkNHits = nullptr
protected

Definition at line 277 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxDirX = nullptr
protected

Definition at line 269 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxDirY = nullptr
protected

Definition at line 270 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxDirZ = nullptr
protected

Definition at line 271 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxT = nullptr
protected

Definition at line 263 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxX = nullptr
protected

Definition at line 260 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxY = nullptr
protected

Definition at line 261 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_TrkVtxZ = nullptr
protected

Definition at line 262 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeChisqr = nullptr
protected

Definition at line 349 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeEKshort = nullptr
protected

Definition at line 340 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeELamb1 = nullptr
protected

Definition at line 344 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeELamb2 = nullptr
protected

Definition at line 348 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePxKshort = nullptr
protected

Definition at line 337 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePxLamb1 = nullptr
protected

Definition at line 341 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePxLamb2 = nullptr
protected

Definition at line 345 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePyKshort = nullptr
protected

Definition at line 338 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePyLamb1 = nullptr
protected

Definition at line 342 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePyLamb2 = nullptr
protected

Definition at line 346 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePzKshort = nullptr
protected

Definition at line 339 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePzLamb1 = nullptr
protected

Definition at line 343 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeePzLamb2 = nullptr
protected

Definition at line 347 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeTrackEnds = nullptr
protected

Definition at line 396 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeTrackIndices = nullptr
protected

Definition at line 392 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar11 = nullptr
protected

Definition at line 327 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar12 = nullptr
protected

Definition at line 328 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar13 = nullptr
protected

Definition at line 329 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar21 = nullptr
protected

Definition at line 330 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar22 = nullptr
protected

Definition at line 331 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar23 = nullptr
protected

Definition at line 332 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar31 = nullptr
protected

Definition at line 333 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar32 = nullptr
protected

Definition at line 334 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxCovar33 = nullptr
protected

Definition at line 335 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxT = nullptr
protected

Definition at line 326 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxX = nullptr
protected

Definition at line 323 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxY = nullptr
protected

Definition at line 324 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VeeVtxZ = nullptr
protected

Definition at line 325 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VertTrackEnds = nullptr
protected

Definition at line 395 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VertTrackIndices = nullptr
protected

Definition at line 391 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar11 = nullptr
protected

Definition at line 355 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar12 = nullptr
protected

Definition at line 356 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar13 = nullptr
protected

Definition at line 357 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar21 = nullptr
protected

Definition at line 358 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar22 = nullptr
protected

Definition at line 359 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar23 = nullptr
protected

Definition at line 360 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar31 = nullptr
protected

Definition at line 361 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar32 = nullptr
protected

Definition at line 362 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxCovar33 = nullptr
protected

Definition at line 363 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxT = nullptr
protected

Definition at line 354 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxX = nullptr
protected

Definition at line 351 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxY = nullptr
protected

Definition at line 352 of file FlatRecoTree.h.

TBranch* garana::FlatRecoTree::b_VtxZ = nullptr
protected

Definition at line 353 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen1X = nullptr
protected

Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1.

Definition at line 236 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen1Y = nullptr
protected

Definition at line 237 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen1Z = nullptr
protected

Definition at line 238 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen2X = nullptr
protected

Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1.

Definition at line 239 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen2Y = nullptr
protected

Definition at line 240 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen2Z = nullptr
protected

Definition at line 241 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen3X = nullptr
protected

Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1.

Definition at line 242 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen3Y = nullptr
protected

Definition at line 243 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEigen3Z = nullptr
protected

Definition at line 244 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEllip = nullptr
protected

cluster shape parameter ellipsoid

Definition at line 228 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEnergy = nullptr
protected

energy of the ECal cluster [GeV]

Definition at line 225 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustEnergyError = nullptr
protected

uncertainty of the cluster energy [GeV]

Definition at line 226 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustPhi = nullptr
protected

intrasic direction of the cluster phi

Definition at line 235 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustR1 = nullptr
protected

cluster shape parameter r1

Definition at line 229 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustR2 = nullptr
protected

cluster shape parameter r2

Definition at line 230 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustR3 = nullptr
protected

cluster shape parameter r3

Definition at line 231 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustT = nullptr
protected

time of the cluster [ns]

Definition at line 224 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustTdiff = nullptr
protected

time difference between the first and last layer of the cluster [ns]

Definition at line 227 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustTheta = nullptr
protected

intrasic direction of the cluster theta

Definition at line 234 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustVol = nullptr
protected

cluster shape parameter volume

Definition at line 232 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustWidth = nullptr
protected

cluster shape parameter width

Definition at line 233 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustX = nullptr
protected

x-position of the cluster [cm]

Definition at line 221 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustY = nullptr
protected

y-position of the cluster [cm]

Definition at line 222 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fCalClustZ = nullptr
protected

z-position of the cluster [cm]

Definition at line 223 of file FlatRecoTree.h.

vector<vector<UInt_t> >* garana::FlatRecoTree::fCalTrackIndices = nullptr
protected

Definition at line 250 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackCurvBeg = nullptr
protected

Track curvature (par[2]) at beginning of track [cm^-1].

Definition at line 130 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackCurvEnd = nullptr
protected

Track curvature (par[2]) at end of track [cm^-1].

Definition at line 136 of file FlatRecoTree.h.

vector<vector<UInt_t> >* garana::FlatRecoTree::fTrackG4PIndices = nullptr
protected

Definition at line 247 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackLambBeg = nullptr
protected

Track lambda (par[4]) at beginning of track [rad].

Definition at line 132 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackLambEnd = nullptr
protected

Track lambda (par[4]) at end of track [rad].

Definition at line 138 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackPhiBeg = nullptr
protected

Track phi (par[3]) at beginning of track [rad].

Definition at line 131 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackPhiEnd = nullptr
protected

Track phi (par[3]) at end of track [rad].

Definition at line 137 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackXBeg = nullptr
protected

Track x-coord at beginning of track [cm].

Definition at line 127 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackXEnd = nullptr
protected

Track x-coord at end of track [cm].

Definition at line 133 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackYBeg = nullptr
protected

Track y-coord (par[0]) at beginning of track [cm].

Definition at line 128 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackYEnd = nullptr
protected

Track y-coord (par[0]) at end of track [cm].

Definition at line 134 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackZBeg = nullptr
protected

Track z-coord (par[1]) at beginning of track [cm].

Definition at line 129 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrackZEnd = nullptr
protected

Track z-coord (par[1]) at end of track [cm].

Definition at line 135 of file FlatRecoTree.h.

vector<int>* garana::FlatRecoTree::fTrkChgBac = nullptr
protected

Definition at line 173 of file FlatRecoTree.h.

vector<int>* garana::FlatRecoTree::fTrkChgFwd = nullptr
protected

Definition at line 172 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkChiBac = nullptr
protected

chisquared backward fit

Definition at line 124 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkChiFwd = nullptr
protected

chisquared forward fit

Definition at line 123 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat10Beg = nullptr
protected

Definition at line 148 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat10End = nullptr
protected

Definition at line 163 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat11Beg = nullptr
protected

Definition at line 149 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat11End = nullptr
protected

Definition at line 164 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat12Beg = nullptr
protected

Definition at line 150 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat12End = nullptr
protected

Definition at line 165 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat13Beg = nullptr
protected

Definition at line 151 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat13End = nullptr
protected

Definition at line 166 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat14Beg = nullptr
protected

Definition at line 152 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat14End = nullptr
protected

Definition at line 167 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat15Beg = nullptr
protected

Definition at line 153 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat15End = nullptr
protected

Definition at line 168 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat1Beg = nullptr
protected

covariance matrix at beginning of track – assuming symmetry

Definition at line 139 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat1End = nullptr
protected

covariance matrix at end of track – assuming symmetry

Definition at line 154 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat2Beg = nullptr
protected

Definition at line 140 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat2End = nullptr
protected

Definition at line 155 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat3Beg = nullptr
protected

Definition at line 141 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat3End = nullptr
protected

Definition at line 156 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat4Beg = nullptr
protected

Definition at line 142 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat4End = nullptr
protected

Definition at line 157 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat5Beg = nullptr
protected

Definition at line 143 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat5End = nullptr
protected

Definition at line 158 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat6Beg = nullptr
protected

Definition at line 144 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat6End = nullptr
protected

Definition at line 159 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat7Beg = nullptr
protected

Definition at line 145 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat7End = nullptr
protected

Definition at line 160 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat8Beg = nullptr
protected

Definition at line 146 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat8End = nullptr
protected

Definition at line 161 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat9Beg = nullptr
protected

Definition at line 147 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkCovMat9End = nullptr
protected

Definition at line 162 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndDirX = nullptr
protected

track end direction

Definition at line 120 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndDirY = nullptr
protected

Definition at line 121 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndDirZ = nullptr
protected

Definition at line 122 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndT = nullptr
protected

Definition at line 115 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndX = nullptr
protected

track end position 4-vector cm,ns

Definition at line 112 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndY = nullptr
protected

Definition at line 113 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkEndZ = nullptr
protected

Definition at line 114 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkIonizBac = nullptr
protected

Definition at line 171 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkIonizFwd = nullptr
protected

Definition at line 170 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkLenBac = nullptr
protected

length of the track in cm from backwards fit

Definition at line 105 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkLenFwd = nullptr
protected

length of the track in cm from forwards fit

Definition at line 104 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkMomBeg = nullptr
protected

momentum of the track at the vertex in GeV/c

Definition at line 106 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkMomEnd = nullptr
protected

momentum of the track at the end in GeV/c

Definition at line 107 of file FlatRecoTree.h.

vector<size_t>* garana::FlatRecoTree::fTrkNHits = nullptr
protected

number of hits

Definition at line 125 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxDirX = nullptr
protected

track vertex direction

Definition at line 117 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxDirY = nullptr
protected

Definition at line 118 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxDirZ = nullptr
protected

Definition at line 119 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxT = nullptr
protected

Definition at line 111 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxX = nullptr
protected

track vertex position 4-vector cm,ns

Definition at line 108 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxY = nullptr
protected

Definition at line 109 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fTrkVtxZ = nullptr
protected

Definition at line 110 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeChisqr = nullptr
protected

chi-squared

Definition at line 203 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeEKshort = nullptr
protected

Definition at line 194 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeELamb1 = nullptr
protected

Definition at line 198 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeELamb2 = nullptr
protected

Definition at line 202 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePxKshort = nullptr
protected

four-momentum of vee, for Kshort hypothesis [GeV]

Definition at line 191 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePxLamb1 = nullptr
protected

four-momentum of vee, for Kshort hypothesis [GeV]

Definition at line 195 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePxLamb2 = nullptr
protected

four-momentum of vee, for Kshort hypothesis [GeV]

Definition at line 199 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePyKshort = nullptr
protected

Definition at line 192 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePyLamb1 = nullptr
protected

Definition at line 196 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePyLamb2 = nullptr
protected

Definition at line 200 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePzKshort = nullptr
protected

Definition at line 193 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePzLamb1 = nullptr
protected

Definition at line 197 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeePzLamb2 = nullptr
protected

Definition at line 201 of file FlatRecoTree.h.

vector<vector<Int_t> >* garana::FlatRecoTree::fVeeTrackEnds = nullptr
protected

Definition at line 253 of file FlatRecoTree.h.

vector<vector<UInt_t> >* garana::FlatRecoTree::fVeeTrackIndices = nullptr
protected

Definition at line 249 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar11 = nullptr
protected

uncertainties in vertex position [cm]

Definition at line 181 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar12 = nullptr
protected

Definition at line 182 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar13 = nullptr
protected

Definition at line 183 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar21 = nullptr
protected

Definition at line 184 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar22 = nullptr
protected

Definition at line 185 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar23 = nullptr
protected

Definition at line 186 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar31 = nullptr
protected

Definition at line 187 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar32 = nullptr
protected

Definition at line 188 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxCovar33 = nullptr
protected

Definition at line 189 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxT = nullptr
protected

time of vertex [ns]

Definition at line 180 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxX = nullptr
protected

x-position of vertex [cm]

Definition at line 177 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxY = nullptr
protected

y-position of vertex [cm]

Definition at line 178 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVeeVtxZ = nullptr
protected

z-position of vertex [cm]

Definition at line 179 of file FlatRecoTree.h.

vector<vector<Int_t> >* garana::FlatRecoTree::fVertTrackEnds = nullptr
protected

Definition at line 252 of file FlatRecoTree.h.

vector<vector<UInt_t> >* garana::FlatRecoTree::fVertTrackIndices = nullptr
protected

Definition at line 248 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar11 = nullptr
protected

uncertainties in vertex position [cm]

Definition at line 210 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar12 = nullptr
protected

Definition at line 211 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar13 = nullptr
protected

Definition at line 212 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar21 = nullptr
protected

Definition at line 213 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar22 = nullptr
protected

Definition at line 214 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar23 = nullptr
protected

Definition at line 215 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar31 = nullptr
protected

Definition at line 216 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar32 = nullptr
protected

Definition at line 217 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxCovar33 = nullptr
protected

Definition at line 218 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxT = nullptr
protected

time of vertex [ns]

Definition at line 209 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxX = nullptr
protected

x-position of vertex [cm]

Definition at line 206 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxY = nullptr
protected

y-position of vertex [cm]

Definition at line 207 of file FlatRecoTree.h.

vector<float>* garana::FlatRecoTree::fVtxZ = nullptr
protected

z-position of vertex [cm]

Definition at line 208 of file FlatRecoTree.h.


The documentation for this class was generated from the following files: