#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 |
Definition at line 21 of file ParticleDeposit.h.
ParticleDeposit::ParticleDeposit | ( | double | truthEnergy = -1.0 , |
double | eta = 0 , |
||
double | phi = 0 |
||
) |
Definition at line 10 of file ParticleDeposit.cc.
References count.
|
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().
Referenced by getTruthEnergy(), and pftools::operator<<().
|
inline |
Definition at line 60 of file ParticleDeposit.h.
References myEta.
Referenced by pftools::operator<<().
|
inlinevirtual |
Definition at line 56 of file ParticleDeposit.h.
References myId.
Referenced by pftools::operator<<().
|
inlinevirtual |
Definition at line 64 of file ParticleDeposit.h.
References myPhi.
Referenced by pftools::operator<<().
|
virtual |
Definition at line 30 of file ParticleDeposit.cc.
References myRecDepositions.
Referenced by pftools::operator<<().
|
virtual |
Definition at line 34 of file ParticleDeposit.cc.
References edmIntegrityCheck::d, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), pftools::Deposition::getEta(), pftools::Deposition::getPhi(), and myRecDepositions.
Referenced by pftools::operator<<().
|
virtual |
Definition at line 74 of file ParticleDeposit.cc.
References edmIntegrityCheck::d, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), pftools::Deposition::getEta(), pftools::Deposition::getPhi(), and myRecDepositions.
Referenced by getEnergyResolution(), getTargetFunctionContrib(), and getTruthEnergy().
double ParticleDeposit::getTargetFunctionContrib | ( | ) | const |
Definition at line 96 of file ParticleDeposit.cc.
References getRecEnergy(), myTruthEnergy, and funct::pow().
Referenced by setEta().
|
virtual |
Definition at line 26 of file ParticleDeposit.cc.
References myTruthDepositions.
|
inlinevirtual |
Definition at line 36 of file ParticleDeposit.h.
References getEnergyResolution(), getRecEnergy(), myTruthEnergy, and setRecEnergy().
Referenced by pftools::operator<<().
|
virtual |
Definition at line 60 of file ParticleDeposit.cc.
References edmIntegrityCheck::d, pftools::Deposition::getDetectorElement(), pftools::Deposition::getEnergy(), and myTruthDepositions.
|
inline |
Definition at line 76 of file ParticleDeposit.h.
References PVValHelper::eta, getTargetFunctionContrib(), and myEta.
|
inline |
|
virtual |
Definition at line 48 of file ParticleDeposit.cc.
References edmIntegrityCheck::d, pftools::Deposition::getDetectorElement(), myRecDepositions, and pftools::Deposition::setEnergy().
Referenced by getTruthEnergy().
|
inline |
|
staticprivate |
Definition at line 83 of file ParticleDeposit.h.
Referenced by ParticleDeposit().
|
private |
Definition at line 90 of file ParticleDeposit.h.
|
private |
Definition at line 87 of file ParticleDeposit.h.
Referenced by getId().
|
private |
Definition at line 91 of file ParticleDeposit.h.
|
private |
Definition at line 85 of file ParticleDeposit.h.
Referenced by addRecDeposition(), getRecDepositions(), getRecEnergy(), and setRecEnergy().
|
private |
Definition at line 86 of file ParticleDeposit.h.
Referenced by addTruthDeposition(), getTruthDepositions(), and getTruthEnergy().
|
private |
Definition at line 89 of file ParticleDeposit.h.
Referenced by getEnergyResolution(), getTargetFunctionContrib(), getTruthEnergy(), and setTruthEnergy().
|
private |
Definition at line 96 of file ParticleDeposit.h.