#include <ParticleDeposit.h>
Public Member Functions | |
virtual void | addRecDeposition (const Deposition &rec) |
virtual void | addTruthDeposition (const Deposition &truth) |
virtual double | getEnergyResolution () const |
double | getEta () const |
virtual unsigned | getId () const |
virtual double | getPhi () const |
virtual const std::vector < Deposition > & | getRecDepositions () const |
virtual double | getRecEnergy (const DetectorElementPtr de) const |
virtual double | getRecEnergy () const |
double | getTargetFunctionContrib () const |
virtual std::vector< Deposition > | getTruthDepositions () const |
virtual double | getTruthEnergy () const |
virtual double | getTruthEnergy (const DetectorElementPtr de) const |
ParticleDeposit (double truthEnergy=-1.0, double eta=0, double phi=0) | |
void | setEta (const double eta) |
void | setPhi (const double phi) |
virtual void | setRecEnergy (const DetectorElementPtr de, double energy) |
void | setTruthEnergy (const double truth) |
virtual | ~ParticleDeposit () |
Private Attributes | |
double | myEta |
unsigned | myId |
double | myPhi |
std::vector< Deposition > | myRecDepositions |
std::vector< Deposition > | myTruthDepositions |
double | myTruthEnergy |
std::vector< ParticleDeposit * > | pdps_ |
Static Private Attributes | |
static unsigned | count = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &s, const ParticleDeposit &p) |
Definition at line 21 of file ParticleDeposit.h.
ParticleDeposit::ParticleDeposit | ( | double | truthEnergy = -1.0 , |
double | eta = 0 , |
||
double | phi = 0 |
||
) |
|
virtual |
Definition at line 15 of file ParticleDeposit.cc.
|
virtual |
Definition at line 18 of file ParticleDeposit.cc.
References myRecDepositions.
|
virtual |
Definition at line 22 of file ParticleDeposit.cc.
References myTruthDepositions.
|
virtual |
Definition at line 91 of file ParticleDeposit.cc.
References getRecEnergy(), myTruthEnergy, and mathSSE::sqrt().
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Definition at line 30 of file ParticleDeposit.cc.
References myRecDepositions.
|
virtual |
Definition at line 34 of file ParticleDeposit.cc.
References ztail::d, relval_parameters_module::energy, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), pftools::Deposition::getEta(), pftools::Deposition::getPhi(), and myRecDepositions.
|
virtual |
Definition at line 74 of file ParticleDeposit.cc.
References ztail::d, relval_parameters_module::energy, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), pftools::Deposition::getEta(), pftools::Deposition::getPhi(), and myRecDepositions.
Referenced by getEnergyResolution(), and getTargetFunctionContrib().
double ParticleDeposit::getTargetFunctionContrib | ( | ) | const |
Definition at line 96 of file ParticleDeposit.cc.
References getRecEnergy(), myTruthEnergy, and funct::pow().
|
virtual |
Definition at line 26 of file ParticleDeposit.cc.
References myTruthDepositions.
|
inlinevirtual |
|
virtual |
Definition at line 60 of file ParticleDeposit.cc.
References assert(), ztail::d, relval_parameters_module::energy, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), and myTruthDepositions.
|
inline |
Definition at line 76 of file ParticleDeposit.h.
|
inline |
Definition at line 72 of file ParticleDeposit.h.
|
virtual |
Definition at line 48 of file ParticleDeposit.cc.
References ztail::d, pftools::Deposition::getDetectorElement(), myRecDepositions, and pftools::Deposition::setEnergy().
|
inline |
|
friend |
|
staticprivate |
Definition at line 85 of file ParticleDeposit.h.
Referenced by ParticleDeposit().
|
private |
Definition at line 92 of file ParticleDeposit.h.
|
private |
Definition at line 89 of file ParticleDeposit.h.
Referenced by getId().
|
private |
Definition at line 93 of file ParticleDeposit.h.
|
private |
Definition at line 87 of file ParticleDeposit.h.
Referenced by addRecDeposition(), getRecDepositions(), getRecEnergy(), and setRecEnergy().
|
private |
Definition at line 88 of file ParticleDeposit.h.
Referenced by addTruthDeposition(), getTruthDepositions(), and getTruthEnergy().
|
private |
Definition at line 91 of file ParticleDeposit.h.
Referenced by getEnergyResolution(), getTargetFunctionContrib(), getTruthEnergy(), and setTruthEnergy().
|
private |
Definition at line 98 of file ParticleDeposit.h.