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
PDWG_BPHSkim_cff.muons
muons
Definition:
PDWG_BPHSkim_cff.py:47
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
Muon.h
AlignmentMuonSelector::ComparePt
compare two muons in pt (used by theNHighestPtMuons)
Definition:
AlignmentMuonSelector.h:50
AlignmentMuonSelector::pMin
double pMin
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::pMax
double pMax
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::applyNHighestPt
bool applyNHighestPt
Definition:
AlignmentMuonSelector.h:56
edm
HLT enums.
Definition:
AlignableModifier.h:19
AlignmentMuonSelector::phiMax
double phiMax
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::chi2nMaxTO
double chi2nMaxTO
Definition:
AlignmentMuonSelector.h:61
MuonSelector.h
AlignmentMuonSelector::applyMassPairFilter
bool applyMassPairFilter
Definition:
AlignmentMuonSelector.h:56
AlignmentMuonSelector::nHitMaxSA
double nHitMaxSA
Definition:
AlignmentMuonSelector.h:59
reco::Muon
Definition:
Muon.h:27
AlignmentMuonSelector::minMultiplicity
int minMultiplicity
Definition:
AlignmentMuonSelector.h:57
AlignmentMuonSelector::~AlignmentMuonSelector
~AlignmentMuonSelector()
destructor
Definition:
AlignmentMuonSelector.cc:58
AlignmentMuonSelector
Definition:
AlignmentMuonSelector.h:26
AlignmentMuonSelector::nHighestPt
int nHighestPt
Definition:
AlignmentMuonSelector.h:57
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
AlignmentMuonSelector::applyBasicCuts
bool applyBasicCuts
private data members
Definition:
AlignmentMuonSelector.h:56
AlignmentMuonSelector::AlignmentMuonSelector
AlignmentMuonSelector(const edm::ParameterSet &cfg)
constructor
Definition:
AlignmentMuonSelector.cc:10
AlignmentMuonSelector::etaMin
double etaMin
Definition:
AlignmentMuonSelector.h:58
Event
AlignmentMuonSelector::ptMax
double ptMax
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::nHitMaxTO
double nHitMaxTO
Definition:
AlignmentMuonSelector.h:61
AlignmentMuonSelector::ComparePt::operator()
bool operator()(const reco::Muon *t1, const reco::Muon *t2) const
Definition:
AlignmentMuonSelector.h:51
AlignmentMuonSelector::phiMin
double phiMin
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::applyMultiplicityFilter
bool applyMultiplicityFilter
Definition:
AlignmentMuonSelector.h:56
edm::ParameterSet
Definition:
ParameterSet.h:47
AlignmentMuonSelector::nHitMinTO
double nHitMinTO
Definition:
AlignmentMuonSelector.h:61
AlignmentMuonSelector::etaMax
double etaMax
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::maxMassPair
double maxMassPair
Definition:
AlignmentMuonSelector.h:62
looper.cfg
cfg
Definition:
looper.py:297
AlignmentMuonSelector::ptComparator
ComparePt ptComparator
Definition:
AlignmentMuonSelector.h:53
AlignmentMuonSelector::minMassPair
double minMassPair
Definition:
AlignmentMuonSelector.h:62
AlignmentMuonSelector::chi2nMaxSA
double chi2nMaxSA
Definition:
AlignmentMuonSelector.h:59
AlignmentMuonSelector::basicCuts
Muons basicCuts(const Muons &muons) const
apply basic cuts on pt,eta,phi,nhit
Definition:
AlignmentMuonSelector.cc:94
AlignmentMuonSelector::ptMin
double ptMin
Definition:
AlignmentMuonSelector.h:58
AlignmentMuonSelector::Muons
std::vector< const reco::Muon * > Muons
Definition:
AlignmentMuonSelector.h:28
AlignmentMuonSelector::theBestMassPairCombinationMuons
Muons theBestMassPairCombinationMuons(const Muons &muons) const
filter only those muons giving best mass pair combination
Definition:
AlignmentMuonSelector.cc:160
AlignmentMuonSelector::nHitMaxGB
double nHitMaxGB
Definition:
AlignmentMuonSelector.h:60
AlignmentMuonSelector::theNHighestPtMuons
Muons theNHighestPtMuons(const Muons &muons) const
filter the n highest pt muons
Definition:
AlignmentMuonSelector.cc:139
AlignmentMuonSelector::nHitMinGB
double nHitMinGB
Definition:
AlignmentMuonSelector.h:60
edm::Event
Definition:
Event.h:73
AlignmentMuonSelector::select
Muons select(const Muons &muons, const edm::Event &evt) const
select muons
Definition:
AlignmentMuonSelector.cc:62
AlignmentMuonSelector::chi2nMaxGB
double chi2nMaxGB
Definition:
AlignmentMuonSelector.h:60
AlignmentMuonSelector::nHitMinSA
double nHitMinSA
Definition:
AlignmentMuonSelector.h:59
Generated for CMSSW Reference Manual by
1.8.16