Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FastSimulation
Event
interface
FSimTrackEqual.h
Go to the documentation of this file.
1
#ifndef FastSimulation_Event_FSimTrackEqual_H
2
#define FastSimulation_Event_FSimTrackEqual_H
3
4
#include "
FastSimulation/Event/interface/FSimTrack.h
"
5
6
class
FSimTrackEqual
{
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
:
15
int
trackIndex_
;
16
};
17
18
#endif
FSimTrack.h
FSimTrackEqual
Definition:
FSimTrackEqual.h:6
FSimTrackEqual::~FSimTrackEqual
~FSimTrackEqual()
Definition:
FSimTrackEqual.h:10
HLT_FULL_cff.track
tuple track
Definition:
HLT_FULL_cff.py:11953
FSimTrackEqual::FSimTrackEqual
FSimTrackEqual(const FSimTrack &myTrack)
Definition:
FSimTrackEqual.h:9
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
FSimTrackEqual::trackIndex_
int trackIndex_
Definition:
FSimTrackEqual.h:15
FSimTrack::id
int id() const
the index in FBaseSimEvent and other vectors
Definition:
FSimTrack.h:96
FSimTrackEqual::FSimTrackEqual
FSimTrackEqual(int index)
Definition:
FSimTrackEqual.h:8
FSimTrack
Definition:
FSimTrack.h:30
FSimTrackEqual::operator()
bool operator()(const FSimTrack &track) const
Definition:
FSimTrackEqual.h:12
Generated for CMSSW Reference Manual by
1.8.5