|
LDMX Software
|
Stores reconstructed hit information from the ECAL. More...
#include <EcalHit.h>
Public Member Functions | |
| EcalHit ()=default | |
| Constructor. | |
| virtual | ~EcalHit () |
| Destructor. | |
| void | clear () |
| Clear the data in the object. | |
Public Member Functions inherited from ldmx::CalorimeterHit | |
| CalorimeterHit () | |
| Class constructor. | |
| virtual | ~CalorimeterHit ()=default |
| Class destructor. | |
| void | clear () |
| Clear the data in the object. | |
| int | getID () const |
| Get the detector ID. | |
| void | setID (int id) |
| Set the detector ID. | |
| float | getAmplitude () const |
| Get the amplitude of the hit, which is proportional to the signal in the calorimeter cell without sampling factor corrections. | |
| void | setAmplitude (float amplitude) |
| Set the amplitude of the hit, which is proportional to the signal in the calorimeter cell without sampling factor corrections. | |
| float | getEnergy () const |
| Get the calorimetric energy of the hit, corrected for sampling factors [MeV]. | |
| void | setEnergy (float energy) |
| Set the calorimetric energy of the hit, corrected for sampling factors [MeV]. | |
| float | getTime () const |
| Get the time of the hit [ns]. | |
| void | setTime (float time) |
| Set the time of the hit [ns]. | |
| float | getXPos () const |
| Get the X position of the hit [mm]. | |
| void | setXPos (float xpos) |
| Set the X position of the hit [mm]. | |
| float | getYPos () const |
| Get the Y position of the hit [mm]. | |
| void | setYPos (float ypos) |
| Set the Y position of the hit [mm]. | |
| float | getZPos () const |
| Get the Z position of the hit [mm]. | |
| void | setZPos (float zpos) |
| Set the Z position of the hit [mm]. | |
| bool | isNoise () const |
| Is this hit a noise hit? | |
| void | setNoise (bool yes) |
| Set if this hit is a noise hit. | |
| bool | operator< (const CalorimeterHit &rhs) const |
| Sort by time of hit. | |
Private Member Functions | |
| ClassDef (EcalHit, 4) | |
| The ROOT class definition. | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const EcalHit &d) |
| Print a text representation of this object. | |
Stores reconstructed hit information from the ECAL.
|
inlinevirtual |
| void ldmx::EcalHit::clear | ( | ) |
Clear the data in the object.
Definition at line 9 of file EcalHit.cxx.
References ldmx::CalorimeterHit::clear().
|
friend |
Print a text representation of this object.
Definition at line 11 of file EcalHit.cxx.