CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
FSimTrackEqual Class Reference

#include <FSimTrackEqual.h>

Public Member Functions

 FSimTrackEqual (int index)
 
 FSimTrackEqual (const FSimTrack &myTrack)
 
bool operator() (const FSimTrack &track) const
 
 ~FSimTrackEqual ()
 

Private Attributes

int trackIndex_
 

Detailed Description

Definition at line 6 of file FSimTrackEqual.h.

Constructor & Destructor Documentation

FSimTrackEqual::FSimTrackEqual ( int  index)
inline
FSimTrackEqual::FSimTrackEqual ( const FSimTrack myTrack)
inline

Definition at line 9 of file FSimTrackEqual.h.

9 : trackIndex_(myTrack.trackId()){};
unsigned int trackId() const
Definition: CoreSimTrack.h:31
FSimTrackEqual::~FSimTrackEqual ( )
inline

Definition at line 10 of file FSimTrackEqual.h.

10 { ; };

Member Function Documentation

bool FSimTrackEqual::operator() ( const FSimTrack track) const
inline

Definition at line 12 of file FSimTrackEqual.h.

References FSimTrack::id(), and trackIndex_.

12 { return (track.id() == trackIndex_); }
int id() const
the index in FBaseSimEvent and other vectors
Definition: FSimTrack.h:96

Member Data Documentation

int FSimTrackEqual::trackIndex_
private

Definition at line 15 of file FSimTrackEqual.h.

Referenced by operator()().