#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 | 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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 44 of file HSCPValidator.h.
|
explicit |
Definition at line 98 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_.
|
override |
Definition at line 202 of file HSCPValidator.cc.
|
overrideprivate |
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.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
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 847 of file HSCPValidator.cc.
References Average, DEFINE_FWK_MODULE, PVValHelper::eta, fftjetproducer_cfi::etaCut, trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), mps_fire::i, SiStripPI::max, gen::n, EnergyCorrector::pt, and trigger::TriggerEvent::sizeFilters().
Referenced by makeHLTPlots().
|
private |
Definition at line 834 of file HSCPValidator.cc.
Referenced by endJob().
|
private |
Definition at line 273 of file HSCPValidator.cc.
References funct::abs(), spr::find(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), 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 edm::TriggerResultsByName::accept(), gather_cfg::cout, edm::Event::getByToken(), hltjet, hltmet, hltmu, mps_fire::i, IncreasedTreshold(), edm::TriggerResultsByName::isValid(), edm::HandleBase::isValid(), edm::TriggerResultsByName::size(), trEvToken_, edm::TriggerResultsByName::triggerIndex(), edm::TriggerResultsByName::triggerName(), triggerResults, edm::Event::triggerResultsByName(), and triggerResultsToken_.
Referenced by analyze().
|
private |
Definition at line 681 of file HSCPValidator.cc.
References dEdxTrackToken_, dedxVsp, SoftLeptonByDistance_cfi::distance, spr::find(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, particleIds_, particleStatus_, funct::pow(), edm::Handle< T >::product(), RecoHSCPPtVsGenPt, mathSSE::sqrt(), tkTracksToken_, and token_.
Referenced by analyze().
|
private |
Definition at line 469 of file HSCPValidator.cc.
References EcalMGPASample::adc(), edm::DataFrameContainer::begin(), gather_cfg::cout, digiOccupancyMapEB_, digiOccupancyMapEEM_, digiOccupancyMapEEP_, digisEcalNumHistEB_, digisEcalNumHistEE_, EBDigiCollectionToken_, ebSimHitToken_, EEDigiCollectionToken_, eeSimHitToken_, edm::DataFrameContainer::end(), spr::find(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), particleIds_, edm::Handle< T >::product(), EcalDataFrame::sample(), simHitsEcalDigiMatchEnergyHistEB_, simHitsEcalDigiMatchEnergyHistEE_, simHitsEcalDigiMatchEnergyVsTimeHistEB_, simHitsEcalDigiMatchEnergyVsTimeHistEE_, simHitsEcalDigiMatchIEtaHist_, simHitsEcalDigiMatchIPhiHist_, simHitsEcalDigiMatchTimeHistEB_, simHitsEcalDigiMatchTimeHistEE_, simHitsEcalEnergyHistEB_, simHitsEcalEnergyHistEE_, simHitsEcalEnergyVsTimeHistEB_, simHitsEcalEnergyVsTimeHistEE_, simHitsEcalNumHistEB_, simHitsEcalNumHistEE_, simHitsEcalTimeHistEB_, simHitsEcalTimeHistEE_, simTrackMatching_cfi::simTrack, tkConvValidator_cfi::simTracks, simTrackToken_, EcalDataFrame::size(), and ecaldqm::zside().
Referenced by analyze().
|
private |
Definition at line 737 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(), mps_fire::i, 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, JetIDParams_cfi::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_, edm::Handle< T >::product(), simTrackMatching_cfi::simTrack, simTrackParticleBetaHist_, simTrackParticleEtaHist_, simTrackParticlePhiHist_, simTrackParticlePHist_, simTrackParticlePtHist_, tkConvValidator_cfi::simTracks, and simTracksToken_.
Referenced by analyze().
|
private |
Definition at line 133 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 144 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 127 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 128 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 126 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 105 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 102 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 106 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 103 of file HSCPValidator.h.
Referenced by makeSimDigiPlotsECAL().
|
private |
Definition at line 132 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
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 91 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 140 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 139 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 141 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeHLTPlots().
|
private |
Definition at line 86 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 80 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 77 of file HSCPValidator.h.
Referenced by makeGenPlots(), makeRecoPlots(), makeSimDigiPlotsECAL(), makeSimDigiPlotsRPC(), and makeSimTrackPlots().
|
private |
Definition at line 79 of file HSCPValidator.h.
Referenced by endJob(), and makeGenPlots().
|
private |
Definition at line 84 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 83 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 78 of file HSCPValidator.h.
Referenced by makeGenPlots(), and makeRecoPlots().
|
private |
Definition at line 85 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeGenPlots().
|
private |
Definition at line 143 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeRecoPlots().
|
private |
Definition at line 131 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 137 of file HSCPValidator.h.
Referenced by HSCPValidator(), and makeSimDigiPlotsRPC().
|
private |
Definition at line 107 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 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 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 119 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 124 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 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 112 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 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 99 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 98 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 104 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().
|
private |
Definition at line 76 of file HSCPValidator.h.
Referenced by makeHLTPlots().