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 {
6  public:
8  FSimTrackEqual(const FSimTrack & myTrack):trackIndex_(myTrack.trackId()){};
10 
11  inline bool operator()(const FSimTrack& track) const
12  {
13  return(track.id()==trackIndex_);
14  }
15  private:
17 
18 };
19 
20 
21 #endif
FSimTrackEqual(const FSimTrack &myTrack)
Definition: FSimTrackEqual.h:8
int id() const
the index in FBaseSimEvent and other vectors
Definition: FSimTrack.h:91
FSimTrackEqual(int index)
Definition: FSimTrackEqual.h:7
bool operator()(const FSimTrack &track) const