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
{
23
class
Event
;
24
}
25
26
class
AlignmentMuonSelector
{
27
public
:
28
typedef
std::vector<const reco::Muon*>
Muons
;
29
31
AlignmentMuonSelector
(
const
edm::ParameterSet
&
cfg
);
32
34
~
AlignmentMuonSelector
();
35
37
Muons
select
(
const
Muons&
muons
,
const
edm::Event
& evt)
const
;
38
39
private
:
41
Muons basicCuts(
const
Muons&
muons
)
const
;
42
44
Muons theNHighestPtMuons(
const
Muons&
muons
)
const
;
45
47
Muons theBestMassPairCombinationMuons(
const
Muons&
muons
)
const
;
48
50
struct
ComparePt
{
51
bool
operator()
(
const
reco::Muon
* t1,
const
reco::Muon
* t2)
const
{
return
t1->
pt
() > t2->
pt
(); }
52
};
53
ComparePt
ptComparator
;
54
56
bool
applyBasicCuts
,
applyNHighestPt
,
applyMultiplicityFilter
,
applyMassPairFilter
;
57
int
nHighestPt
,
minMultiplicity
;
58
double
pMin
,
pMax
,
ptMin
,
ptMax
,
etaMin
,
etaMax
,
phiMin
,
phiMax
;
59
double
nHitMinSA
, nHitMaxSA, chi2nMaxSA;
60
double
nHitMinGB
, nHitMaxGB, chi2nMaxGB;
61
double
nHitMinTO
, nHitMaxTO, chi2nMaxTO;
62
double
minMassPair
,
maxMassPair
;
63
};
64
65
#endif
AlignmentMuonSelector::Muons
std::vector< const reco::Muon * > Muons
Definition:
AlignmentMuonSelector.h:28
AlignmentMuonSelector::ComparePt
compare two muons in pt (used by theNHighestPtMuons)
Definition:
AlignmentMuonSelector.h:50
AlignmentMuonSelector::ptComparator
ComparePt ptComparator
Definition:
AlignmentMuonSelector.h:53
AlignmentMuonSelector
Definition:
AlignmentMuonSelector.h:26
AlignmentMuonSelector::minMassPair
double minMassPair
Definition:
AlignmentMuonSelector.h:62
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:56
AlignmentMuonSelector::nHighestPt
int nHighestPt
Definition:
AlignmentMuonSelector.h:57
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition:
AlignmentTrackSelector_cfi.py:18
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:51
AlignmentMuonSelector_cfi.applyMassPairFilter
applyMassPairFilter
Definition:
AlignmentMuonSelector_cfi.py:43
extraflags_cff.muons
muons
Definition:
extraflags_cff.py:17
Muon.h
reco::Muon
Definition:
Muon.h:27
AlignmentMuonSelector::ptMin
double ptMin
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::nHitMinGB
double nHitMinGB
Definition:
AlignmentMuonSelector.h:60
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition:
ALCARECOTkAlBeamHalo_cff.py:33
looper.cfg
cfg
Definition:
looper.py:297
AlignmentMuonSelector_cfi.AlignmentMuonSelector
AlignmentMuonSelector
Definition:
AlignmentMuonSelector_cfi.py:3
ALCARECOTkAlBeamHalo_cff.applyBasicCuts
applyBasicCuts
do not store empty events
Definition:
ALCARECOTkAlBeamHalo_cff.py:29
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:71
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:59
AlignmentMuonSelector::nHitMinTO
double nHitMinTO
Definition:
AlignmentMuonSelector.h:61
Generated for CMSSW Reference Manual by
1.8.11