Public Member Functions | |
void | beginJob () override |
void | endJob () override |
void | fill_histogram (const char *, const double &) |
bool | filter (edm::Event &, const edm::EventSetup &) override |
void | init_histograms () |
WMuNuValidator (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
~EDFilter () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
double | acopCut_ |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
double | dxyCut_ |
double | eJetMin_ |
double | etaCut_ |
bool | fastOption_ |
std::map< std::string, TH1D * > | h1_ |
bool | isAlsoTrackerMuon_ |
bool | isCombinedIso_ |
double | isoCut03_ |
bool | isRelativeIso_ |
edm::InputTag | jetTag_ |
edm::EDGetTokenT< edm::View< reco::Jet > > | jetToken_ |
bool | metIncludesMuons_ |
double | metMax_ |
double | metMin_ |
edm::InputTag | metTag_ |
edm::EDGetTokenT< edm::View< reco::MET > > | metToken_ |
double | mtMax_ |
double | mtMin_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | muonToken_ |
const std::string | muonTrig_ |
unsigned int | nall |
unsigned int | nhlt |
unsigned int | niso |
int | nJetMax_ |
unsigned int | nmet |
double | normalizedChi2Cut_ |
unsigned int | nrec |
unsigned int | nsel |
double | ptCut_ |
double | ptThrForZ1_ |
double | ptThrForZ2_ |
int | trackerHitsCut_ |
edm::EDGetTokenT< edm::TriggerResults > | trigToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
Definition at line 26 of file WMuNuValidator.cc.
WMuNuValidator::WMuNuValidator | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 97 of file WMuNuValidator.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 140 of file WMuNuValidator.cc.
References fastOption_, init_histograms(), nall, nhlt, niso, nmet, nrec, and nsel.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 245 of file WMuNuValidator.cc.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), fastOption_, nall, nhlt, niso, nmet, nrec, nsel, pileupDistInMC::num, and mathSSE::sqrt().
void WMuNuValidator::fill_histogram | ( | const char * | name, |
const double & | var | ||
) |
Definition at line 240 of file WMuNuValidator.cc.
References fastOption_, h1_, and dataset::name.
Referenced by filter().
|
override |
Definition at line 304 of file WMuNuValidator.cc.
References edm::HLTGlobalStatus::accept(), acopCut_, beamSpotToken_, DEFINE_FWK_MODULE, PVValHelper::dxy, dxyCut_, eJetMin_, reco::MuonIsolation::emEt, reco::LeafCandidate::et(), PVValHelper::eta, reco::LeafCandidate::eta(), etaCut_, fastOption_, fill_histogram(), edm::Event::getByToken(), muon::GlobalMuonPromptTight, reco::Muon::globalTrack(), reco::MuonIsolation::hadEt, mps_fire::i, reco::Muon::innerTrack(), isCombinedIso_, reco::Muon::isGlobalMuon(), muon::isGoodMuon(), edm::Ref< C, T, F >::isNull(), isoCut03_, reco::Muon::isolationR03(), isRelativeIso_, reco::Muon::isTrackerMuon(), metsig::jet, jetToken_, LogTrace, M_PI, RazorAnalyzer::met, MT2Analyzer::metCollection, metIncludesMuons_, metMax_, metMin_, metToken_, mtMax_, mtMin_, RPCpg::mu, HiRecoMuon_cff::muonCollection, muonToken_, muonTrig_, nall, nhlt, niso, nJetMax_, nmet, nrec, nsel, reco::LeafCandidate::phi(), reco::BeamSpot::position(), EnergyCorrector::pt, reco::LeafCandidate::pt(), ptCut_, ptThrForZ1_, ptThrForZ2_, reco::LeafCandidate::px(), reco::LeafCandidate::py(), mathSSE::sqrt(), reco::MuonIsolation::sumPt, trackerHitsCut_, edm::TriggerNames::triggerIndex(), edm::Event::triggerNames(), triggerResults, trigToken_, and Geom::Phi< T >::value().
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
void WMuNuValidator::init_histograms | ( | ) |
Definition at line 153 of file WMuNuValidator.cc.
References data, eJetMin_, h1_, mps_fire::i, isCombinedIso_, isRelativeIso_, jetTag_, edm::InputTag::label(), M_PI, TFileDirectory::make(), metTag_, TFileService::mkdir(), muonTrig_, ptThrForZ1_, ptThrForZ2_, AlCaHLTBitMon_QueryRunRegistry::string, and muonValidation_cff::subDir.
Referenced by beginJob().
|
private |
Definition at line 54 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 43 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 56 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 64 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 46 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 35 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), fill_histogram(), and filter().
|
private |
Definition at line 74 of file WMuNuValidator.cc.
Referenced by fill_histogram(), and init_histograms().
|
private |
Definition at line 59 of file WMuNuValidator.cc.
|
private |
Definition at line 48 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 49 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 47 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 41 of file WMuNuValidator.cc.
Referenced by init_histograms().
|
private |
Definition at line 42 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 40 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 53 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 52 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 38 of file WMuNuValidator.cc.
Referenced by init_histograms().
|
private |
Definition at line 39 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 51 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 50 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 37 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 44 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 67 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 70 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 69 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 65 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 71 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 57 of file WMuNuValidator.cc.
|
private |
Definition at line 68 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 72 of file WMuNuValidator.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 45 of file WMuNuValidator.cc.
Referenced by badGlobalMuonTaggerFWLite.BadGlobalMuonTagger::badMuons(), and filter().
|
private |
Definition at line 61 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 62 of file WMuNuValidator.cc.
Referenced by filter(), and init_histograms().
|
private |
Definition at line 58 of file WMuNuValidator.cc.
Referenced by filter().
|
private |
Definition at line 36 of file WMuNuValidator.cc.
Referenced by filter().