|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef CaloSimEvent_CaloCalibrationHit_h
12 #define CaloSimEvent_CaloCalibrationHit_h
14 #include "Identifier/Identifier.h"
99 if (
this == &cchSource)
return *
this;
171 return m_ID <
h->m_ID;
187 equal &= (validBarcode || validUID);
188 if ( validBarcode ) {
191 if ( validBarcode ) {
235 #endif // CaloSimEvent_CaloCalibrationHit_h
Identifier m_ID
identifier of the cell in which this hit occured.
bool Equals(const CaloCalibrationHit &h) const
Calibration hits are ordered by values of their identifiers.
double energyNonEM() const
double operator()(unsigned int i) const
void Add(const CaloCalibrationHit *h)
Method used for energy accumulation.
constexpr int INVALID_PARTICLE_ID
virtual ~CaloCalibrationHit()
Destructor.
std::unique_ptr< HepMcParticleLink > m_partLink
CaloCalibrationHit(Identifier id, double energyEM, double energyNonEM, double energyInvisible, double energyEscaped)
Standard constructor using identifer and energy by type.
double energyTotal() const
bool equal(double a, double b)
Compare two FP numbers, working around x87 precision issues.
int m_barcode
legacy barcode of Primary Particle which caused this hit
bool Equals(const CaloCalibrationHit *h) const
Calibration hits are ordered by values of their identifiers.
CaloCalibrationHit & operator=(const CaloCalibrationHit &cchSource)
Assignment operator.
CaloCalibrationHit(const CaloCalibrationHit &cchSource)
Copy constructor.
double energyInvisible() const
Identifier cellID() const
bool Less(const CaloCalibrationHit *h) const
Calibration hits are ordered by values of their identifiers.
constexpr int UNDEFINED_ID
Class to store calorimeter calibration hit.
CaloCalibrationHit(Identifier id, double energyEM, double energyNonEM, double energyInvisible, double energyEscaped, int barcode, int uniqueID=HepMC::INVALID_PARTICLE_ID)
Standard constructor using identifer, energy by type and primary particle ID.
double energy(unsigned int i) const
int m_uniqueID
identifier of Primary Particle which caused this hit
double m_energy0
energies (in MeV) deposited in this hit.
CaloCalibrationHit()
Default constructor; should never be used, but provided for some persistency services.
double energyEscaped() const