15 fEnergyError(FLT_MAX),
16 fTimeDiffFirstLast(FLT_MAX),
21 for(
size_t i=0; i<6; i++) {
23 fPosition.SetXYZT(FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX);
32 const float* shape,
const float&
theta,
const float& phi,
const std::vector<TVector3>& eigenVecs,
45 for(
size_t i=0; i<6; i++)
97 edep += trkdep.second;
104 for(
size_t idep=0; idep<
NIdes(); idep++ ) {
106 if( trkdep->second > maxdep ) {
108 maxdep = trkdep->second;
118 for(
size_t idep=0; idep<
NIdes(); idep++ ) {
120 if( trkdep->second > maxdep ) {
122 maxdep = trkdep->second;
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