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 (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) | |
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) |
true particle for particle flow
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.
: PFTrack(other), pdgCode_(other.pdgCode_), id_(other.id_), motherId_(other.motherId_), daughterIds_(other.daughterIds_), rectrackId_(other.rectrackId_), recHitContrib_(other.recHitContrib_), recHitContribFrac_(other.recHitContribFrac_) {}
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(), CalibratableTest::findPrimarySimParticles(), PFRootEventManager::isHadronicTau(), PFRootEventManager::mcTruthMatching(), and PFRootEventManagerColin::processHIGH_E_TAUS().
{return daughterIds_;}
unsigned reco::PFSimParticle::id | ( | void | ) | const [inline] |
int reco::PFSimParticle::motherId | ( | ) | const [inline] |
Definition at line 41 of file PFSimParticle.h.
References motherId_.
Referenced by CalibratableTest::findPrimarySimParticles(), and DisplayManager::loadGSimParticles().
{ 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(), CalibratableTest::findPrimarySimParticles(), PFRootEventManager::isHadronicTau(), DisplayManager::loadGSimParticles(), PFRootEventManagerColin::processHIGH_E_TAUS(), and PFRootEventManager::tauBenchmark().
{return pdgCode_; }
std::vector<unsigned> reco::PFSimParticle::recHitContrib | ( | ) | const [inline] |
Definition at line 49 of file PFSimParticle.h.
References recHitContrib_.
Referenced by PFRootEventManager::mcTruthMatching().
{return recHitContrib_;}
std::vector<double> reco::PFSimParticle::recHitContribFrac | ( | ) | const [inline] |
Definition at line 51 of file PFSimParticle.h.
References recHitContribFrac_.
Referenced by PFRootEventManager::mcTruthMatching().
{return recHitContribFrac_;}
unsigned reco::PFSimParticle::rectrackId | ( | ) | const [inline] |
Definition at line 47 of file PFSimParticle.h.
References rectrackId_.
Referenced by PFRootEventManager::mcTruthMatching().
{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().
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] |
Definition at line 72 of file PFSimParticle.h.
Referenced by recHitContrib().
std::vector<double> reco::PFSimParticle::recHitContribFrac_ [private] |
Definition at line 73 of file PFSimParticle.h.
Referenced by recHitContribFrac().
unsigned reco::PFSimParticle::rectrackId_ [private] |
Definition at line 71 of file PFSimParticle.h.
Referenced by rectrackId().