#include <SimG4Core/Application/interface/SimTrackManager.h>
Classes | |
class | StrictWeakOrdering |
Public Types | |
typedef std::pair< int, math::XYZVectorD > | MapVertexPosition |
this map contains association between vertex number and position More... | |
typedef std::vector< std::pair < int, math::XYZVectorD > > | MapVertexPositionVector |
typedef std::map< int, MapVertexPositionVector > | MotherParticleToVertexMap |
typedef MotherParticleToVertexMap | VertexMap |
Public Member Functions | |
void | addTkCaloStateInfo (uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p) |
void | addTrack (TrackWithHistory *iTrack, bool inHistory, bool withAncestor) |
void | cleanTkCaloStateInfoMap () |
void | cleanTracksWithHistory () |
void | deleteTracks () |
int | giveMotherNeeded (int i) const |
void | reset () |
void | setCollapsePrimaryVertices (bool iSet) |
void | setLHCTransportLink (const edm::LHCTransportLinkContainer *thisLHCTlink) |
SimTrackManager (bool iCollapsePrimaryVertices=false) | |
void | storeTracks (G4SimEvent *simEvent) |
const TrackContainer * | trackContainer () const |
bool | trackExists (unsigned int i) const |
virtual | ~SimTrackManager () |
Private Member Functions | |
void | cleanVertexMap () |
void | fillMotherList () |
int | getOrCreateVertex (TrackWithHistory *, int, G4SimEvent *simEvent) |
int | idSavedTrack (int) const |
const SimTrackManager & | operator= (const SimTrackManager &) |
void | reallyStoreTracks (G4SimEvent *simEvent) |
void | resetGenID () |
void | saveTrackAndItsBranch (TrackWithHistory *) |
this saves a track and all its parents looping over the non ordered vector More... | |
SimTrackManager (const SimTrackManager &) | |
Private Attributes | |
std::vector< std::pair< int, int > > | ancestorList |
std::vector< std::pair< int, int > > | idsave |
unsigned int | lastHist |
unsigned int | lastTrack |
bool | m_collapsePrimaryVertices |
int | m_nVertices |
bool | m_SaveSimTracks |
TrackContainer * | m_trksForThisEvent |
MotherParticleToVertexMap | m_vertexMap |
std::map< uint32_t, std::pair < math::XYZVectorD, math::XYZTLorentzVectorD > > | mapTkCaloStateInfo |
const edm::LHCTransportLinkContainer * | theLHCTlink |
Description: Holds tracking information used by the sensitive detectors
Usage: <usage>
Definition at line 34 of file SimTrackManager.h.
typedef std::pair<int,math::XYZVectorD> SimTrackManager::MapVertexPosition |
this map contains association between vertex number and position
Definition at line 46 of file SimTrackManager.h.
typedef std::vector<std::pair<int,math::XYZVectorD> > SimTrackManager::MapVertexPositionVector |
Definition at line 47 of file SimTrackManager.h.
typedef std::map<int,MapVertexPositionVector> SimTrackManager::MotherParticleToVertexMap |
Definition at line 48 of file SimTrackManager.h.
Definition at line 49 of file SimTrackManager.h.
SimTrackManager::SimTrackManager | ( | bool | iCollapsePrimaryVertices = false | ) |
Definition at line 39 of file SimTrackManager.cc.
|
virtual |
Definition at line 45 of file SimTrackManager.cc.
|
private |
|
inline |
Definition at line 79 of file SimTrackManager.h.
References mapTkCaloStateInfo.
Referenced by EventAction::addTkCaloStateInfo().
|
inline |
Definition at line 69 of file SimTrackManager.h.
References ancestorList, idsave, m_trksForThisEvent, TrackWithHistory::parentID(), and TrackWithHistory::trackID().
Referenced by EventAction::addTrack().
void SimTrackManager::cleanTkCaloStateInfoMap | ( | ) |
Definition at line 209 of file SimTrackManager.cc.
Referenced by EventAction::EndOfEventAction().
void SimTrackManager::cleanTracksWithHistory | ( | ) |
Definition at line 306 of file SimTrackManager.cc.
Referenced by EventAction::prepareForNewPrimary().
|
private |
Definition at line 202 of file SimTrackManager.cc.
void SimTrackManager::deleteTracks | ( | ) |
Definition at line 72 of file SimTrackManager.cc.
Referenced by EventAction::EndOfEventAction().
|
private |
Definition at line 270 of file SimTrackManager.cc.
|
private |
Definition at line 165 of file SimTrackManager.cc.
|
inline |
|
private |
Definition at line 215 of file SimTrackManager.cc.
|
private |
|
private |
Definition at line 125 of file SimTrackManager.cc.
void SimTrackManager::reset | ( | void | ) |
Definition at line 53 of file SimTrackManager.cc.
Referenced by EventAction::BeginOfEventAction().
|
private |
Definition at line 389 of file SimTrackManager.cc.
|
private |
this saves a track and all its parents looping over the non ordered vector
Definition at line 82 of file SimTrackManager.cc.
|
inline |
Definition at line 89 of file SimTrackManager.h.
References m_collapsePrimaryVertices.
Referenced by EventAction::EventAction().
|
inline |
Definition at line 108 of file SimTrackManager.h.
References theLHCTlink.
void SimTrackManager::storeTracks | ( | G4SimEvent * | simEvent | ) |
Definition at line 106 of file SimTrackManager.cc.
Referenced by EventAction::EndOfEventAction().
|
inline |
Definition at line 55 of file SimTrackManager.h.
References m_trksForThisEvent.
Referenced by EventAction::trackContainer().
|
inline |
Definition at line 99 of file SimTrackManager.h.
References i, and m_trksForThisEvent.
|
private |
Definition at line 136 of file SimTrackManager.h.
Referenced by addTrack().
|
private |
Definition at line 134 of file SimTrackManager.h.
Referenced by addTrack(), and giveMotherNeeded().
|
private |
Definition at line 139 of file SimTrackManager.h.
|
private |
Definition at line 138 of file SimTrackManager.h.
|
private |
Definition at line 132 of file SimTrackManager.h.
Referenced by setCollapsePrimaryVertices().
|
private |
Definition at line 131 of file SimTrackManager.h.
|
private |
Definition at line 129 of file SimTrackManager.h.
|
private |
Definition at line 128 of file SimTrackManager.h.
Referenced by addTrack(), trackContainer(), and trackExists().
|
private |
Definition at line 130 of file SimTrackManager.h.
|
private |
Definition at line 133 of file SimTrackManager.h.
Referenced by addTkCaloStateInfo().
|
private |
Definition at line 141 of file SimTrackManager.h.
Referenced by setLHCTransportLink().