CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:
8  FSimTrackEqual(int index) : trackIndex_(index){};
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
FSimTrackEqual(const FSimTrack &myTrack)
Definition: FSimTrackEqual.h:9
int id() const
the index in FBaseSimEvent and other vectors
Definition: FSimTrack.h:96
FSimTrackEqual(int index)
Definition: FSimTrackEqual.h:8
bool operator()(const FSimTrack &track) const