1 #ifndef SimDataFormats_PCaloHit_H 2 #define SimDataFormats_PCaloHit_H 10 PCaloHit(
float e = 0.,
float t = 0.,
int i = 0,
float emFraction = 1., uint16_t
d = 0)
13 PCaloHit(
unsigned int id,
float e = 0.,
float t = 0.,
int i = 0,
float emFraction = 1., uint16_t
d = 0)
15 PCaloHit(
float eEM,
float eHad,
float t,
int i = 0, uint16_t
d = 0);
16 PCaloHit(
unsigned int id,
float eEM,
float eHad,
float t,
int i = 0, uint16_t
d = 0);
19 static const char *
name() {
return "Hit"; }
78 #endif // _SimDataFormats_SimCaloHit_PCaloHit_h_
static const int kEcalDepthRefz
static const char * name()
EncodedEventId theEventId
PCaloHit(unsigned int id, float e=0., float t=0., int i=0, float emFraction=1., uint16_t d=0)
void setDepth(uint16_t depth)
bool operator<(const PCaloHit &d) const
void setEventId(EncodedEventId e)
EncodedEventId eventId() const
std::ostream & operator<<(std::ostream &, const PCaloHit &)
const char * getName() const
static const int kEcalDepthMask
static const int kEcalDepthOffset
PCaloHit(float e=0., float t=0., int i=0, float emFraction=1., uint16_t d=0)
bool operator==(const PCaloHit &d) const
void setID(unsigned int id)
static const int kEcalDepthIdMask