#include <Cluster.h>
|
gar::rec::IDNumber | fIDnumero |
|
float | fEnergy {0} |
| energy of the ecal cluster in GeV More...
|
|
float | fEnergyError {0} |
| energy of the ecal cluster in GeV More...
|
|
float | fTime {0} |
| time of the ecal cluster in ns More...
|
|
float | fTimeDiffFirstLast {0} |
| time difference between the first and last layer of the cluster in ns More...
|
|
float | fPosition [3] = {0, 0, 0} |
| position of the cluster in cm More...
|
|
float | fShape [6] = {0, 0, 0, 0, 0, 0} |
| cluster shape parameters (Ellipsoid r1, r2, r3, vol, width) More...
|
|
float | fTheta {0} |
| intrasic direction of the cluster theta More...
|
|
float | fPhi {0} |
| intrasic direction of the cluster phi More...
|
|
float | fEigenVector [9] = {0, 0, 0, 0, 0, 0, 0, 0, 0} |
| EigenVectors of the cluster corresponding to the 3 main axis sorted in ascending order (main principal axis with smallest inertial of mass) normalised to length of 1. More...
|
|
int | fParticleId {0} |
| particle id flag More...
|
|
std::vector< gar::rec::Track * > | fTracks {} |
| vector of tracks associated to the cluster More...
|
|
std::vector< gar::rec::CaloHit * > | fHits {} |
| vector of hit contribution More...
|
|
std::vector< float > | fWeights {} |
| vector of energy contribution of the hits More...
|
|
Definition at line 24 of file Cluster.h.
gar::rec::Cluster::Cluster |
( |
| ) |
|
Definition at line 8 of file Cluster.cxx.
static IDNumberGen * create(IDNumber iniValue=std::numeric_limits< IDNumber >::max())
gar::rec::IDNumber fIDnumero
static gar::rec::IDNumber const FirstNumber
Definition at line 64 of file Cluster.cxx.
65 fHits.push_back( hit ) ;
std::vector< gar::rec::CaloHit * > fHits
vector of hit contribution
std::vector< float > fWeights
vector of energy contribution of the hits
Definition at line 70 of file Cluster.cxx.
std::vector< gar::rec::Track * > fTracks
vector of tracks associated to the cluster
Definition at line 103 of file Cluster.h.
std::vector< gar::rec::CaloHit * > fHits
vector of hit contribution
const float * gar::rec::Cluster::EigenVectors |
( |
| ) |
const |
|
inline |
Definition at line 99 of file Cluster.h.
float fEigenVector[9]
EigenVectors of the cluster corresponding to the 3 main axis sorted in ascending order (main principa...
float gar::rec::Cluster::Energy |
( |
| ) |
const |
|
inline |
Definition at line 92 of file Cluster.h.
float fEnergy
energy of the ecal cluster in GeV
float gar::rec::Cluster::EnergyError |
( |
| ) |
const |
|
inline |
Definition at line 93 of file Cluster.h.
float fEnergyError
energy of the ecal cluster in GeV
Definition at line 106 of file Cluster.cxx.
gar::rec::IDNumber fIDnumero
const std::vector< float > & gar::rec::Cluster::HitContributions |
( |
| ) |
const |
|
inline |
Definition at line 104 of file Cluster.h.
std::vector< float > fWeights
vector of energy contribution of the hits
float gar::rec::Cluster::IPhi |
( |
| ) |
const |
|
inline |
Definition at line 98 of file Cluster.h.
float fPhi
intrasic direction of the cluster phi
float gar::rec::Cluster::ITheta |
( |
| ) |
const |
|
inline |
Definition at line 97 of file Cluster.h.
float fTheta
intrasic direction of the cluster theta
bool gar::rec::Cluster::operator!= |
( |
const Cluster & |
rhs | ) |
const |
Definition at line 102 of file Cluster.cxx.
103 return (this->
fIDnumero != rhs.fIDnumero);
gar::rec::IDNumber fIDnumero
bool gar::rec::Cluster::operator== |
( |
const Cluster & |
rhs | ) |
const |
Definition at line 98 of file Cluster.cxx.
99 return (this->
fIDnumero == rhs.fIDnumero);
gar::rec::IDNumber fIDnumero
int gar::rec::Cluster::ParticleID |
( |
| ) |
const |
|
inline |
Definition at line 101 of file Cluster.h.
int fParticleId
particle id flag
const float * gar::rec::Cluster::Position |
( |
| ) |
const |
|
inline |
Definition at line 96 of file Cluster.h.
float fPosition[3]
position of the cluster in cm
void gar::rec::Cluster::setEigenVectors |
( |
const float * |
eigenvectors | ) |
|
Definition at line 49 of file Cluster.cxx.
50 for(
int i=0;i<9;i++) {
fEigenVector[i] = eigenvectors[i]; }
float fEigenVector[9]
EigenVectors of the cluster corresponding to the 3 main axis sorted in ascending order (main principa...
void gar::rec::Cluster::setEnergy |
( |
float |
energy | ) |
|
Definition at line 18 of file Cluster.cxx.
float fEnergy
energy of the ecal cluster in GeV
void gar::rec::Cluster::setEnergyError |
( |
float |
energy_error | ) |
|
Definition at line 23 of file Cluster.cxx.
float fEnergyError
energy of the ecal cluster in GeV
void gar::rec::Cluster::setIPhi |
( |
float |
phi | ) |
|
Definition at line 44 of file Cluster.cxx.
float fPhi
intrasic direction of the cluster phi
void gar::rec::Cluster::setITheta |
( |
float |
theta | ) |
|
Definition at line 39 of file Cluster.cxx.
float fTheta
intrasic direction of the cluster theta
void gar::rec::Cluster::setParticleID |
( |
int |
pid | ) |
|
Definition at line 59 of file Cluster.cxx.
int fParticleId
particle id flag
void gar::rec::Cluster::setPosition |
( |
const float * |
position | ) |
|
Definition at line 34 of file Cluster.cxx.
float fPosition[3]
position of the cluster in cm
void gar::rec::Cluster::setShape |
( |
const float * |
shape | ) |
|
Definition at line 54 of file Cluster.cxx.
55 for(
int i=0;i<6;i++) {
fShape[i] = shape[i]; }
float fShape[6]
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width)
void gar::rec::Cluster::setTime |
( |
float |
time, |
|
|
float |
time_diff |
|
) |
| |
Definition at line 28 of file Cluster.cxx.
float fTimeDiffFirstLast
time difference between the first and last layer of the cluster in ns
double time_diff(rusage const &a, rusage const &b)
float fTime
time of the ecal cluster in ns
const float * gar::rec::Cluster::Shape |
( |
| ) |
const |
|
inline |
Definition at line 100 of file Cluster.h.
float fShape[6]
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width)
float gar::rec::Cluster::Time |
( |
| ) |
const |
|
inline |
Definition at line 94 of file Cluster.h.
float fTime
time of the ecal cluster in ns
float gar::rec::Cluster::TimeDiffFirstLast |
( |
| ) |
const |
|
inline |
Definition at line 95 of file Cluster.h.
float fTimeDiffFirstLast
time difference between the first and last layer of the cluster in ns
Definition at line 102 of file Cluster.h.
std::vector< gar::rec::Track * > fTracks
vector of tracks associated to the cluster
Definition at line 75 of file Cluster.cxx.
86 <<
"\n\tMain EigenVector = (" 87 <<
h.EigenVectors()[0] <<
", " <<
h.EigenVectors()[1] <<
", " <<
h.EigenVectors()[2] <<
")" 89 <<
h.Position()[0] <<
", " <<
h.Position()[1] <<
", " <<
h.Position()[2] <<
")";
float gar::rec::Cluster::fEigenVector[9] = {0, 0, 0, 0, 0, 0, 0, 0, 0} |
|
private |
EigenVectors of the cluster corresponding to the 3 main axis sorted in ascending order (main principal axis with smallest inertial of mass) normalised to length of 1.
Definition at line 43 of file Cluster.h.
float gar::rec::Cluster::fEnergy {0} |
|
private |
energy of the ecal cluster in GeV
Definition at line 35 of file Cluster.h.
float gar::rec::Cluster::fEnergyError {0} |
|
private |
energy of the ecal cluster in GeV
Definition at line 36 of file Cluster.h.
vector of hit contribution
Definition at line 46 of file Cluster.h.
int gar::rec::Cluster::fParticleId {0} |
|
private |
particle id flag
Definition at line 44 of file Cluster.h.
float gar::rec::Cluster::fPhi {0} |
|
private |
intrasic direction of the cluster phi
Definition at line 42 of file Cluster.h.
float gar::rec::Cluster::fPosition[3] = {0, 0, 0} |
|
private |
position of the cluster in cm
Definition at line 39 of file Cluster.h.
float gar::rec::Cluster::fShape[6] = {0, 0, 0, 0, 0, 0} |
|
private |
cluster shape parameters (Ellipsoid r1, r2, r3, vol, width)
Definition at line 40 of file Cluster.h.
float gar::rec::Cluster::fTheta {0} |
|
private |
intrasic direction of the cluster theta
Definition at line 41 of file Cluster.h.
float gar::rec::Cluster::fTime {0} |
|
private |
time of the ecal cluster in ns
Definition at line 37 of file Cluster.h.
float gar::rec::Cluster::fTimeDiffFirstLast {0} |
|
private |
time difference between the first and last layer of the cluster in ns
Definition at line 38 of file Cluster.h.
vector of tracks associated to the cluster
Definition at line 45 of file Cluster.h.
vector of energy contribution of the hits
Definition at line 47 of file Cluster.h.
The documentation for this class was generated from the following files: