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 public:
9  FSimTrackEqual(const FSimTrack& myTrack) : trackIndex_(myTrack.trackId()) {}
10  ~FSimTrackEqual() { ; };
11 
12  inline bool operator()(const FSimTrack& track) const { return (track.id() == trackIndex_); }
13 
14 private:
16 };
17 
18 #endif
bool operator()(const FSimTrack &track) const
FSimTrackEqual(const FSimTrack &myTrack)
Definition: FSimTrackEqual.h:9
FSimTrackEqual(int index)
Definition: FSimTrackEqual.h:8