#include <TrackingParticle.h>
Public Member Functions | |
void | addDecayVertex (const TrackingVertexRef &) |
void | addG4Track (const SimTrack &) |
void | addGenParticle (const GenParticleRef &) |
void | addPSimHit (const PSimHit &) |
void | clearDecayVertices () |
void | clearParentVertex () |
const TrackingVertexRefVector & | decayVertices () const |
tv_iterator | decayVertices_begin () const |
tv_iterator | decayVertices_end () const |
EncodedEventId | eventId () const |
g4t_iterator | g4Track_begin () const |
g4t_iterator | g4Track_end () const |
const std::vector< SimTrack > & | g4Tracks () const |
const GenParticleRefVector & | genParticle () const |
genp_iterator | genParticle_begin () const |
iterators More... | |
genp_iterator | genParticle_end () const |
int | matchedHit () const |
const TrackingVertexRef & | parentVertex () const |
int | pdgId () const |
PDG id, signal source, crossing number. More... | |
const std::vector< PSimHit > ::const_iterator | pSimHit_begin () const |
const std::vector< PSimHit > ::const_iterator | pSimHit_end () const |
void | setMatchedHit (const int &) |
void | setParentVertex (const TrackingVertexRef &) |
void | setVertex (const Point &vtx, double t) |
TrackingParticle () | |
default constructor More... | |
TrackingParticle (char q, const LorentzVector &p4, const Point &vtx, double t, const int pdgId, const int status, const EncodedEventId eventId) | |
constructor from pointer to generator particle More... | |
const std::vector< PSimHit > & | trackPSimHit () const |
std::vector< PSimHit > | trackPSimHit (DetId::Detector) const |
~TrackingParticle () | |
Public Member Functions inherited from ParticleBase | |
Vector | boostToCM () const |
int | charge () const |
electric charge More... | |
double | energy () const |
energy More... | |
double | et () const |
transverse energy More... | |
double | eta () const |
momentum pseudorapidity More... | |
bool | longLived () const |
is long lived? More... | |
double | mass () const |
mass More... | |
double | massSqr () const |
mass squared More... | |
Vector | momentum () const |
spatial momentum vector More... | |
double | mt () const |
transverse mass More... | |
double | mtSqr () const |
transverse mass squared More... | |
double | p () const |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
ParticleBase () | |
default constructor More... | |
ParticleBase (Charge q, const LorentzVector &p4, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
ParticleBase (Charge q, const PolarLorentzVector &p4, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
int | pdgId () const |
PDG identifier. More... | |
double | phi () const |
momentum azimuthal angle More... | |
const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
double | pt () const |
transverse momentum More... | |
double | px () const |
x coordinate of momentum vector More... | |
double | py () const |
y coordinate of momentum vector More... | |
double | pz () const |
z coordinate of momentum vector More... | |
double | rapidity () const |
repidity More... | |
void | setCharge (Charge q) |
set electric charge More... | |
void | setLongLived () |
set long lived flag More... | |
void | setMass (double m) |
set particle mass More... | |
void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
void | setPdgId (int pdgId) |
void | setPz (double pz) |
void | setStatus (int status) |
set status word More... | |
void | setThreeCharge (Charge qx3) |
set electric charge More... | |
void | setVertex (const Point &vertex) |
set vertex More... | |
int | status () const |
status word More... | |
double | theta () const |
momentum polar angle More... | |
int | threeCharge () const |
electric charge More... | |
const Point & | vertex () const |
vertex position More... | |
double | vx () const |
x coordinate of vertex position More... | |
double | vy () const |
y coordinate of vertex position More... | |
double | vz () const |
z coordinate of vertex position More... | |
double | y () const |
repidity More... | |
virtual | ~ParticleBase () |
destructor More... | |
Private Attributes | |
TrackingVertexRefVector | decayVertices_ |
EncodedEventId | eventId_ |
std::vector< SimTrack > | g4Tracks_ |
references to G4 and HepMC tracks More... | |
GenParticleRefVector | genParticles_ |
int | matchedHit_ |
Total Number of Hits belonging to the TrackingParticle. More... | |
TrackingVertexRef | parentVertex_ |
int | pdgId_ |
PDG identifier, signal source, crossing number. More... | |
float | t_ |
production time More... | |
std::vector< PSimHit > | trackPSimHit_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, TrackingParticle const &tp) |
Additional Inherited Members | |
Static Public Attributes inherited from ParticleBase | |
static const unsigned int | longLivedTag = 65536 |
long lived flag More... | |
Protected Member Functions inherited from ParticleBase | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
Protected Attributes inherited from ParticleBase | |
edm::BoolCache | cacheCartesianFixed_ |
edm::BoolCache | cachePolarFixed_ |
has cache been set? More... | |
float | eta_ |
float | mass_ |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 More... | |
int | pdgId_ |
PDG identifier. More... | |
float | phi_ |
float | pt_ |
four-momentum Lorentz vector More... | |
Charge | qx3_ |
electric charge More... | |
int | status_ |
status word More... | |
Point | vertex_ |
vertex position More... | |
Definition at line 25 of file TrackingParticle.h.
typedef std::multimap<DetId::Detector, PSimHit> TrackingParticle::DetectorToPSimHit |
Definition at line 43 of file TrackingParticle.h.
typedef std::vector<SimTrack>::const_iterator TrackingParticle::g4t_iterator |
Definition at line 36 of file TrackingParticle.h.
Definition at line 35 of file TrackingParticle.h.
typedef edm::Ref<edm::HepMCProduct, HepMC::GenParticle > TrackingParticle::GenParticleRef |
Definition at line 34 of file TrackingParticle.h.
typedef edm::RefVector<edm::HepMCProduct, HepMC::GenParticle > TrackingParticle::GenParticleRefVector |
reference to HepMC::GenParticle
Definition at line 33 of file TrackingParticle.h.
typedef std::vector<TrackingVertex> TrackingParticle::TrackingVertexCollection |
Definition at line 38 of file TrackingParticle.h.
Definition at line 39 of file TrackingParticle.h.
Definition at line 40 of file TrackingParticle.h.
Definition at line 41 of file TrackingParticle.h.
|
inline |
TrackingParticle::TrackingParticle | ( | char | q, |
const LorentzVector & | p4, | ||
const Point & | vtx, | ||
double | t, | ||
const int | pdgId, | ||
const int | status, | ||
const EncodedEventId | eventId | ||
) |
constructor from pointer to generator particle
Definition at line 8 of file TrackingParticle.cc.
TrackingParticle::~TrackingParticle | ( | ) |
Definition at line 14 of file TrackingParticle.cc.
void TrackingParticle::addDecayVertex | ( | const TrackingVertexRef & | ref | ) |
Definition at line 77 of file TrackingParticle.cc.
References decayVertices_, and edm::RefVector< C, T, F >::push_back().
Referenced by TrackingTruthProducer::mergeBremsstrahlung().
void TrackingParticle::addG4Track | ( | const SimTrack & | t | ) |
Definition at line 23 of file TrackingParticle.cc.
References g4Tracks_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and TrackingTruthProducer::setTrackingParticle().
void TrackingParticle::addGenParticle | ( | const GenParticleRef & | ) |
Definition at line 18 of file TrackingParticle.cc.
References genParticles_, and edm::RefVector< C, T, F >::push_back().
Referenced by TrackingTruthProducer::setTrackingParticle().
void TrackingParticle::addPSimHit | ( | const PSimHit & | hit | ) |
Definition at line 28 of file TrackingParticle.cc.
References trackPSimHit_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and TrackingTruthProducer::setTrackingParticle().
void TrackingParticle::clearDecayVertices | ( | ) |
Definition at line 87 of file TrackingParticle.cc.
References edm::RefVector< C, T, F >::clear(), and decayVertices_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung().
void TrackingParticle::clearParentVertex | ( | ) |
Definition at line 82 of file TrackingParticle.cc.
References parentVertex_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung().
|
inline |
Definition at line 111 of file TrackingParticle.h.
References decayVertices_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and operator<<().
|
inline |
Definition at line 115 of file TrackingParticle.h.
References edm::RefVector< C, T, F >::begin(), and decayVertices_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and operator<<().
|
inline |
Definition at line 119 of file TrackingParticle.h.
References decayVertices_, and edm::RefVector< C, T, F >::end().
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and operator<<().
|
inline |
Definition at line 60 of file TrackingParticle.h.
References eventId_.
Referenced by TrackingParticleSelector::operator()(), and operator<<().
TrackingParticle::g4t_iterator TrackingParticle::g4Track_begin | ( | ) | const |
Definition at line 43 of file TrackingParticle.cc.
References g4Tracks_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and operator<<().
TrackingParticle::g4t_iterator TrackingParticle::g4Track_end | ( | ) | const |
Definition at line 48 of file TrackingParticle.cc.
References g4Tracks_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung(), and operator<<().
|
inline |
Definition at line 93 of file TrackingParticle.h.
References g4Tracks_.
|
inline |
TrackingParticle::genp_iterator TrackingParticle::genParticle_begin | ( | ) | const |
iterators
Definition at line 33 of file TrackingParticle.cc.
References edm::RefVector< C, T, F >::begin(), and genParticles_.
Referenced by operator<<().
TrackingParticle::genp_iterator TrackingParticle::genParticle_end | ( | ) | const |
Definition at line 38 of file TrackingParticle.cc.
References edm::RefVector< C, T, F >::end(), and genParticles_.
Referenced by operator<<().
|
inline |
Definition at line 123 of file TrackingParticle.h.
References matchedHit_.
Referenced by TrackingParticleSelector::operator()(), and CosmicTrackingParticleSelector::operator()().
|
inline |
Definition at line 97 of file TrackingParticle.h.
References parentVertex_.
Referenced by V0Validator::analyze(), TrackingTruthProducer::mergeBremsstrahlung(), RecoTracktoTP::numTPMothers(), TPtoRecoTrack::numTPMothers(), RecoTracktoTP::numTPSourceTracks(), TPtoRecoTrack::numTPSourceTracks(), operator<<(), ShallowSimTracksProducer::produce(), RecoTracktoTP::TPMother(), and TPtoRecoTrack::TPMother().
|
inline |
PDG id, signal source, crossing number.
Definition at line 56 of file TrackingParticle.h.
References pdgId_.
Referenced by V0Validator::analyze(), TrackingTruthProducer::mergeBremsstrahlung(), TrackingParticleSelector::operator()(), CosmicTrackingParticleSelector::operator()(), operator<<(), and ShallowSimTracksProducer::produce().
const std::vector< PSimHit >::const_iterator TrackingParticle::pSimHit_begin | ( | ) | const |
Returns the begin of the vector of ALL the PSimHits of the TrackingParticle
Definition at line 53 of file TrackingParticle.cc.
References trackPSimHit_.
Referenced by RecoMuonValidator::MuonME::fill(), and TrackingTruthProducer::mergeBremsstrahlung().
const std::vector< PSimHit >::const_iterator TrackingParticle::pSimHit_end | ( | ) | const |
Returns the end of the vector of ALL the PSimHits of the TrackingParticle
Definition at line 58 of file TrackingParticle.cc.
References trackPSimHit_.
Referenced by RecoMuonValidator::MuonME::fill(), and TrackingTruthProducer::mergeBremsstrahlung().
void TrackingParticle::setMatchedHit | ( | const int & | hitnumb | ) |
Definition at line 92 of file TrackingParticle.cc.
References matchedHit_.
Referenced by TrackingTruthProducer::setTrackingParticle().
void TrackingParticle::setParentVertex | ( | const TrackingVertexRef & | ref | ) |
Definition at line 72 of file TrackingParticle.cc.
References parentVertex_.
Referenced by TrackingTruthProducer::mergeBremsstrahlung().
void TrackingParticle::setVertex | ( | const Point & | vtx, |
double | t | ||
) |
Definition at line 97 of file TrackingParticle.cc.
References ParticleBase::setVertex(), matplotRender::t, and t_.
|
inline |
The vector of ALL the PSimHits of the TrackingParticle
Definition at line 102 of file TrackingParticle.h.
References trackPSimHit_.
Referenced by MultiTrackValidator::analyze(), MuonTrackValidator::analyze(), FWTrackingParticleProxyBuilder::build(), TrackAssociatorByPosition::getState(), CosmicParametersDefinerForTP::momentum(), CosmicTrackingParticleSelector::operator()(), operator<<(), and CosmicParametersDefinerForTP::vertex().
std::vector< PSimHit > TrackingParticle::trackPSimHit | ( | DetId::Detector | detector | ) | const |
Definition at line 63 of file TrackingParticle.cc.
References DetId::det(), query::result, and trackPSimHit_.
|
friend |
Concrete TrackingParticle. All track parameters are passed in the constructor and stored internally.
Definition at line 12 of file TrackingDataPrint.h.
|
private |
Definition at line 148 of file TrackingParticle.h.
Referenced by addDecayVertex(), clearDecayVertices(), decayVertices(), decayVertices_begin(), and decayVertices_end().
|
private |
Definition at line 134 of file TrackingParticle.h.
Referenced by eventId().
|
private |
references to G4 and HepMC tracks
Definition at line 140 of file TrackingParticle.h.
Referenced by addG4Track(), g4Track_begin(), g4Track_end(), and g4Tracks().
|
private |
Definition at line 141 of file TrackingParticle.h.
Referenced by addGenParticle(), genParticle(), genParticle_begin(), and genParticle_end().
|
private |
Total Number of Hits belonging to the TrackingParticle.
Definition at line 137 of file TrackingParticle.h.
Referenced by matchedHit(), and setMatchedHit().
|
private |
Definition at line 147 of file TrackingParticle.h.
Referenced by clearParentVertex(), parentVertex(), and setParentVertex().
|
private |
PDG identifier, signal source, crossing number.
Definition at line 133 of file TrackingParticle.h.
Referenced by pdgId().
|
private |
|
private |
Definition at line 144 of file TrackingParticle.h.
Referenced by addPSimHit(), pSimHit_begin(), pSimHit_end(), and trackPSimHit().