CMS 3D CMS Logo

RPixEnergyDepositUnit.h
Go to the documentation of this file.
1 #ifndef SimPPS_PPSPixelDigiProducer_ENERGY_DEPOSIT_UNIT_H
2 #define SimPPS_PPSPixelDigiProducer_ENERGY_DEPOSIT_UNIT_H
3 
6 
12 public:
14 
15  RPixEnergyDepositUnit(double energy, double x, double y, double z) : energy_(energy), position_(x, y, z){};
16 
18 
19  inline double Energy() const { return energy_; }
20  inline const Local3DPoint& Position() const { return position_; }
21 
22  inline void setEnergy(double e) { energy_ = e; }
23  inline void setPosition(Local3DPoint p) { position_ = p; }
24 
25 private:
26  double energy_;
28 };
29 
30 #endif //SimPPS_PPSPixelDigiProducer_ENERGY_DEPOSIT_UNIT_H
RPixEnergyDepositUnit(double energy, double x, double y, double z)
void setPosition(Local3DPoint p)
const Local3DPoint & Position() const
static int position[264][3]
Definition: ReadPGInfo.cc:289
RPixEnergyDepositUnit(double energy, const Local3DPoint &position)