CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FSimTrackEqual Class Reference

#include <FSimTrackEqual.h>

Public Member Functions

 FSimTrackEqual (const FSimTrack &myTrack)
 
 FSimTrackEqual (int index)
 
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() [1/2]

FSimTrackEqual::FSimTrackEqual ( int  index)
inline

Definition at line 8 of file FSimTrackEqual.h.

8 : trackIndex_(index){};

◆ FSimTrackEqual() [2/2]

FSimTrackEqual::FSimTrackEqual ( const FSimTrack myTrack)
inline

Definition at line 9 of file FSimTrackEqual.h.

9 : trackIndex_(myTrack.trackId()){};

◆ ~FSimTrackEqual()

FSimTrackEqual::~FSimTrackEqual ( )
inline

Definition at line 10 of file FSimTrackEqual.h.

10 { ; };

Member Function Documentation

◆ operator()()

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

Definition at line 12 of file FSimTrackEqual.h.

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

References HLT_FULL_cff::track, and trackIndex_.

Member Data Documentation

◆ trackIndex_

int FSimTrackEqual::trackIndex_
private

Definition at line 15 of file FSimTrackEqual.h.

Referenced by operator()().

HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
FSimTrackEqual::trackIndex_
int trackIndex_
Definition: FSimTrackEqual.h:15
CoreSimTrack::trackId
unsigned int trackId() const
Definition: CoreSimTrack.h:31
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46