Main Page
Namespaces
Classes
Package Documentation
Alignment
CommonAlignmentProducer
interface
AlignmentGlobalTrackSelector.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignmentAlgorithm_AlignmentGlobalTrackSelector_h
2
#define Alignment_CommonAlignmentAlgorithm_AlignmentGlobalTrackSelector_h
3
4
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
5
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
6
7
//Framework
8
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/Utilities/interface/EDGetToken.h
"
11
//STL
12
#include <vector>
13
14
namespace
reco
{
class
Track;}
15
namespace
edm
{
class
Event
;
class
EventSetup
;}
16
17
class
AlignmentGlobalTrackSelector
18
{
19
20
public
:
21
22
typedef
std::vector<const reco::Track*>
Tracks
;
23
25
AlignmentGlobalTrackSelector
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC);
26
28
~
AlignmentGlobalTrackSelector
();
29
31
Tracks
select
(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& eSetup);
33
bool
useThisFilter();
34
35
private
:
36
38
Tracks checkJetCount(
const
Tracks&
cands
,
const
edm::Event
&
iEvent
)
const
;
40
Tracks checkIsolation(
const
Tracks&
cands
,
const
edm::Event
&
iEvent
)
const
;
42
Tracks findMuons(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
)
const
;
43
45
edm::ParameterSet
theConf
;
46
47
//settings from conigfile
48
bool
theGMFilterSwitch
;
49
bool
theIsoFilterSwitch
;
50
bool
theJetCountFilterSwitch
;
51
52
//global Muon Filter
53
edm::EDGetTokenT<reco::MuonCollection>
theMuonToken
;
54
double
theMaxTrackDeltaR
;
55
int
theMinGlobalMuonCount
;
56
57
//isolation Cut
58
edm::EDGetTokenT<reco::CaloJetCollection>
theJetIsoToken
;
59
double
theMaxJetPt
;
60
double
theMinJetDeltaR
;
61
int
theMinIsolatedCount
;
62
63
//jet count Filter
64
edm::EDGetTokenT<reco::CaloJetCollection>
theJetCountToken
;
65
double
theMinJetPt
;
66
int
theMaxJetCount
;
67
68
//helpers
69
71
void
printTracks(
const
Tracks&
col
)
const
;
72
74
Tracks
matchTracks
(
const
Tracks&
src
,
const
Tracks&
comp
)
const
;
75
};
76
77
#endif
78
AlignmentGlobalTrackSelector::theGMFilterSwitch
bool theGMFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:48
AlignmentGlobalTrackSelector::theMaxTrackDeltaR
double theMaxTrackDeltaR
Definition:
AlignmentGlobalTrackSelector.h:54
AlignmentGlobalTrackSelector::theMinJetDeltaR
double theMinJetDeltaR
Definition:
AlignmentGlobalTrackSelector.h:60
EDGetToken.h
AlignmentGlobalTrackSelector::theMaxJetPt
double theMaxJetPt
Definition:
AlignmentGlobalTrackSelector.h:59
AlignmentGlobalTrackSelector::theMaxJetCount
int theMaxJetCount
Definition:
AlignmentGlobalTrackSelector.h:66
AlignmentGlobalTrackSelector::theMinJetPt
double theMinJetPt
Definition:
AlignmentGlobalTrackSelector.h:65
CaloJetCollection.h
AlignmentGlobalTrackSelector::Tracks
std::vector< const reco::Track * > Tracks
Definition:
AlignmentGlobalTrackSelector.h:22
AlignmentGlobalTrackSelector::theJetCountToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetCountToken
Definition:
AlignmentGlobalTrackSelector.h:64
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
edm::EDGetTokenT< reco::MuonCollection >
muonid::matchTracks
std::pair< double, double > matchTracks(const reco::Track &ref, const reco::Track &probe)
Definition:
MuonCosmicsId.cc:12
MuonFwd.h
AlignmentGlobalTrackSelector
Definition:
AlignmentGlobalTrackSelector.h:17
ParameterSet.h
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:230
AlignmentGlobalTrackSelector::theMinIsolatedCount
int theMinIsolatedCount
Definition:
AlignmentGlobalTrackSelector.h:61
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
AlignmentGlobalTrackSelector::theJetCountFilterSwitch
bool theJetCountFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:50
edm::EventSetup
Definition:
EventSetup.h:48
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:248
AlignmentGlobalTrackSelector::theIsoFilterSwitch
bool theIsoFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:49
looper.cfg
cfg
Definition:
looper.py:293
AlignmentGlobalTrackSelector::theMuonToken
edm::EDGetTokenT< reco::MuonCollection > theMuonToken
Definition:
AlignmentGlobalTrackSelector.h:53
TrackRefitter_38T_cff.src
src
Definition:
TrackRefitter_38T_cff.py:24
AlignmentGlobalTrackSelector::theConf
edm::ParameterSet theConf
private data members
Definition:
AlignmentGlobalTrackSelector.h:45
AlignmentGlobalTrackSelector::theMinGlobalMuonCount
int theMinGlobalMuonCount
Definition:
AlignmentGlobalTrackSelector.h:55
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
egammaForCoreTracking_cff.cands
cands
Definition:
egammaForCoreTracking_cff.py:39
cuy.col
col
Definition:
cuy.py:1008
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
ConsumesCollector.h
AlignmentGlobalTrackSelector::theJetIsoToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetIsoToken
Definition:
AlignmentGlobalTrackSelector.h:58
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11