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
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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)
void setEventId(EncodedEventId e)
bool operator==(const PCaloHit &d) 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)
EncodedEventId eventId() const
void setID(unsigned int id)
const char * getName() const
bool operator<(const PCaloHit &d) const
static const int kEcalDepthIdMask