CMS 3D CMS Logo

List of all members | Public Member Functions
MuonSelectorVIDWrapper< selectionType, arbitrationType > Class Template Reference

#include <MuonSelectorVIDWrapper.h>

Inheritance diagram for MuonSelectorVIDWrapper< selectionType, arbitrationType >:
CutApplicatorBase candidate_functions::CandidateCut

Public Member Functions

CandidateType candidateType () const final
 
 MuonSelectorVIDWrapper (const edm::ParameterSet &c)
 
result_type operator() (const edm::Ptr< reco::Muon > &muon) const final
 
double value (const reco::CandidatePtr &cand) const final
 
- Public Member Functions inherited from CutApplicatorBase
virtual result_type asCandidate (const argument_type &) const
 
 CutApplicatorBase ()
 
 CutApplicatorBase (const edm::ParameterSet &c)
 
 CutApplicatorBase (const CutApplicatorBase &)=delete
 
const std::string & name () const override
 
result_type operator() (const argument_type &) const override final
 
virtual result_type operator() (const reco::GsfElectronPtr &) const
 
virtual result_type operator() (const pat::ElectronPtr &) const
 
virtual result_type operator() (const reco::PhotonPtr &) const
 
virtual result_type operator() (const pat::PhotonPtr &) const
 
virtual result_type operator() (const pat::MuonPtr &) const
 
virtual result_type operator() (const reco::PFTauPtr &) const
 
virtual result_type operator() (const pat::TauPtr &) const
 
CutApplicatorBaseoperator= (const CutApplicatorBase &)=delete
 
 ~CutApplicatorBase () override
 Destructor. More...
 
- Public Member Functions inherited from candidate_functions::CandidateCut
 CandidateCut ()
 
virtual ~CandidateCut ()
 

Additional Inherited Members

- Public Types inherited from CutApplicatorBase
enum  CandidateType {
  NONE, ELECTRON, MUON, PHOTON,
  TAU, PATELECTRON, PATMUON, PATPHOTON,
  PATTAU
}
 

Detailed Description

template<muon::SelectionType selectionType, reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
class MuonSelectorVIDWrapper< selectionType, arbitrationType >

Definition at line 10 of file MuonSelectorVIDWrapper.h.

Constructor & Destructor Documentation

template<muon::SelectionType selectionType, reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
MuonSelectorVIDWrapper< selectionType, arbitrationType >::MuonSelectorVIDWrapper ( const edm::ParameterSet c)
inline

Definition at line 12 of file MuonSelectorVIDWrapper.h.

12  :
13  CutApplicatorBase(c) { }

Member Function Documentation

template<muon::SelectionType selectionType, reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
CandidateType MuonSelectorVIDWrapper< selectionType, arbitrationType >::candidateType ( ) const
inlinefinalvirtual

Reimplemented from CutApplicatorBase.

Definition at line 24 of file MuonSelectorVIDWrapper.h.

References CutApplicatorBase::MUON.

24  {
25  return MUON;
26  }
template<muon::SelectionType selectionType, reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
result_type MuonSelectorVIDWrapper< selectionType, arbitrationType >::operator() ( const edm::Ptr< reco::Muon > &  muon) const
inlinefinalvirtual

Reimplemented from CutApplicatorBase.

Definition at line 20 of file MuonSelectorVIDWrapper.h.

References muon::isGoodMuon(), and muonSelectionTypeValueMapProducer_cff::selectionType.

20  {
21  return muon::isGoodMuon(*muon,selectionType,arbitrationType);
22  }
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
template<muon::SelectionType selectionType, reco::Muon::ArbitrationType arbitrationType = reco::Muon::SegmentAndTrackArbitration>
double MuonSelectorVIDWrapper< selectionType, arbitrationType >::value ( const reco::CandidatePtr cand) const
inlinefinalvirtual

Implements candidate_functions::CandidateCut.

Definition at line 15 of file MuonSelectorVIDWrapper.h.

References muon::isGoodMuon(), RPCpg::mu, and muonSelectionTypeValueMapProducer_cff::selectionType.

15  {
17  return muon::isGoodMuon(*mu,selectionType,arbitrationType);
18  }
const int mu
Definition: Constants.h:22
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call