Main Page
Namespaces
Classes
Package Documentation
src
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
{
15
class
Track;
16
}
17
namespace
edm
{
18
class
Event
;
19
class
EventSetup
;
20
}
// namespace edm
21
22
class
AlignmentGlobalTrackSelector
{
23
public
:
24
typedef
std::vector<const reco::Track*>
Tracks
;
25
27
AlignmentGlobalTrackSelector
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC);
28
30
~
AlignmentGlobalTrackSelector
();
31
33
Tracks
select
(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& eSetup);
35
bool
useThisFilter();
36
37
private
:
39
Tracks checkJetCount(
const
Tracks&
cands
,
const
edm::Event
&
iEvent
)
const
;
41
Tracks checkIsolation(
const
Tracks&
cands
,
const
edm::Event
&
iEvent
)
const
;
43
Tracks findMuons(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
)
const
;
44
46
edm::ParameterSet
theConf
;
47
48
//settings from conigfile
49
bool
theGMFilterSwitch
;
50
bool
theIsoFilterSwitch
;
51
bool
theJetCountFilterSwitch
;
52
53
//global Muon Filter
54
edm::EDGetTokenT<reco::MuonCollection>
theMuonToken
;
55
double
theMaxTrackDeltaR
;
56
int
theMinGlobalMuonCount
;
57
58
//isolation Cut
59
edm::EDGetTokenT<reco::CaloJetCollection>
theJetIsoToken
;
60
double
theMaxJetPt
;
61
double
theMinJetDeltaR
;
62
int
theMinIsolatedCount
;
63
64
//jet count Filter
65
edm::EDGetTokenT<reco::CaloJetCollection>
theJetCountToken
;
66
double
theMinJetPt
;
67
int
theMaxJetCount
;
68
69
//helpers
70
72
void
printTracks(
const
Tracks&
col
)
const
;
73
75
Tracks
matchTracks
(
const
Tracks&
src
,
const
Tracks&
comp
)
const
;
76
};
77
78
#endif
AlignmentGlobalTrackSelector::theGMFilterSwitch
bool theGMFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:49
AlignmentGlobalTrackSelector::theMaxTrackDeltaR
double theMaxTrackDeltaR
Definition:
AlignmentGlobalTrackSelector.h:55
AlignmentGlobalTrackSelector::theMinJetDeltaR
double theMinJetDeltaR
Definition:
AlignmentGlobalTrackSelector.h:61
EDGetToken.h
AlignmentGlobalTrackSelector::theMaxJetPt
double theMaxJetPt
Definition:
AlignmentGlobalTrackSelector.h:60
AlignmentGlobalTrackSelector::theMaxJetCount
int theMaxJetCount
Definition:
AlignmentGlobalTrackSelector.h:67
AlignmentGlobalTrackSelector::theMinJetPt
double theMinJetPt
Definition:
AlignmentGlobalTrackSelector.h:66
CaloJetCollection.h
AlignmentGlobalTrackSelector::Tracks
std::vector< const reco::Track * > Tracks
Definition:
AlignmentGlobalTrackSelector.h:24
AlignmentGlobalTrackSelector::theJetCountToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetCountToken
Definition:
AlignmentGlobalTrackSelector.h:65
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:22
ParameterSet.h
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:224
AlignmentGlobalTrackSelector::theMinIsolatedCount
int theMinIsolatedCount
Definition:
AlignmentGlobalTrackSelector.h:62
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
AlignmentGlobalTrackSelector::theJetCountFilterSwitch
bool theJetCountFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:51
edm::EventSetup
Definition:
EventSetup.h:57
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:249
AlignmentGlobalTrackSelector::theIsoFilterSwitch
bool theIsoFilterSwitch
Definition:
AlignmentGlobalTrackSelector.h:50
looper.cfg
cfg
Definition:
looper.py:297
AlignmentGlobalTrackSelector::theMuonToken
edm::EDGetTokenT< reco::MuonCollection > theMuonToken
Definition:
AlignmentGlobalTrackSelector.h:54
TrackRefitter_38T_cff.src
src
Definition:
TrackRefitter_38T_cff.py:24
AlignmentGlobalTrackSelector::theConf
edm::ParameterSet theConf
private data members
Definition:
AlignmentGlobalTrackSelector.h:46
AlignmentGlobalTrackSelector::theMinGlobalMuonCount
int theMinGlobalMuonCount
Definition:
AlignmentGlobalTrackSelector.h:56
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
edm
HLT enums.
Definition:
AlignableModifier.h:17
egammaForCoreTracking_cff.cands
cands
Definition:
egammaForCoreTracking_cff.py:39
cuy.col
col
Definition:
cuy.py:1010
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
ConsumesCollector.h
AlignmentGlobalTrackSelector::theJetIsoToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetIsoToken
Definition:
AlignmentGlobalTrackSelector.h:59
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11