Main Page
Namespaces
Classes
Package Documentation
src
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
class
FSimTrackEqual
5
{
6
public
:
7
FSimTrackEqual
(
int
index
):
trackIndex_
(index){};
8
FSimTrackEqual
(
const
FSimTrack
& myTrack):
trackIndex_
(myTrack.trackId()){};
9
~FSimTrackEqual
(){;};
10
11
inline
bool
operator()
(
const
FSimTrack
&
track
)
const
12
{
13
return
(track.
id
()==
trackIndex_
);
14
}
15
private
:
16
int
trackIndex_
;
17
18
};
19
20
21
#endif
FSimTrackEqual
Definition:
FSimTrackEqual.h:4
FSimTrackEqual::~FSimTrackEqual
~FSimTrackEqual()
Definition:
FSimTrackEqual.h:9
FSimTrackEqual::FSimTrackEqual
FSimTrackEqual(const FSimTrack &myTrack)
Definition:
FSimTrackEqual.h:8
diffTreeTool.index
index
Definition:
diffTreeTool.py:159
FSimTrackEqual::trackIndex_
int trackIndex_
Definition:
FSimTrackEqual.h:16
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
FSimTrack::id
int id() const
the index in FBaseSimEvent and other vectors
Definition:
FSimTrack.h:91
FSimTrackEqual::FSimTrackEqual
FSimTrackEqual(int index)
Definition:
FSimTrackEqual.h:7
FSimTrack
Definition:
FSimTrack.h:30
FSimTrackEqual::operator()
bool operator()(const FSimTrack &track) const
Definition:
FSimTrackEqual.h:11
Generated for CMSSW Reference Manual by
1.8.11