LDMX Software
HcalHit.cxx
2
3// STL
4#include <iostream>
5
6ClassImp(ldmx::HcalHit);
7
8namespace ldmx {
11 pe_ = 0;
12 minpe_ = -99;
13}
14
15void HcalHit::Print() const {
16 std::cout << "HcalHit { "
17 << "id: " << std::hex << getID() << std::dec
18 << ", energy: " << getEnergy() << "MeV, time: " << getTime()
19 << "ns, amplitude: " << getAmplitude() << ", pe: " << getPE() << "}"
20 << std::endl;
21}
22} // namespace ldmx
Class that stores Stores reconstructed hit information from the HCAL.
float getEnergy() const
Get the calorimetric energy of the hit, corrected for sampling factors [MeV].
float getTime() const
Get the time of the hit [ns].
void Clear()
Clear the data in the object.
int getID() const
Get the detector ID.
float getAmplitude() const
Get the amplitude of the hit, which is proportional to the signal in the calorimeter cell without sam...
Stores reconstructed hit information from the HCAL.
Definition HcalHit.h:23
void Clear()
Clear the data in the object.
Definition HcalHit.cxx:9
float minpe_
The minimum number of PE estimated for this hit, different from pe_ when you have two ended readout.
Definition HcalHit.h:206
float pe_
The number of PE estimated for this hit.
Definition HcalHit.h:202
float getPE() const
Get the number of photoelectrons estimated for this hit.
Definition HcalHit.h:50
void Print() const
Print out the object.
Definition HcalHit.cxx:15