Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr < DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | fillWithRecHits (std::map< DetId, const HGCRecHit * > &, DetId, unsigned int, float, int &, float &) |
Private Attributes | |
int | algo_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
edm::EDGetTokenT< std::vector < CaloParticle > > | caloParticles_ |
int | debug_ |
int | depletion0_ |
edm::EDGetTokenT< std::vector < reco::GsfElectron > > | electrons_ |
std::array< float, layers_ > | Energy_layer_calib_ |
std::array< float, layers_ > | Energy_layer_calib_fraction_ |
std::map< int, MonitorElement * > | h_EoP_CPene_calib_fraction_ |
std::map< int, MonitorElement * > | hgcal_ele_EoP_CPene_calib_fraction_ |
std::map< int, MonitorElement * > | hgcal_EoP_CPene_calib_fraction_ |
std::map< int, MonitorElement * > | hgcal_photon_EoP_CPene_calib_fraction_ |
edm::EDGetTokenT< std::vector < reco::PFCluster > > | hgcalMultiClusters_ |
MonitorElement * | LayerOccupancy_ |
edm::EDGetTokenT< std::vector < reco::Photon > > | photons_ |
bool | rawRecHits_ |
edm::EDGetTokenT < HGCRecHitCollection > | recHitsBH_ |
edm::EDGetTokenT < HGCRecHitCollection > | recHitsEE_ |
edm::EDGetTokenT < HGCRecHitCollection > | recHitsFH_ |
hgcal::RecHitTools | recHitTools_ |
Static Private Attributes | |
static constexpr int | depletion1_ = 200 |
static constexpr int | depletion2_ = 300 |
static constexpr int | layers_ = 60 |
static constexpr int | scint_ = 400 |
Definition at line 43 of file HGCalHitCalibration.cc.
|
explicit |
Definition at line 84 of file HGCalHitCalibration.cc.
References algo_, caloTruthProducer_cfi::caloParticles, caloParticles_, depletion0_, HI_PhotonSkim_cff::electrons, electrons_, Energy_layer_calib_, Energy_layer_calib_fraction_, edm::ParameterSet::getParameter(), hgcalMultiClusters_, interactiveExample::photons, photons_, recHitsBH_, recHitsEE_, recHitsFH_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 120 of file HGCalHitCalibration.cc.
|
overrideprivatevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 194 of file HGCalHitCalibration.cc.
References a, algo_, cms::cuda::assert(), b, caloGeomToken_, caloTruthProducer_cfi::caloParticles, caloParticles_, HLT_FULL_cff::clusters, reco::CaloCluster::correctedEnergy(), debug_, reco::deltaR2(), DetId::det(), electrons_, reco::PFCluster::energy(), SimCluster::energy(), Energy_layer_calib_, Energy_layer_calib_fraction_, HcalObjRepresent::Fill(), fillWithRecHits(), DetId::Forward, relativeConstraints::geom, edm::Event::getByToken(), edm::EventSetup::getHandle(), hgcal::RecHitTools::getLayerWithOffset(), hgcal::RecHitTools::getSiThickness(), h_EoP_CPene_calib_fraction_, DetId::Hcal, HcalEndcap, hgcal_ele_EoP_CPene_calib_fraction_, hgcal_EoP_CPene_calib_fraction_, hgcal_photon_EoP_CPene_calib_fraction_, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcalMultiClusters_, HGCEE, HGCHEB, HGCHEF, SimCluster::hits_and_fractions(), mps_fire::i, IfLogTrace, LogDebug, or, photons_, rawRecHits_, recHitsBH_, recHitsEE_, recHitsFH_, recHitTools_, scint_, hgcal::RecHitTools::setGeometry(), SimCluster::simEnergy(), edm::SortedCollection< T, SORT >::size(), and DetId::subdetId().
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 125 of file HGCalHitCalibration.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::cd(), depletion0_, depletion1_, depletion2_, h_EoP_CPene_calib_fraction_, hgcal_ele_EoP_CPene_calib_fraction_, hgcal_EoP_CPene_calib_fraction_, hgcal_photon_EoP_CPene_calib_fraction_, LayerOccupancy_, layers_, scint_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
static |
Definition at line 386 of file HGCalHitCalibration.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 160 of file HGCalHitCalibration.cc.
References cms::cuda::assert(), debug_, TauDecayModes::dec, DetId::det(), relval_parameters_module::energy, Energy_layer_calib_fraction_, dqm::impl::MonitorElement::Fill(), DetId::Forward, HLT_FULL_cff::fraction, hgcal::RecHitTools::getLayerWithOffset(), hgcal::RecHitTools::getSiThickness(), DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, IfLogTrace, phase1PixelTopology::layer, LayerOccupancy_, DetId::rawId(), recHitTools_, scint_, and DetId::subdetId().
Referenced by analyze().
|
private |
Definition at line 64 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 65 of file HGCalHitCalibration.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 67 of file HGCalHitCalibration.cc.
Referenced by analyze(), and fillWithRecHits().
|
private |
Definition at line 64 of file HGCalHitCalibration.cc.
Referenced by bookHistograms(), and HGCalHitCalibration().
|
staticprivate |
Definition at line 69 of file HGCalHitCalibration.cc.
Referenced by bookHistograms().
|
staticprivate |
Definition at line 70 of file HGCalHitCalibration.cc.
Referenced by bookHistograms().
|
private |
Definition at line 61 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 80 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 81 of file HGCalHitCalibration.cc.
Referenced by analyze(), fillWithRecHits(), and HGCalHitCalibration().
|
private |
Definition at line 73 of file HGCalHitCalibration.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 75 of file HGCalHitCalibration.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 74 of file HGCalHitCalibration.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file HGCalHitCalibration.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 60 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 77 of file HGCalHitCalibration.cc.
Referenced by bookHistograms(), and fillWithRecHits().
|
staticprivate |
Definition at line 79 of file HGCalHitCalibration.cc.
Referenced by bookHistograms().
|
private |
Definition at line 62 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 66 of file HGCalHitCalibration.cc.
Referenced by analyze().
|
private |
Definition at line 58 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 56 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 57 of file HGCalHitCalibration.cc.
Referenced by analyze(), and HGCalHitCalibration().
|
private |
Definition at line 68 of file HGCalHitCalibration.cc.
Referenced by analyze(), and fillWithRecHits().
|
staticprivate |
Definition at line 71 of file HGCalHitCalibration.cc.
Referenced by analyze(), bookHistograms(), and fillWithRecHits().