true particle for particle flow More...
#include <PFSimParticle.h>
Public Member Functions | |
const std::vector< int > & | daughterIds () const |
unsigned | id () const |
int | motherId () const |
int | pdgCode () const |
PFSimParticle () | |
PFSimParticle (double charge, int pdgCode, unsigned id, int motherId, const std::vector< int > &daughterIds, unsigned rectrackId, std::vector< unsigned > recHitContrib, std::vector< double > recHitContribFrac) | |
PFSimParticle (const PFSimParticle &other) | |
std::vector< unsigned > | recHitContrib () const |
std::vector< double > | recHitContribFrac () const |
unsigned | rectrackId () const |
Public Member Functions inherited from reco::PFTrack | |
void | addPoint (const reco::PFTrajectoryPoint &trajPt) |
void | calculatePositionREP () |
double | charge () const |
int | color () const |
const reco::PFTrajectoryPoint & | extrapolatedPoint (unsigned layerid) const |
std::vector < reco::PFTrajectoryPoint > ::const_iterator | innermostMeasurement () const |
iterator on innermost tracker measurement More... | |
unsigned int | nTrajectoryMeasurements () const |
unsigned int | nTrajectoryPoints () const |
std::vector < reco::PFTrajectoryPoint > ::const_iterator | outermostMeasurement () const |
iterator on outermost tracker measurement More... | |
PFTrack () | |
PFTrack (double charge) | |
PFTrack (const PFTrack &other) | |
void | setColor (int color) |
void | setPoint (unsigned int index, const reco::PFTrajectoryPoint &measurement) |
set a trajectory point More... | |
const reco::PFTrajectoryPoint & | trajectoryPoint (unsigned index) const |
const std::vector < reco::PFTrajectoryPoint > & | trajectoryPoints () const |
Private Attributes | |
std::vector< int > | daughterIds_ |
id of daughter particles (can be > 2 in hadron showers) More... | |
unsigned | id_ |
position in particle vector More... | |
int | motherId_ |
id of mother particle. -1 if no mother More... | |
int | pdgCode_ |
pdg code More... | |
std::vector< unsigned > | recHitContrib_ |
std::vector< double > | recHitContribFrac_ |
unsigned | rectrackId_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFSimParticle &track) |
Additional Inherited Members | |
Protected Attributes inherited from reco::PFTrack | |
double | charge_ |
charge More... | |
int | color_ |
color (transient) More... | |
unsigned int | indexInnermost_ |
index innermost tracker measurement More... | |
unsigned int | indexOutermost_ |
index outermost tracker measurement More... | |
std::vector < reco::PFTrajectoryPoint > | trajectoryPoints_ |
vector of trajectory points More... | |
Static Protected Attributes inherited from reco::PFTrack | |
static const unsigned int | nMaxTrackingLayers_ = 17 |
maximal number of tracking layers More... | |
true particle for particle flow
Additional information w/r to PFTrack:
Definition at line 19 of file PFSimParticle.h.
PFSimParticle::PFSimParticle | ( | ) |
Definition at line 8 of file PFSimParticle.cc.
PFSimParticle::PFSimParticle | ( | double | charge, |
int | pdgCode, | ||
unsigned | id, | ||
int | motherId, | ||
const std::vector< int > & | daughterIds, | ||
unsigned | rectrackId, | ||
std::vector< unsigned > | recHitContrib, | ||
std::vector< double > | recHitContribFrac | ||
) |
Definition at line 16 of file PFSimParticle.cc.
PFSimParticle::PFSimParticle | ( | const PFSimParticle & | other | ) |
Definition at line 33 of file PFSimParticle.cc.
|
inline |
Definition at line 44 of file PFSimParticle.h.
References daughterIds_.
Referenced by PFRootEventManager::countChargedAndPhotons(), PFRootEventManager::fillOutEventWithSimParticles(), CalibratableTest::findPrimarySimParticles(), PFRootEventManager::isHadronicTau(), PFRootEventManager::mcTruthMatching(), PFRootEventManager::print(), and PFRootEventManagerColin::processHIGH_E_TAUS().
|
inline |
|
inline |
Definition at line 41 of file PFSimParticle.h.
References motherId_.
Referenced by CalibratableTest::findPrimarySimParticles(), and DisplayManager::loadGSimParticles().
|
inline |
Definition at line 35 of file PFSimParticle.h.
References pdgCode_.
Referenced by PFRootEventManager::countChargedAndPhotons(), PFRootEventManager::fillOutEventWithClusters(), PFRootEventManager::fillOutEventWithSimParticles(), CalibratableTest::findPrimarySimParticles(), PFRootEventManager::isHadronicTau(), DisplayManager::loadGSimParticles(), PFRootEventManagerColin::processHIGH_E_TAUS(), and PFRootEventManager::tauBenchmark().
|
inline |
Definition at line 49 of file PFSimParticle.h.
References recHitContrib_.
Referenced by PFRootEventManager::mcTruthMatching(), and PFRootEventManager::print().
|
inline |
Definition at line 51 of file PFSimParticle.h.
References recHitContribFrac_.
Referenced by PFRootEventManager::mcTruthMatching(), and PFRootEventManager::print().
|
inline |
Definition at line 47 of file PFSimParticle.h.
References rectrackId_.
Referenced by PFRootEventManager::mcTruthMatching(), and PFRootEventManager::print().
|
friend |
|
private |
id of daughter particles (can be > 2 in hadron showers)
Definition at line 69 of file PFSimParticle.h.
Referenced by daughterIds().
|
private |
|
private |
id of mother particle. -1 if no mother
Definition at line 66 of file PFSimParticle.h.
Referenced by motherId().
|
private |
|
private |
Definition at line 72 of file PFSimParticle.h.
Referenced by recHitContrib().
|
private |
Definition at line 73 of file PFSimParticle.h.
Referenced by recHitContribFrac().
|
private |
Definition at line 71 of file PFSimParticle.h.
Referenced by rectrackId().