#include <HSCPValidation/HSCPValidator/src/HSCPValidator.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 46 of file HSCPValidator.h.
|
explicit |
Definition at line 96 of file HSCPValidator.cc.
References cluSizeDistribution_, dedxVsp, digiOccupancyMapEB_, digiOccupancyMapEEM_, digiOccupancyMapEEP_, digisEcalNumHistEB_, digisEcalNumHistEE_, efficiencyRPCRecHitSimDigis_, fileService, 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_.
|
override |
Definition at line 233 of file HSCPValidator.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 251 of file HSCPValidator.cc.
References doGenPlots_, doHLTPlots_, doRecoPlots_, doSimDigiPlots_, doSimTrackPlots_, edm::EventSetup::get(), get, iEvent, makeGenPlots(), makeHLTPlots(), makeRecoPlots(), makeSimDigiPlotsECAL(), makeSimDigiPlotsRPC(), makeSimTrackPlots(), and rpcGeo.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 275 of file HSCPValidator.cc.
References gather_cfg::cout, intToString(), particleIdsFoundMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 839 of file HSCPValidator.cc.
References cms::cuda::assert(), Average, PVValHelper::eta, fftjetproducer_cfi::etaCut, trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), mps_fire::i, SiStripPI::max, dqmiodumpmetadata::n, DiDispStaMuonMonitor_cfi::pt, and trigger::TriggerEvent::sizeFilters().
Referenced by makeHLTPlots().
|
private |
Definition at line 830 of file HSCPValidator.cc.
References EgammaValidation_cff::num.
Referenced by endJob().
|
private |
Definition at line 291 of file HSCPValidator.cc.
References funct::abs(), spr::find(), edm::HepMCProduct::GetEvent(), h_genhscp_met, h_genhscp_met_nohscp, h_genhscp_scaloret, h_genhscp_scaloret_nohscp, iEvent, 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 384 of file HSCPValidator.cc.
References edm::TriggerResultsByName::accept(), gather_cfg::cout, hltjet, hltmet, hltmu, mps_fire::i, iEvent, IncreasedTreshold(), HLT_FULL_cff::InputTag, edm::TriggerResultsByName::isValid(), edm::TriggerResultsByName::size(), trEvToken_, edm::TriggerResultsByName::triggerIndex(), edm::TriggerResultsByName::triggerName(), triggerResults, and triggerResultsToken_.
Referenced by analyze().
|
private |
Definition at line 676 of file HSCPValidator.cc.
References dEdxTrackToken_, dedxVsp, HLT_FULL_cff::distance, spr::find(), edm::HepMCProduct::GetEvent(), mps_fire::i, iEvent, HLT_FULL_cff::minR, AlCaHLTBitMon_ParallelJobs::p, particleIds_, particleStatus_, funct::pow(), edm::Handle< T >::product(), RecoHSCPPtVsGenPt, mathSSE::sqrt(), tkTracksToken_, and token_.
Referenced by analyze().
|
private |
Definition at line 479 of file HSCPValidator.cc.
References edm::DataFrameContainer::begin(), gather_cfg::cout, hgcalPerformanceValidation::df, digiOccupancyMapEB_, digiOccupancyMapEEM_, digiOccupancyMapEEP_, digisEcalNumHistEB_, digisEcalNumHistEE_, EBDigiCollectionToken_, ebSimHitToken_, EEDigiCollectionToken_, SimL1EmulatorDM_cff::eeDigis, hgcalTriggerNtuples_cfi::eeSimHits, eeSimHitToken_, edm::DataFrameContainer::end(), spr::find(), mps_fire::i, LEDCalibrationChannels::ieta, iEvent, LEDCalibrationChannels::iphi, edm::HandleBase::isValid(), particleIds_, edm::Handle< T >::product(), simHitsEcalDigiMatchEnergyHistEB_, simHitsEcalDigiMatchEnergyHistEE_, simHitsEcalDigiMatchEnergyVsTimeHistEB_, simHitsEcalDigiMatchEnergyVsTimeHistEE_, simHitsEcalDigiMatchIEtaHist_, simHitsEcalDigiMatchIPhiHist_, simHitsEcalDigiMatchTimeHistEB_, simHitsEcalDigiMatchTimeHistEE_, simHitsEcalEnergyHistEB_, simHitsEcalEnergyHistEE_, simHitsEcalEnergyVsTimeHistEB_, simHitsEcalEnergyVsTimeHistEE_, simHitsEcalNumHistEB_, simHitsEcalNumHistEE_, simHitsEcalTimeHistEB_, simHitsEcalTimeHistEE_, muonSimHitMatcherPSet::simTrack, TrackCandidateProducer_cfi::simTracks, simTrackToken_, and ecaldqm::zside().
Referenced by analyze().
|
private |
Definition at line 726 of file HSCPValidator.cc.
References l1GtPatternGenerator_cfi::bx, cluSizeDistribution_, gather_cfg::cout, efficiencyRPCRecHitSimDigis_, PV3DBase< T, PVType, FrameType >::eta(), HcalObjRepresent::Fill(), spr::find(), mps_fire::i, iEvent, createfilelist::int, RPCDetId::layer(), PV3DBase< T, PVType, FrameType >::mag(), DetId::Muon, RPCGeomServ::name(), particleIds_, PV3DBase< T, PVType, FrameType >::phi(), rpcPointValidation_cfi::recHit, RPCDetId::region(), residualsRPCRecHitSimDigis_, RPCGeometry::roll(), MuonSubdetId::RPC, rpcBXBarrel_, rpcBXEndCap_, rpcGeo, dtTriggerPhase2PrimitiveDigis_cfi::rpcRecHits, rpcRecHitsToken_, rpcTimeOfFlightBarrel_, rpcTimeOfFlightEndCap_, RPCDetId::station(), GeomDet::surface(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 357 of file HSCPValidator.cc.
References spr::find(), iEvent, particleIds_, edm::Handle< T >::product(), muonSimHitMatcherPSet::simTrack, simTrackParticleBetaHist_, simTrackParticleEtaHist_, simTrackParticlePhiHist_, simTrackParticlePHist_, simTrackParticlePtHist_, TrackCandidateProducer_cfi::simTracks, and simTracksToken_.
Referenced by analyze().
|
private |
Definition at line 138 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 80 of file HSCPValidator.h.
Referenced by makeRecoPlots().
|
private |
Definition at line 149 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 132 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 134 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 133 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 130 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 131 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 69 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 70 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 73 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 72 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 71 of file HSCPValidator.h.
Referenced by analyze().
|
private |
Definition at line 110 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 107 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 111 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 108 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 137 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 94 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 95 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 96 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 97 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 145 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 144 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 146 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 92 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 93 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 83 of file HSCPValidator.h.
Referenced by makeGenPlots(), makeRecoPlots(), makeSimDigiPlotsECAL(), makeSimDigiPlotsRPC(), and makeSimTrackPlots().
|
private |
Definition at line 85 of file HSCPValidator.h.
Referenced by endJob(), and makeGenPlots().
|
private |
Definition at line 90 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
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 84 of file HSCPValidator.h.
Referenced by makeGenPlots(), and makeRecoPlots().
|
private |
Definition at line 91 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 148 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 136 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 140 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 142 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 112 of file HSCPValidator.h.
Referenced by analyze(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 81 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsRPC().
|
private |
Definition at line 139 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 141 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 122 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 124 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 128 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 129 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 126 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 118 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 121 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsECAL().
|
private |
Definition at line 116 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 115 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 104 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 100 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 101 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 102 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 103 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimTrackPlots().
|
private |
Definition at line 77 of file HSCPValidator.h.
Referenced by makeSimTrackPlots().
|
private |
Definition at line 109 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 79 of file HSCPValidator.h.
Referenced by makeRecoPlots().
|
private |
Definition at line 76 of file HSCPValidator.h.
Referenced by makeGenPlots(), and makeRecoPlots().
|
private |
Definition at line 78 of file HSCPValidator.h.
Referenced by makeHLTPlots().
|
private |
Definition at line 82 of file HSCPValidator.h.
Referenced by makeHLTPlots().