#include <MuonRadiationFilter.h>
Public Member Functions | |
MuonRadiationFilter (const edm::ParameterSet &) | |
~MuonRadiationFilter () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef edm::View< edm::FwdPtr < reco::PFCandidate > > | PFView |
Private Member Functions | |
bool | checkMuonRadiation (const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector *, double, const PFView &, const PFView &, const reco::Candidate &, const reco::Candidate &) |
double | compCaloEnECAL (const reco::Candidate::LorentzVector &, const PFView &) |
double | compPFIso_puCorr (const reco::Candidate::LorentzVector &, const PFView &, const PFView &, const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector &) |
void | compPFIso_raw (const reco::Candidate::LorentzVector &, const PFView &, const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector &, double &, double &, double &) |
bool | filter (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
bool | addCaloEnECALhighPt_ |
bool | addCaloEnECALlowPt_ |
bool | applyMassWindowSelectionHighPt_ |
bool | applyMassWindowSelectionLowPt_ |
double | dRhighPt_ |
double | dRisoCone_ |
double | dRlowPt_ |
double | dRvetoCone_ |
bool | filter_ |
bool | invert_ |
double | maxMass_ |
double | maxRelIso_ |
double | minPtHigh_ |
double | minPtLow_ |
edm::InputTag | srcPFCandsNoPU_ |
edm::InputTag | srcPFCandsPU_ |
edm::InputTag | srcSelectedMuons_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Veto events in which a muon from Z –> mu+ mu- decay radiates a photon: muon -> muon + photon
Definition at line 28 of file MuonRadiationFilter.h.
|
private |
Definition at line 37 of file MuonRadiationFilter.h.
|
explicit |
Definition at line 18 of file MuonRadiationFilter.cc.
References addCaloEnECALhighPt_, addCaloEnECALlowPt_, applyMassWindowSelectionHighPt_, applyMassWindowSelectionLowPt_, dRhighPt_, dRisoCone_, dRlowPt_, dRvetoCone_, edm::ParameterSet::exists(), filter_, edm::ParameterSet::getParameter(), invert_, maxMass_, maxRelIso_, minPtHigh_, minPtLow_, srcPFCandsNoPU_, srcPFCandsPU_, srcSelectedMuons_, and verbosity_.
|
inline |
Definition at line 32 of file MuonRadiationFilter.h.
|
private |
Definition at line 223 of file MuonRadiationFilter.cc.
References Abs(), addCaloEnECALhighPt_, addCaloEnECALlowPt_, applyMassWindowSelectionHighPt_, applyMassWindowSelectionLowPt_, compPFIso_puCorr(), gather_cfg::cout, dRhighPt_, dRlowPt_, maxMass_, maxRelIso_, minPtHigh_, minPtLow_, nomMassZ, reco::Candidate::p4(), and verbosity_.
Referenced by filter().
|
private |
Definition at line 111 of file MuonRadiationFilter.cc.
References edm::View< T >::begin(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, dRvetoCone_, and edm::View< T >::end().
Referenced by filter().
|
private |
Definition at line 160 of file MuonRadiationFilter.cc.
References compPFIso_raw(), gather_cfg::cout, Max(), and verbosity_.
Referenced by checkMuonRadiation().
|
private |
Definition at line 124 of file MuonRadiationFilter.cc.
References Abs(), edm::View< T >::begin(), gather_cfg::cout, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, dRisoCone_, dRvetoCone_, edm::View< T >::end(), reco::PFCandidate::gamma, reco::PFCandidate::h0, and verbosity_.
Referenced by compPFIso_puCorr().
|
privatevirtual |
Implements edm::EDFilter.
Definition at line 62 of file MuonRadiationFilter.cc.
References checkMuonRadiation(), compCaloEnECAL(), gather_cfg::cout, deltaR(), reco::PFCandidate::e, filter_, reco::PFCandidate::gamma, edm::Event::getByLabel(), getSelMuons(), getTheMuMinus(), getTheMuPlus(), invert_, edm::RefToBase< T >::isNull(), reco::Candidate::p4(), edm::Event::put(), srcPFCandsNoPU_, srcPFCandsPU_, srcSelectedMuons_, and verbosity_.
|
private |
Definition at line 59 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 54 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 60 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 55 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 58 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 63 of file MuonRadiationFilter.h.
Referenced by compPFIso_raw(), and MuonRadiationFilter().
|
private |
Definition at line 53 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 62 of file MuonRadiationFilter.h.
Referenced by compCaloEnECAL(), compPFIso_raw(), and MuonRadiationFilter().
|
private |
Definition at line 69 of file MuonRadiationFilter.h.
Referenced by filter(), and MuonRadiationFilter().
|
private |
Definition at line 68 of file MuonRadiationFilter.h.
Referenced by filter(), and MuonRadiationFilter().
|
private |
Definition at line 66 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 64 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 57 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 52 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), and MuonRadiationFilter().
|
private |
Definition at line 49 of file MuonRadiationFilter.h.
Referenced by filter(), and MuonRadiationFilter().
|
private |
Definition at line 50 of file MuonRadiationFilter.h.
Referenced by filter(), and MuonRadiationFilter().
|
private |
Definition at line 48 of file MuonRadiationFilter.h.
Referenced by filter(), and MuonRadiationFilter().
|
private |
Definition at line 71 of file MuonRadiationFilter.h.
Referenced by checkMuonRadiation(), compPFIso_puCorr(), compPFIso_raw(), filter(), and MuonRadiationFilter().