CMS 3D CMS Logo

Public Member Functions | Private Attributes

FSimTrackEqual Class Reference

#include <FSimTrackEqual.h>

List of all members.

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 4 of file FSimTrackEqual.h.


Constructor & Destructor Documentation

FSimTrackEqual::FSimTrackEqual ( int  index) [inline]

Definition at line 7 of file FSimTrackEqual.h.

FSimTrackEqual::FSimTrackEqual ( const FSimTrack myTrack) [inline]

Definition at line 8 of file FSimTrackEqual.h.

:trackIndex_(myTrack.trackId()){};
FSimTrackEqual::~FSimTrackEqual ( ) [inline]

Definition at line 9 of file FSimTrackEqual.h.

{;};

Member Function Documentation

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

Definition at line 11 of file FSimTrackEqual.h.

References FSimTrack::id(), and trackIndex_.

  {
    return(track.id()==trackIndex_);
  }

Member Data Documentation

Definition at line 16 of file FSimTrackEqual.h.

Referenced by operator()().