LDMX Software
|
Stores cluster information from the ECal. More...
#include <EcalCluster.h>
Public Member Functions | |
EcalCluster () | |
Class constructor. | |
virtual | ~EcalCluster () |
Class destructor. | |
void | addHits (const std::vector< const ldmx::EcalHit * > hitsVec) |
Take in the hits that make up the cluster. | |
bool | operator< (const EcalCluster &rhs) const |
Public Member Functions inherited from ldmx::CaloCluster | |
CaloCluster () | |
Class constructor. | |
virtual | ~CaloCluster () |
Class destructor. | |
void | Print () const |
Print a description of this object. | |
void | Clear () |
Reset the CaloCluster object. | |
void | addHits (const std::vector< const ldmx::CalorimeterHit * > hitsVec) |
Take in the hits that make up the cluster. | |
void | setEnergy (double energy) |
Sets total energy for the cluster. | |
void | setNHits (int nHits) |
Sets total number of hits in the cluster. | |
void | setIDs (std::vector< unsigned int > &hitIDs) |
Sets a sorted vector for the IDs of the hits that make up the cluster. | |
void | setHitValsX (std::vector< float > &x) |
void | setHitValsY (std::vector< float > &x) |
void | setHitValsZ (std::vector< float > &x) |
void | setHitValsE (std::vector< float > &x) |
void | setCentroidXYZ (double x, double y, double z) |
Sets the three coordinates of the cluster centroid. | |
void | setRMSXYZ (double x, double y, double z) |
void | setDXDZ (double x) |
void | setDYDZ (double x) |
void | setEDXDZ (double x) |
void | setEDYDZ (double x) |
double | getEnergy () const |
int | getNHits () const |
double | getCentroidX () const |
double | getCentroidY () const |
double | getCentroidZ () const |
double | getRMSX () const |
double | getRMSY () const |
double | getRMSZ () const |
double | getDXDZ () const |
double | getDYDZ () const |
double | getEDXDZ () const |
double | getEDYDZ () const |
const std::vector< unsigned int > & | getHitIDs () const |
const std::vector< float > & | getHitX () const |
const std::vector< float > & | getHitY () const |
const std::vector< float > & | getHitZ () const |
const std::vector< float > & | getHitE () const |
bool | operator< (const CaloCluster &rhs) const |
Private Member Functions | |
ClassDef (EcalCluster, 1) | |
Additional Inherited Members | |
Protected Attributes inherited from ldmx::CaloCluster | |
std::vector< unsigned int > | hitIDs_ |
double | energy_ {0} |
int | nHits_ {0} |
double | centroidX_ {0} |
double | centroidY_ {0} |
double | centroidZ_ {0} |
double | rmsX_ {0} |
double | rmsY_ {0} |
double | rmsZ_ {0} |
double | DXDZ_ {0} |
double | DYDZ_ {0} |
double | errDXDZ_ {0} |
double | errDYDZ_ {0} |
std::vector< float > | hitX_ |
std::vector< float > | hitY_ |
std::vector< float > | hitZ_ |
std::vector< float > | hitE_ |
Stores cluster information from the ECal.
Definition at line 20 of file EcalCluster.h.
void ldmx::EcalCluster::addHits | ( | const std::vector< const ldmx::EcalHit * > | hitsVec | ) |
Take in the hits that make up the cluster.
hit | The digi hit's entry number in the events digi collection. |
Referenced by ecal::EcalClusterProducer::produce().
|
inline |
Definition at line 39 of file EcalCluster.h.