39 virtual ~Hit() =
default;
79 return out <<
"{eDep=" << hit.
EDep() <<
",volID=" << hit.
VolumeID() <<
"}";
void SetVolumeID(unsigned int volumeID)
Set the ID of the hit volume.
Definition: Hit.h:63
bool operator==(const HoughTrackStub &lhs, const HoughTrackStub &rhs)
Definition: HoughTrackStub.h:41
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
unsigned int _volumeId
Id of the hit volume.
Definition: Hit.h:67
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
unsigned int VolumeID() const
Get the unique identifier of the sensitive element.
Definition: Hit.h:57
Hit()
Constructor.
Definition: Hit.h:34
std::ostream & operator<<(std::ostream &os, const Vec3D &vec)
Write coordinates to stream.
Definition: Vec3D.h:323
virtual ~Hit()=default
Virtual destructor.
void SetEDep(float eDep)
Set the energy deposit of the hit.
Definition: Hit.h:51
float EDep() const
Get the deposited energy.
Definition: Hit.h:45
float _eDep
Deposited energy [GeV].
Definition: Hit.h:66
Hit object for transient data model.
Definition: Hit.h:30
Hit(float eDep, unsigned int volumeID)
Definition: Hit.h:36