test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 overridefinal
 
 MuonSelectorVIDWrapper (const edm::ParameterSet &c)
 
result_type operator() (const edm::Ptr< reco::Muon > &muon) const overridefinal
 
double value (const reco::CandidatePtr &cand) const overridefinal
 
- Public Member Functions inherited from CutApplicatorBase
virtual result_type asCandidate (const argument_type &) const
 
 CutApplicatorBase ()
 
 CutApplicatorBase (const edm::ParameterSet &c)
 
 CutApplicatorBase (const CutApplicatorBase &)=delete
 
virtual const std::string & name () const
 
virtual result_type operator() (const argument_type &) const 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
 
virtual ~CutApplicatorBase ()
 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
inlinefinaloverridevirtual

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
inlinefinaloverridevirtual

Reimplemented from CutApplicatorBase.

Definition at line 20 of file MuonSelectorVIDWrapper.h.

References muon::isGoodMuon(), and metsig::muon.

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
inlinefinaloverridevirtual

Implements candidate_functions::CandidateCut.

Definition at line 15 of file MuonSelectorVIDWrapper.h.

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

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