Main Page
Namespaces
Classes
Package Documentation
Alignment
CommonAlignmentProducer
interface
AlignmentMuonSelector.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignmentAlgorithm_AlignmentMuonSelector_h
2
#define Alignment_CommonAlignmentAlgorithm_AlignmentMuonSelector_h
3
18
#include "
DataFormats/MuonReco/interface/Muon.h
"
19
#include "
CommonTools/RecoAlgos/interface/MuonSelector.h
"
20
#include <vector>
21
22
namespace
edm
{
class
Event
; }
23
24
class
AlignmentMuonSelector
25
{
26
27
public
:
28
29
typedef
std::vector<const reco::Muon*>
Muons
;
30
32
AlignmentMuonSelector
(
const
edm::ParameterSet
&
cfg
);
33
35
~
AlignmentMuonSelector
();
36
38
Muons
select
(
const
Muons&
muons
,
const
edm::Event
& evt)
const
;
39
40
private
:
41
43
Muons basicCuts(
const
Muons&
muons
)
const
;
44
46
Muons theNHighestPtMuons(
const
Muons&
muons
)
const
;
47
49
Muons theBestMassPairCombinationMuons(
const
Muons&
muons
)
const
;
50
52
struct
ComparePt
{
53
bool
operator()
(
const
reco::Muon
* t1,
const
reco::Muon
*
t2
)
const
{
54
return
t1->
pt
()> t2->
pt
();
55
}
56
};
57
ComparePt
ptComparator
;
58
60
bool
applyBasicCuts
,
applyNHighestPt
,
applyMultiplicityFilter
,
applyMassPairFilter
;
61
int
nHighestPt
,
minMultiplicity
;
62
double
pMin
,
pMax
,
ptMin
,
ptMax
,
etaMin
,
etaMax
,
phiMin
,
phiMax
;
63
double
nHitMinSA
,nHitMaxSA,chi2nMaxSA;
64
double
nHitMinGB
,nHitMaxGB,chi2nMaxGB;
65
double
nHitMinTO
,nHitMaxTO,chi2nMaxTO;
66
double
minMassPair
,
maxMassPair
;
67
68
};
69
70
#endif
71
AlignmentMuonSelector::Muons
std::vector< const reco::Muon * > Muons
Definition:
AlignmentMuonSelector.h:29
AlignmentMuonSelector::ComparePt
compare two muons in pt (used by theNHighestPtMuons)
Definition:
AlignmentMuonSelector.h:52
AlignmentMuonSelector::ptComparator
ComparePt ptComparator
Definition:
AlignmentMuonSelector.h:57
AlignmentMuonSelector
Definition:
AlignmentMuonSelector.h:24
AlignmentMuonSelector::minMassPair
double minMassPair
Definition:
AlignmentMuonSelector.h:66
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
AlignmentTrackSelector_cfi.applyMultiplicityFilter
applyMultiplicityFilter
Definition:
AlignmentTrackSelector_cfi.py:55
MuonSelector.h
ALCARECOTkAlBeamHalo_cff.etaMin
etaMin
GeV.
Definition:
ALCARECOTkAlBeamHalo_cff.py:32
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
AlignmentMuonSelector::applyNHighestPt
bool applyNHighestPt
Definition:
AlignmentMuonSelector.h:60
AlignmentMuonSelector::nHighestPt
int nHighestPt
Definition:
AlignmentMuonSelector.h:61
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition:
AlignmentTrackSelector_cfi.py:18
reco::t2
auto const T2 &decltype(t1.eta()) t2
Definition:
deltaR.h:16
ALCARECOTkAlMinBias_cff.pMin
pMin
GeV.
Definition:
ALCARECOTkAlMinBias_cff.py:35
AlignmentMuonSelector::ComparePt::operator()
bool operator()(const reco::Muon *t1, const reco::Muon *t2) const
Definition:
AlignmentMuonSelector.h:53
AlignmentMuonSelector_cfi.applyMassPairFilter
applyMassPairFilter
Definition:
AlignmentMuonSelector_cfi.py:43
Muon.h
reco::Muon
Definition:
Muon.h:27
AlignmentMuonSelector::ptMin
double ptMin
Definition:
AlignmentMuonSelector.h:62
AlignmentMuonSelector::nHitMinGB
double nHitMinGB
Definition:
AlignmentMuonSelector.h:64
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition:
ALCARECOTkAlBeamHalo_cff.py:33
looper.cfg
cfg
Definition:
looper.py:293
AlignmentMuonSelector_cfi.AlignmentMuonSelector
AlignmentMuonSelector
Definition:
AlignmentMuonSelector_cfi.py:3
ALCARECOTkAlBeamHalo_cff.applyBasicCuts
applyBasicCuts
do not store empty events
Definition:
ALCARECOTkAlBeamHalo_cff.py:29
nano_cff.muons
muons
Definition:
nano_cff.py:27
AlignmentTrackSelector_cfi.ptMax
ptMax
Definition:
AlignmentTrackSelector_cfi.py:12
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
AlignmentTrackSelector_cfi.minMultiplicity
minMultiplicity
Definition:
AlignmentTrackSelector_cfi.py:56
AlignmentTrackSelector_cfi.pMax
pMax
Definition:
AlignmentTrackSelector_cfi.py:14
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
AlignmentMuonSelector_cfi.maxMassPair
maxMassPair
Definition:
AlignmentMuonSelector_cfi.py:45
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition:
AlignmentTrackSelector_cfi.py:17
AlignmentMuonSelector::nHitMinSA
double nHitMinSA
Definition:
AlignmentMuonSelector.h:63
AlignmentMuonSelector::nHitMinTO
double nHitMinTO
Definition:
AlignmentMuonSelector.h:65
Generated for CMSSW Reference Manual by
1.8.11