1 #ifndef Notification_SimTrackManager_h 2 #define Notification_SimTrackManager_h 37 typedef std::map<int, VertexPositionVector>
VertexMap;
65 if (ptr->trackID() ==
i) {
76 if (ptr->trackID() == trackID) {
81 if (
nullptr ==
track && strict) {
115 std::vector<std::pair<int, int> >
idsave;
std::vector< TrackWithHistory * > m_trackContainer
std::pair< int, math::XYZVectorD > VertexPosition
TrackWithHistory * getTrackByID(int trackID, bool strict=false) const
bool operator()(TrackWithHistory *trk1, TrackWithHistory *trk2) const
const SimTrackManager & operator=(const SimTrackManager &)=delete
bool operator()(TrackWithHistory *&p, const int &i) const
void cleanTracksWithHistory()
void addTrack(TrackWithHistory *iTrack, const G4Track *track, bool inHistory, bool withAncestor)
std::vector< std::pair< int, int > > idsave
void saveTrackAndItsBranch(TrackWithHistory *)
this saves a track and all its parents looping over the non ordered vector
std::map< int, VertexPositionVector > VertexMap
const std::vector< TrackWithHistory * > * trackContainer() const
void setLHCTransportLink(const edm::LHCTransportLinkContainer *thisLHCTlink)
bool trackExists(int i) const
std::vector< LHCTransportLink > LHCTransportLinkContainer
const edm::LHCTransportLinkContainer * theLHCTlink
int giveMotherNeeded(int i) const
int idSavedTrack(int) const
int getOrCreateVertex(TrackWithHistory *, int)
std::vector< std::pair< int, math::XYZVectorD > > VertexPositionVector
std::vector< std::pair< int, int > > ancestorList
void ReportException(unsigned int id) const
SimTrackManager(TmpSimEvent *, int)
std::vector< std::pair< int, math::XYZVectorD > > m_endPoints