Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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,
10
reco::Muon::ArbitrationType
arbitrationType =
reco::Muon::SegmentAndTrackArbitration
>
11
class
MuonSelectorVIDWrapper
:
public
CutApplicatorBase
{
12
public
:
13
MuonSelectorVIDWrapper
(
const
edm::ParameterSet
&
c
) :
CutApplicatorBase
(c) {}
14
15
double
value
(
const
reco::CandidatePtr
& cand)
const
final
{
16
edm::Ptr<reco::Muon>
mu
(cand);
17
return
muon::isGoodMuon
(*mu, selectionType, arbitrationType);
18
}
19
20
result_type
operator()
(
const
edm::Ptr<reco::Muon>
&
muon
)
const
final
{
21
return
muon::isGoodMuon
(*
muon
, selectionType, arbitrationType);
22
}
23
24
CandidateType
candidateType
()
const
final {
return
MUON
; }
25
};
26
27
#endif
c
const edm::EventSetup & c
Definition:
SiStripLAProfileBooker.cc:66
reco::Muon::SegmentAndTrackArbitration
Definition:
Muon.h:190
MuonSelectorVIDWrapper::value
double value(const reco::CandidatePtr &cand) const final
Definition:
MuonSelectorVIDWrapper.h:15
MuonFwd.h
muon::SelectionType
SelectionType
Selector type.
Definition:
MuonSelectors.h:18
MuonSelectorVIDWrapper::operator()
result_type operator()(const edm::Ptr< reco::Muon > &muon) const final
Definition:
MuonSelectorVIDWrapper.h:20
reco::Muon::ArbitrationType
ArbitrationType
define arbitration schemes
Definition:
Muon.h:187
candidate_functions::CandidateCut::result_type
bool result_type
Definition:
CandidateCut.h:11
MuonSelectorVIDWrapper
Definition:
MuonSelectorVIDWrapper.h:11
edm::Ptr< Candidate >
RPCpg::mu
const int mu
Definition:
Constants.h:22
Muon.h
HLT_FULL_cff.muon
tuple muon
Definition:
HLT_FULL_cff.py:11954
muon::isGoodMuon
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
Definition:
MuonSelectors.cc:649
CutApplicatorBase
Definition:
CutApplicatorBase.h:45
MuonSelectors.h
MuonSelectorVIDWrapper::MuonSelectorVIDWrapper
MuonSelectorVIDWrapper(const edm::ParameterSet &c)
Definition:
MuonSelectorVIDWrapper.h:13
CutApplicatorBase::MUON
Definition:
CutApplicatorBase.h:47
CutApplicatorBase::CandidateType
CandidateType
Definition:
CutApplicatorBase.h:47
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonSelectorVIDWrapper::candidateType
CandidateType candidateType() const final
Definition:
MuonSelectorVIDWrapper.h:24
CutApplicatorBase.h
runTheMatrix.const
string const
Definition:
runTheMatrix.py:329
Generated for CMSSW Reference Manual by
1.8.5