#include <CaloCluster.h>
Public Member Functions | |
CaloCluster () | |
CaloCluster (const TLorentzVector &pos, const int ®ion, const float &energy, const float &energyErr, const float &timeDiff, const float *shape, const float &theta, const float &phi, const std::vector< TVector3 > &eigenVecs, const std::vector< std::pair< int, float >> &edeps) | |
const TLorentzVector * | Position () const |
int const & | Region () const |
float const & | Energy () const |
float const & | EnergyError () const |
float const & | TimeDifference () const |
const float * | Shape () const |
float const & | Theta () const |
float const & | Phi () const |
const vector< TVector3 > * | EigenVecs () const |
size_t | NIdes () const |
const std::pair< int, float > * | GetTrackIdEdep (const size_t &iide) const |
float | TotalTrueEnergy () const |
float const & | MaxDeposit () const |
int const & | TrackIdMaxDep () const |
Private Attributes | |
TLorentzVector | fPosition |
4-position of the cluster [cm,ns] More... | |
int | fRegion |
what ECal region is it in, barrel or endcap; could add more. e.g, forward vs. backward barrel More... | |
float | fEnergy |
energy of the ECal cluster [GeV] More... | |
float | fEnergyError |
uncertainty of the cluster energy [GeV] More... | |
float | fTimeDiffFirstLast |
time difference between the first and last layer of the cluster [ns] More... | |
float | fShape [6] |
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width) More... | |
float | fTheta |
intrasic direction of the cluster theta More... | |
float | fPhi |
intrasic direction of the cluster phi More... | |
vector< TVector3 > | fEigenVecs |
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1. More... | |
vector< std::pair< int, float > > | fTrueEnergy |
true energy (second) [GeV] deposited by MCParticle with trackID (first) More... | |
Definition at line 21 of file CaloCluster.h.
CaloCluster::CaloCluster | ( | ) |
Definition at line 12 of file CaloCluster.cxx.
CaloCluster::CaloCluster | ( | const TLorentzVector & | pos, |
const int & | region, | ||
const float & | energy, | ||
const float & | energyErr, | ||
const float & | timeDiff, | ||
const float * | shape, | ||
const float & | theta, | ||
const float & | phi, | ||
const std::vector< TVector3 > & | eigenVecs, | ||
const std::vector< std::pair< int, float >> & | edeps | ||
) |
Definition at line 31 of file CaloCluster.cxx.
const std::vector< TVector3 > * CaloCluster::EigenVecs | ( | ) | const |
Definition at line 82 of file CaloCluster.cxx.
float const & CaloCluster::Energy | ( | ) | const |
Definition at line 58 of file CaloCluster.cxx.
float const & CaloCluster::EnergyError | ( | ) | const |
Definition at line 62 of file CaloCluster.cxx.
const std::pair< int, float > * CaloCluster::GetTrackIdEdep | ( | const size_t & | iide | ) | const |
Definition at line 90 of file CaloCluster.cxx.
float const & CaloCluster::MaxDeposit | ( | ) | const |
Definition at line 115 of file CaloCluster.cxx.
size_t CaloCluster::NIdes | ( | ) | const |
Definition at line 86 of file CaloCluster.cxx.
float const & CaloCluster::Phi | ( | ) | const |
Definition at line 78 of file CaloCluster.cxx.
const TLorentzVector * CaloCluster::Position | ( | ) | const |
Definition at line 50 of file CaloCluster.cxx.
int const & CaloCluster::Region | ( | ) | const |
Definition at line 54 of file CaloCluster.cxx.
const float * CaloCluster::Shape | ( | ) | const |
Definition at line 70 of file CaloCluster.cxx.
float const & CaloCluster::Theta | ( | ) | const |
Definition at line 74 of file CaloCluster.cxx.
float const & CaloCluster::TimeDifference | ( | ) | const |
Definition at line 66 of file CaloCluster.cxx.
float CaloCluster::TotalTrueEnergy | ( | ) | const |
Definition at line 94 of file CaloCluster.cxx.
int const & CaloCluster::TrackIdMaxDep | ( | ) | const |
Definition at line 101 of file CaloCluster.cxx.
|
private |
Eigenvectors of the cluster in ascending order (principal axis with smallest inertial mass) normalised to 1.
Definition at line 60 of file CaloCluster.h.
|
private |
energy of the ECal cluster [GeV]
Definition at line 54 of file CaloCluster.h.
|
private |
uncertainty of the cluster energy [GeV]
Definition at line 55 of file CaloCluster.h.
|
private |
intrasic direction of the cluster phi
Definition at line 59 of file CaloCluster.h.
|
private |
4-position of the cluster [cm,ns]
Definition at line 52 of file CaloCluster.h.
|
private |
what ECal region is it in, barrel or endcap; could add more. e.g, forward vs. backward barrel
Definition at line 53 of file CaloCluster.h.
|
private |
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width)
Definition at line 57 of file CaloCluster.h.
|
private |
intrasic direction of the cluster theta
Definition at line 58 of file CaloCluster.h.
|
private |
time difference between the first and last layer of the cluster [ns]
Definition at line 56 of file CaloCluster.h.
|
private |
true energy (second) [GeV] deposited by MCParticle with trackID (first)
Definition at line 61 of file CaloCluster.h.