#include <DataFormats/ParticleFlowReco/interface/PFSimParticle.h>
Public Member Functions | |
const std::vector< int > & | daughterIds () const |
| |
unsigned | id () const |
| |
int | motherId () const |
| |
int | pdgCode () const |
| |
PFSimParticle (const PFSimParticle &other) | |
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 () | |
std::vector< unsigned > | recHitContrib () const |
std::vector< double > | recHitContribFrac () const |
unsigned | rectrackId () const |
Private Attributes | |
std::vector< int > | daughterIds_ |
id of daughter particles (can be > 2 in hadron showers) | |
unsigned | id_ |
position in particle vector | |
int | motherId_ |
id of mother particle. -1 if no mother | |
int | pdgCode_ |
pdg code | |
std::vector< unsigned > | recHitContrib_ |
std::vector< double > | recHitContribFrac_ |
unsigned | rectrackId_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFSimParticle &track) |
Additional information w/r to PFTrack:
Definition at line 19 of file PFSimParticle.h.
PFSimParticle::PFSimParticle | ( | ) |
reco::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::PFSimParticle | ( | const PFSimParticle & | other | ) |
Definition at line 33 of file PFSimParticle.cc.
00033 : 00034 PFTrack(other), 00035 pdgCode_(other.pdgCode_), 00036 id_(other.id_), 00037 motherId_(other.motherId_), 00038 daughterIds_(other.daughterIds_), 00039 rectrackId_(other.rectrackId_), 00040 recHitContrib_(other.recHitContrib_), 00041 recHitContribFrac_(other.recHitContribFrac_) 00042 {}
const std::vector<int>& reco::PFSimParticle::daughterIds | ( | ) | const [inline] |
Definition at line 44 of file PFSimParticle.h.
References daughterIds_.
Referenced by PFRootEventManager::countChargedAndPhotons(), PFRootEventManager::fillOutEventWithSimParticles(), PFRootEventManager::isHadronicTau(), PFRootEventManager::mcTruthMatching(), and PFRootEventManagerColin::processHIGH_E_TAUS().
00044 {return daughterIds_;}
unsigned reco::PFSimParticle::id | ( | void | ) | const [inline] |
Definition at line 38 of file PFSimParticle.h.
References id_.
Referenced by reco::operator<<().
00038 { return id_; }
int reco::PFSimParticle::motherId | ( | ) | const [inline] |
Definition at line 41 of file PFSimParticle.h.
References motherId_.
Referenced by DisplayManager::loadGSimParticles(), and reco::operator<<().
00041 { return motherId_; }
int reco::PFSimParticle::pdgCode | ( | ) | const [inline] |
Definition at line 35 of file PFSimParticle.h.
References pdgCode_.
Referenced by PFRootEventManager::countChargedAndPhotons(), PFRootEventManager::fillOutEventWithClusters(), PFRootEventManager::fillOutEventWithSimParticles(), PFRootEventManager::isHadronicTau(), DisplayManager::loadGSimParticles(), reco::operator<<(), PFRootEventManagerColin::processHIGH_E_TAUS(), and PFRootEventManager::tauBenchmark().
00035 {return pdgCode_; }
std::vector<unsigned> reco::PFSimParticle::recHitContrib | ( | ) | const [inline] |
Definition at line 49 of file PFSimParticle.h.
References recHitContrib_.
Referenced by PFRootEventManager::mcTruthMatching().
00050 {return recHitContrib_;}
std::vector<double> reco::PFSimParticle::recHitContribFrac | ( | ) | const [inline] |
Definition at line 51 of file PFSimParticle.h.
References recHitContribFrac_.
Referenced by PFRootEventManager::mcTruthMatching().
00052 {return recHitContribFrac_;}
unsigned reco::PFSimParticle::rectrackId | ( | ) | const [inline] |
Definition at line 47 of file PFSimParticle.h.
References rectrackId_.
Referenced by PFRootEventManager::mcTruthMatching().
00048 {return rectrackId_;}
std::ostream& operator<< | ( | std::ostream & | out, | |
const PFSimParticle & | track | |||
) | [friend] |
std::vector<int> reco::PFSimParticle::daughterIds_ [private] |
id of daughter particles (can be > 2 in hadron showers)
Definition at line 69 of file PFSimParticle.h.
Referenced by daughterIds(), and reco::operator<<().
unsigned reco::PFSimParticle::id_ [private] |
int reco::PFSimParticle::motherId_ [private] |
id of mother particle. -1 if no mother
Definition at line 66 of file PFSimParticle.h.
Referenced by motherId().
int reco::PFSimParticle::pdgCode_ [private] |
std::vector<unsigned> reco::PFSimParticle::recHitContrib_ [private] |
std::vector<double> reco::PFSimParticle::recHitContribFrac_ [private] |
unsigned reco::PFSimParticle::rectrackId_ [private] |