CMS 3D CMS Logo

FSimTrackEqual.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Event_FSimTrackEqual_H
2 #define FastSimulation_Event_FSimTrackEqual_H
3 
5 
7 {
8  public:
10  FSimTrackEqual(const FSimTrack & myTrack):trackIndex_(myTrack.trackId()){};
12 
13  inline bool operator()(const FSimTrack& track) const
14  {
15  return(track.id()==trackIndex_);
16  }
17  private:
19 
20 };
21 
22 
23 #endif
FSimTrackEqual(const FSimTrack &myTrack)
int id() const
the index in FBaseSimEvent and other vectors
Definition: FSimTrack.h:91
FSimTrackEqual(int index)
Definition: FSimTrackEqual.h:9
bool operator()(const FSimTrack &track) const