LDMX Software
|
Public Member Functions | |
WorkingCluster (const ldmx::EcalHit *eh, const ldmx::EcalGeometry &geom) | |
void | add (const ldmx::EcalHit *eh, const ldmx::EcalGeometry &geom) |
void | add (const WorkingCluster &wc) |
const TLorentzVector & | centroid () const |
std::vector< const ldmx::EcalHit * > | getHits () const |
bool | empty () const |
void | clear () |
Private Attributes | |
std::vector< const ldmx::EcalHit * > | hits_ |
TLorentzVector | centroid_ |
Definition at line 16 of file WorkingCluster.h.
ecal::WorkingCluster::WorkingCluster | ( | const ldmx::EcalHit * | eh, |
const ldmx::EcalGeometry & | geom | ||
) |
Definition at line 11 of file WorkingCluster.cxx.
|
inline |
Definition at line 20 of file WorkingCluster.h.
void ecal::WorkingCluster::add | ( | const ldmx::EcalHit * | eh, |
const ldmx::EcalGeometry & | geom | ||
) |
The ID number is implicitly converted to EcalID
Definition at line 16 of file WorkingCluster.cxx.
References ldmx::CalorimeterHit::getEnergy(), and ldmx::CalorimeterHit::getID().
void ecal::WorkingCluster::add | ( | const WorkingCluster & | wc | ) |
Definition at line 33 of file WorkingCluster.cxx.
|
inline |
Definition at line 26 of file WorkingCluster.h.
|
inline |
Definition at line 32 of file WorkingCluster.h.
|
inline |
Definition at line 30 of file WorkingCluster.h.
|
inline |
Definition at line 28 of file WorkingCluster.h.
|
private |
Definition at line 36 of file WorkingCluster.h.
|
private |
Definition at line 35 of file WorkingCluster.h.