1 #ifndef SimDataFormats_PassiveHit_H 2 #define SimDataFormats_PassiveHit_H 19 static const char *
name() {
return "PassiveHit"; }
40 unsigned int id()
const {
return id_; }
66 #endif // _SimDataFormats_SimCaloHit_PassiveHit_h_
void setID(std::string vname, unsigned int id)
bool operator<(const PassiveHit &d) const
std::ostream & operator<<(std::ostream &, const PassiveHit &)
std::string vname() const
const char * getName() const
static const char * name()
std::vector< PassiveHit > PassiveHitContainer
void setEnergyTotal(double e)
bool operator==(const PassiveHit &d) const
double energyTotal() const
PassiveHit(std::string vname, unsigned int id, float e=0, float etot=0, float t=0, int it=0)