LDMX Software
Public Member Functions | Private Member Functions | List of all members
ldmx::EcalHit Class Reference

Stores reconstructed hit information from the ECAL. More...

#include <EcalHit.h>

Public Member Functions

 EcalHit ()
 Constructor.
 
virtual ~EcalHit ()
 Destructor.
 
void Clear ()
 Clear the data in the object.
 
void Print () const
 Print a text representation of this object.
 
- Public Member Functions inherited from ldmx::CalorimeterHit
 CalorimeterHit ()
 Class constructor.
 
virtual ~CalorimeterHit ()=default
 Class destructor.
 
void Clear ()
 Clear the data in the object.
 
void Print () const
 Print out 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, 3)
 The ROOT class definition.
 

Detailed Description

Stores reconstructed hit information from the ECAL.

Note
This class represents the reconstructed hit information from the ECAL, providing particular information for the ECAL, above and beyond what is available in the CalorimeterHit.

Definition at line 19 of file EcalHit.h.

Constructor & Destructor Documentation

◆ EcalHit()

ldmx::EcalHit::EcalHit ( )
inline

Constructor.

Definition at line 22 of file EcalHit.h.

22{}

◆ ~EcalHit()

virtual ldmx::EcalHit::~EcalHit ( )
inlinevirtual

Destructor.

Definition at line 25 of file EcalHit.h.

25{}

The documentation for this class was generated from the following file: