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