CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RPEnergyDepositUnit.h
Go to the documentation of this file.
1 #ifndef SimPPS_RPDigiProducer_RP_ENERGY_DEPOSIT_UNIT_H
2 #define SimPPS_RPDigiProducer_RP_ENERGY_DEPOSIT_UNIT_H
3 
6 
12 public:
14  RPEnergyDepositUnit(double energy, double x, double y, double z) : energy_(energy), position_(x, y, z) {}
16  inline double Energy() const { return energy_; }
17  inline const Local3DPoint& Position() const { return position_; }
18 
19  inline void setEnergy(double e) { energy_ = e; }
20  inline void setPosition(Local3DPoint p) { position_ = p; }
21 
22 private:
23  double energy_;
25 };
26 
27 #endif //SimPPS_RPDigiProducer_RP_ENERGY_DEPOSIT_UNIT_H
void setEnergy(double e)
RPEnergyDepositUnit(double energy, const Local3DPoint &position)
void setPosition(Local3DPoint p)
RPEnergyDepositUnit(double energy, double x, double y, double z)
static int position[264][3]
Definition: ReadPGInfo.cc:289
const Local3DPoint & Position() const