Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoMuon
MuonIdentification
plugins
cuts
MuonSelectorVIDWrapper.h
Go to the documentation of this file.
1
#ifndef __RecoMuon_MuonIdentification_MuonSelectorVIDWrapper_h__
2
#define __RecoMuon_MuonIdentification_MuonSelectorVIDWrapper_h__
3
4
#include "
PhysicsTools/SelectorUtils/interface/CutApplicatorBase.h
"
5
#include "
DataFormats/MuonReco/interface/Muon.h
"
6
#include "
DataFormats/MuonReco/interface/MuonSelectors.h
"
7
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
8
9
template
<muon::SelectionType selectionType,reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
10
class
MuonSelectorVIDWrapper
:
public
CutApplicatorBase
{
11
public
:
12
MuonSelectorVIDWrapper
(
const
edm::ParameterSet
&
c
) :
13
CutApplicatorBase
(c) { }
14
15
result_type
operator()
(
const
edm::Ptr<reco::Muon>
&
muon
)
const
override
final
{
16
return
muon::isGoodMuon
(*
muon
,selectionType,arbitrationType);
17
}
18
19
CandidateType
candidateType
()
const
override final {
20
return
MUON
;
21
}
22
};
23
24
#endif
MuonSelectorVIDWrapper::candidateType
CandidateType candidateType() const overridefinal
Definition:
MuonSelectorVIDWrapper.h:19
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
MuonFwd.h
MuonSelectorVIDWrapper
Definition:
MuonSelectorVIDWrapper.h:10
MuonSelectorVIDWrapper::operator()
result_type operator()(const edm::Ptr< reco::Muon > &muon) const overridefinal
Definition:
MuonSelectorVIDWrapper.h:15
edm::Ptr< reco::Muon >
Muon.h
muon::isGoodMuon
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
Definition:
MuonSelectors.cc:567
CutApplicatorBase
Definition:
CutApplicatorBase.h:45
metsig::muon
Definition:
SignAlgoResolutions.h:40
MuonSelectors.h
compareJSON.const
string const
Definition:
compareJSON.py:14
MuonSelectorVIDWrapper::MuonSelectorVIDWrapper
MuonSelectorVIDWrapper(const edm::ParameterSet &c)
Definition:
MuonSelectorVIDWrapper.h:12
CutApplicatorBase::MUON
Definition:
CutApplicatorBase.h:48
CutApplicatorBase::CandidateType
CandidateType
Definition:
CutApplicatorBase.h:47
edm::ParameterSet
Definition:
ParameterSet.h:35
CutApplicatorBase.h
Generated for CMSSW Reference Manual by
1.8.5