1 #ifndef SimDataFormats_PassiveHit_H 2 #define SimDataFormats_PassiveHit_H 34 :
vname_(
""),
id_(0),
energy_(0),
etotal_(0),
time_(0),
it_(0),
ip_(0),
stepl_(0),
xp_(0),
yp_(0),
zp_(0) {}
37 static const char *
name() {
return "PassiveHit"; }
61 unsigned int id()
const {
return id_; }
72 float x()
const {
return xp_; }
74 float y()
const {
return yp_; }
76 float z()
const {
return zp_; }
106 #endif // _SimDataFormats_SimCaloHit_PassiveHit_h_
const char * getName() const
void setID(std::string vname, unsigned int id)
std::ostream & operator<<(std::ostream &, const PassiveHit &)
void setStepLength(float stepl)
static const char * name()
std::vector< PassiveHit > PassiveHitContainer
std::string vname() const
void setEnergyTotal(double e)
PassiveHit(std::string vname, unsigned int id, float e=0, float etot=0, float t=0, int it=0, int ip=0, float stepl=0, float xp=0, float yp=0, float zp=0)
bool operator<(const PassiveHit &d) const
bool operator==(const PassiveHit &d) const
double energyTotal() const