8 #ifndef GARANA_CALOCLUSTER_H_ 9 #define GARANA_CALOCLUSTER_H_ 11 #include <TLorentzVector.h> 29 CaloCluster(
const TLorentzVector&
pos,
const int& region,
const float&
energy,
const float& energyErr,
const float& timeDiff,
30 const float* shape,
const float&
theta,
const float& phi,
const std::vector<TVector3>& eigenVecs,
33 const TLorentzVector*
Position()
const;
35 float const&
Energy()
const;
38 const float*
Shape()
const;
39 float const&
Theta()
const;
40 float const&
Phi()
const;
41 const vector<TVector3>*
EigenVecs()
const;
43 const std::pair<int,float>*
GetTrackIdEdep(
const size_t& iide)
const;
float const & Energy() const
float fEnergyError
uncertainty of the cluster energy [GeV]
TLorentzVector fPosition
4-position of the cluster [cm,ns]
float const & Phi() const
float const & EnergyError() const
float fEnergy
energy of the ECal cluster [GeV]
float fShape[6]
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width)
vector< std::pair< int, float > > fTrueEnergy
true energy (second) [GeV] deposited by MCParticle with trackID (first)
int fRegion
what ECal region is it in, barrel or endcap; could add more. e.g, forward vs. backward barrel ...
float fTimeDiffFirstLast
time difference between the first and last layer of the cluster [ns]
const float * Shape() const
float fTheta
intrasic direction of the cluster theta
const vector< TVector3 > * EigenVecs() const
float TotalTrueEnergy() const
const std::pair< int, float > * GetTrackIdEdep(const size_t &iide) const
float const & MaxDeposit() const
const TLorentzVector * Position() const
int const & Region() const
float fPhi
intrasic direction of the cluster phi
float const & TimeDifference() const
vector< TVector3 > fEigenVecs
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalise...
float const & Theta() const
int const & TrackIdMaxDep() const