#include <HSCPValidation/HSCPValidator/src/HSCPValidator.cc>
Public Member Functions | |
HSCPValidator (const edm::ParameterSet &) | |
~HSCPValidator () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
bool | IncreasedTreshold (const trigger::TriggerEvent &trEv, const edm::InputTag &InputPath, double NewThreshold, double etaCut, int NObjectAboveThreshold, bool averageThreshold) |
std::string | intToString (int num) |
void | makeGenPlots (const edm::Event &iEvent) |
void | makeHLTPlots (const edm::Event &iEvent) |
void | makeRecoPlots (const edm::Event &iEvent) |
void | makeSimDigiPlotsECAL (const edm::Event &iEvent) |
void | makeSimDigiPlotsRPC (const edm::Event &iEvent) |
void | makeSimTrackPlots (const edm::Event &iEvent) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 44 of file HSCPValidator.h.
|
explicit |
Definition at line 99 of file HSCPValidator.cc.
References cluSizeDistribution_, dedxVsp, digiOccupancyMapEB_, digiOccupancyMapEEM_, digiOccupancyMapEEP_, digisEcalNumHistEB_, digisEcalNumHistEE_, efficiencyRPCRecHitSimDigis_, h_genhscp_met, h_genhscp_met_nohscp, h_genhscp_scaloret, h_genhscp_scaloret_nohscp, hltjet, hltmet, hltmu, TFileService::make(), particleBetaHist_, particleBetaInverseHist_, particleEtaHist_, particleMassHist_, particlePhiHist_, particlePHist_, particlePtHist_, particleStatusHist_, RecoHSCPPtVsGenPt, residualsRPCRecHitSimDigis_, rpcBXBarrel_, rpcBXEndCap_, rpcTimeOfFlightBarrel_, rpcTimeOfFlightEndCap_, simHitsEcalDigiMatchEnergyHistEB_, simHitsEcalDigiMatchEnergyHistEE_, simHitsEcalDigiMatchEnergyVsTimeHistEB_, simHitsEcalDigiMatchEnergyVsTimeHistEE_, simHitsEcalDigiMatchIEtaHist_, simHitsEcalDigiMatchIPhiHist_, simHitsEcalDigiMatchTimeHistEB_, simHitsEcalDigiMatchTimeHistEE_, simHitsEcalEnergyHistEB_, simHitsEcalEnergyHistEE_, simHitsEcalEnergyVsTimeHistEB_, simHitsEcalEnergyVsTimeHistEE_, simHitsEcalNumHistEB_, simHitsEcalNumHistEE_, simHitsEcalTimeHistEB_, simHitsEcalTimeHistEE_, simTrackParticleBetaHist_, simTrackParticleEtaHist_, simTrackParticlePhiHist_, simTrackParticlePHist_, and simTrackParticlePtHist_.
HSCPValidator::~HSCPValidator | ( | ) |
Definition at line 202 of file HSCPValidator.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 225 of file HSCPValidator.cc.
References doGenPlots_, doHLTPlots_, doRecoPlots_, doSimDigiPlots_, doSimTrackPlots_, edm::EventSetup::get(), makeGenPlots(), makeHLTPlots(), makeRecoPlots(), makeSimDigiPlotsECAL(), makeSimDigiPlotsRPC(), makeSimTrackPlots(), and rpcGeo.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 256 of file HSCPValidator.cc.
References gather_cfg::cout, intToString(), particleIdsFoundMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 842 of file HSCPValidator.cc.
References assert(), Average, eta, trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), i, bookConverter::max, gen::n, EnergyCorrector::pt, trigger::TriggerEvent::sizeFilters(), and python.multivaluedict::sort().
Referenced by makeHLTPlots().
|
private |
|
private |
Definition at line 273 of file HSCPValidator.cc.
References funct::abs(), spr::find(), edm::Event::getByToken(), h_genhscp_met, h_genhscp_met_nohscp, h_genhscp_scaloret, h_genhscp_scaloret_nohscp, mag(), AlCaHLTBitMon_ParallelJobs::p, particleBetaHist_, particleBetaInverseHist_, particleEtaHist_, particleIds_, particleIdsFoundMap_, particleMassHist_, particlePhiHist_, particlePHist_, particlePtHist_, particleStatus_, particleStatusHist_, funct::pow(), mathSSE::sqrt(), and token_.
Referenced by analyze().
|
private |
Definition at line 377 of file HSCPValidator.cc.
References gather_cfg::cout, edm::Event::getByToken(), hltjet, hltmet, hltmu, i, IncreasedTreshold(), HLT_25ns14e33_v1_cff::InputTag, trEvToken_, and edm::Event::triggerResultsByName().
Referenced by analyze().
|
private |
Definition at line 676 of file HSCPValidator.cc.
References dEdxTrackToken_, dedxVsp, HLT_25ns14e33_v1_cff::distance, spr::find(), edm::Event::getByToken(), i, HLT_25ns14e33_v1_cff::minR, AlCaHLTBitMon_ParallelJobs::p, particleIds_, particleStatus_, funct::pow(), dt_dqm_sourceclient_common_cff::reco, RecoHSCPPtVsGenPt, mathSSE::sqrt(), tkTracksToken_, and token_.
Referenced by analyze().
|
private |
Definition at line 464 of file HSCPValidator.cc.
References EcalMGPASample::adc(), gather_cfg::cout, digiOccupancyMapEB_, digiOccupancyMapEEM_, digiOccupancyMapEEP_, digisEcalNumHistEB_, digisEcalNumHistEE_, EBDigiCollectionToken_, ebSimHitToken_, EEDigiCollectionToken_, eeSimHitToken_, spr::find(), edm::Event::getByToken(), i, particleIds_, EcalDataFrame::sample(), simHitsEcalDigiMatchEnergyHistEB_, simHitsEcalDigiMatchEnergyHistEE_, simHitsEcalDigiMatchEnergyVsTimeHistEB_, simHitsEcalDigiMatchEnergyVsTimeHistEE_, simHitsEcalDigiMatchIEtaHist_, simHitsEcalDigiMatchIPhiHist_, simHitsEcalDigiMatchTimeHistEB_, simHitsEcalDigiMatchTimeHistEE_, simHitsEcalEnergyHistEB_, simHitsEcalEnergyHistEE_, simHitsEcalEnergyVsTimeHistEB_, simHitsEcalEnergyVsTimeHistEE_, simHitsEcalNumHistEB_, simHitsEcalNumHistEE_, simHitsEcalTimeHistEB_, simHitsEcalTimeHistEE_, simTrackToken_, EcalDataFrame::size(), and ecaldqm::zside().
Referenced by analyze().
|
private |
Definition at line 732 of file HSCPValidator.cc.
References cluSizeDistribution_, gather_cfg::cout, efficiencyRPCRecHitSimDigis_, PV3DBase< T, PVType, FrameType >::eta(), HcalObjRepresent::Fill(), spr::find(), edm::Event::getByToken(), edm::Event::getManyByType(), i, RPCDetId::layer(), PV3DBase< T, PVType, FrameType >::mag(), DetId::Muon, RPCGeomServ::name(), particleIds_, PV3DBase< T, PVType, FrameType >::phi(), RPCDetId::region(), residualsRPCRecHitSimDigis_, MuonSubdetId::RPC, rpcBXBarrel_, rpcBXEndCap_, rpcGeo, HLT_25ns14e33_v1_cff::rpcRecHits, rpcRecHitsToken_, rpcTimeOfFlightBarrel_, rpcTimeOfFlightEndCap_, RPCDetId::station(), GeomDet::surface(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 350 of file HSCPValidator.cc.
References spr::find(), edm::Event::getByToken(), particleIds_, simTrackParticleBetaHist_, simTrackParticleEtaHist_, simTrackParticlePhiHist_, simTrackParticlePHist_, simTrackParticlePtHist_, and simTracksToken_.
Referenced by analyze().
|
private |
Definition at line 132 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 74 of file HSCPValidator.h.
Referenced by makeRecoPlots().
|
private |
Definition at line 143 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 126 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 128 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 127 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 124 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 125 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 63 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 64 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 67 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 66 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 65 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 104 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 101 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 105 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 102 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 131 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 87 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 88 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 89 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 90 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 139 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 138 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 140 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 85 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 86 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 79 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 76 of file HSCPValidator.h.
Referenced by makeGenPlots(), makeRecoPlots(), makeSimDigiPlotsECAL(), makeSimDigiPlotsRPC(), and makeSimTrackPlots().
|
private |
Definition at line 78 of file HSCPValidator.h.
Referenced by endJob(), and makeGenPlots().
|
private |
Definition at line 83 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 80 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 81 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 82 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 77 of file HSCPValidator.h.
Referenced by makeGenPlots(), and makeRecoPlots().
|
private |
Definition at line 84 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 142 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 130 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 134 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 136 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 106 of file HSCPValidator.h.
Referenced by analyze(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 75 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsRPC().
|
private |
Definition at line 133 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 135 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 116 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 119 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 118 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 121 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 122 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 123 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 117 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 120 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 108 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 112 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 111 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 115 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 110 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 114 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 109 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 113 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 98 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 94 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 95 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 96 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 97 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 71 of file HSCPValidator.h.
Referenced by makeSimTrackPlots().
|
private |
Definition at line 103 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 73 of file HSCPValidator.h.
Referenced by makeRecoPlots().
|
private |
Definition at line 70 of file HSCPValidator.h.
Referenced by makeGenPlots(), and makeRecoPlots().
|
private |
Definition at line 72 of file HSCPValidator.h.
Referenced by makeHLTPlots().