CMS 3D CMS Logo

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
RPEnergyDepositUnit::Energy
double Energy() const
Definition: RPEnergyDepositUnit.h:16
DDAxes::y
RPEnergyDepositUnit::RPEnergyDepositUnit
RPEnergyDepositUnit()
Definition: RPEnergyDepositUnit.h:13
RPEnergyDepositUnit::energy_
double energy_
Definition: RPEnergyDepositUnit.h:23
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
RPEnergyDepositUnit::setPosition
void setPosition(Local3DPoint p)
Definition: RPEnergyDepositUnit.h:20
DDAxes::x
RPEnergyDepositUnit::position_
Local3DPoint position_
Definition: RPEnergyDepositUnit.h:24
DDAxes::z
RPEnergyDepositUnit::setEnergy
void setEnergy(double e)
Definition: RPEnergyDepositUnit.h:19
RPEnergyDepositUnit::RPEnergyDepositUnit
RPEnergyDepositUnit(double energy, double x, double y, double z)
Definition: RPEnergyDepositUnit.h:14
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
Point3DBase< float, LocalTag >
RPEnergyDepositUnit
Definition: RPEnergyDepositUnit.h:11
RPEnergyDepositUnit::RPEnergyDepositUnit
RPEnergyDepositUnit(double energy, const Local3DPoint &position)
Definition: RPEnergyDepositUnit.h:15
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
LocalPoint.h
RPEnergyDepositUnit::Position
const Local3DPoint & Position() const
Definition: RPEnergyDepositUnit.h:17
LocalVector.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37