11 myId(
count), myTruthEnergy(truthEnergy), myEta(eta), myPhi(phi) {
36 for (std::vector<Deposition>::const_iterator cit =
myRecDepositions.begin(); cit
49 for (std::vector<Deposition>::const_iterator cit =
myRecDepositions.begin(); cit
62 for (std::vector<Deposition>::const_iterator
69 assert(!(energy > 0));
76 for (std::vector<Deposition>::const_iterator cit =
myRecDepositions.begin(); cit
104 s <<
"\tEta:\t" << p.
getEta() <<
",\tphi:\t" << p.
getPhi() <<
"\n";
105 for (std::vector<Deposition>::const_iterator cit = p.
getRecDepositions().begin(); cit
109 s <<
"\t" << *de <<
": \t=> E_contrib = ";
virtual const std::vector< Deposition > & getRecDepositions() const
virtual double getEnergyResolution() const
virtual ~ParticleDeposit()
virtual void setRecEnergy(const DetectorElementPtr de, double energy)
double getTargetFunctionContrib() const
virtual unsigned getId() const
virtual double getRecEnergy() const
virtual void addRecDeposition(const Deposition &rec)
virtual double getTruthEnergy() const
std::vector< Deposition > myTruthDepositions
std::vector< Deposition > myRecDepositions
virtual double getPhi() const
virtual void addTruthDeposition(const Deposition &truth)
virtual double getRecEnergy(const DetectorElementPtr de) const
ParticleDeposit(double truthEnergy=-1.0, double eta=0, double phi=0)
virtual std::vector< Deposition > getTruthDepositions() const
Power< A, B >::type pow(const A &a, const B &b)