Classes | |
struct | energysum |
struct | hitsinfo |
Public Member Functions | |
HGCalSimHitValidation (const edm::ParameterSet &) | |
~HGCalSimHitValidation () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Private Member Functions | |
void | analyzeHits (std::vector< PCaloHit > &hits) |
bool | defineGeometry (edm::ESTransientHandle< DDCompactView > &ddViewH) |
void | fillHitsInfo (std::pair< hitsinfo, energysum > hit_, unsigned int itimeslice, double esum) |
void | fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer) |
Private Attributes | |
std::string | caloHitSource_ |
std::vector< MonitorElement * > | energy_ [maxTime_] |
std::vector< MonitorElement * > | EtaPhi_Minus_ |
std::vector< MonitorElement * > | EtaPhi_Plus_ |
int | firstLayer_ |
const HcalDDDRecConstants * | hcons_ |
bool | heRebuild_ |
const HGCalDDDConstants * | hgcons_ |
std::vector< MonitorElement * > | HitOccupancy_Minus_ |
std::vector< MonitorElement * > | HitOccupancy_Plus_ |
unsigned int | layers_ |
MonitorElement * | MeanHitOccupancy_Minus_ |
MonitorElement * | MeanHitOccupancy_Plus_ |
std::string | nameDetector_ |
unsigned int | nTimes_ |
bool | symmDet_ |
bool | testNumber_ |
std::vector< double > | times_ |
edm::EDGetTokenT< edm::HepMCProduct > | tok_hepMC_ |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_hits_ |
std::map< uint32_t, HepGeom::Transform3D > | transMap_ |
int | verbosity_ |
Static Private Attributes | |
static const unsigned int | maxTime_ =6 |
Definition at line 54 of file HGCalSimHitValidation.cc.
|
explicit |
Definition at line 112 of file HGCalSimHitValidation.cc.
References caloHitSource_, heRebuild_, maxTime_, nameDetector_, nTimes_, times_, tok_hepMC_, and tok_hits_.
|
inlineoverride |
Definition at line 74 of file HGCalSimHitValidation.cc.
References analyze(), analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillDescriptions(), fillHitsInfo(), fillOccupancyMap(), and hfClusterShapes_cfi::hits.
|
overrideprotected |
Definition at line 137 of file HGCalSimHitValidation.cc.
References analyzeHits(), HcalDetId::depth(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), HcalEmpty, HcalEndcap, hcons_, heRebuild_, mps_fire::i, edm::HandleBase::id(), HcalDetId::ieta(), createfilelist::int, HcalDetId::iphi(), edm::HandleBase::isValid(), gen::k, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), HcalHitRelabeller::relabel(), HcalDetId::subdet(), testNumber_, tok_hepMC_, tok_hits_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 188 of file HGCalSimHitValidation.cc.
References HGCalSimHitValidation::hitsinfo::cell, HGCalSimHitValidation::hitsinfo::cell2, HGCSiliconDetId::cellU(), HGCSiliconDetId::cellV(), funct::cos(), TauDecayModes::dec, HcalDetId::depth(), PVValHelper::eta, HGCalSimHitValidation::hitsinfo::eta, fastmath::etaphi(), HGCalSimHitValidation::energysum::eTime, HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), firstLayer_, ForwardEmpty, HGCalDDDConstants::geomMode(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getRZ(), HcalEndcap, hcons_, heRebuild_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgcons_, HitOccupancy_Minus_, HitOccupancy_Plus_, mps_fire::i, HGCScintillatorDetId::ietaAbs(), HcalDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HcalDetId::iphi(), gen::k, HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), HGCalSimHitValidation::hitsinfo::layer, HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), nameDetector_, nTimes_, HGCalTestNumbering::packSquareIndex(), HGCalSimHitValidation::hitsinfo::phi, HGCalSimHitValidation::hitsinfo::sector, HGCalSimHitValidation::hitsinfo::sector2, funct::sin(), HGCalGeometryMode::Square, HcalDetId::subdet(), symmDet_, protons_cff::time, times_, transMap_, HGCalGeometryMode::Trapezoid, HGCScintillatorDetId::type(), HGCSiliconDetId::type(), HGCalSimHitValidation::hitsinfo::type, HGCalTestNumbering::unpackHexagonIndex(), HGCalTestNumbering::unpackSquareIndex(), verbosity_, HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), HGCalDDDConstants::waferZ(), HGCalSimHitValidation::hitsinfo::x, geometryCSVtoXML::xy, HGCalSimHitValidation::hitsinfo::y, HGCalSimHitValidation::hitsinfo::z, HGCScintillatorDetId::zside(), HGCSiliconDetId::zside(), HcalDetId::zside(), and ecaldqm::zside().
Referenced by analyze(), and ~HGCalSimHitValidation().
|
overrideprotected |
Definition at line 475 of file HGCalSimHitValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DEFINE_FWK_MODULE, energy_, EtaPhi_Minus_, EtaPhi_Plus_, firstLayer_, HitOccupancy_Minus_, HitOccupancy_Plus_, createfilelist::int, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, nTimes_, pi, and DQMStore::IBooker::setCurrentFolder().
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 396 of file HGCalSimHitValidation.cc.
References DDTrap::alpha1(), popcon2dropbox::copy(), DDFilteredView::copyNumbers(), ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), DDName::fullname(), hgcons_, AnalysisDataFormats_SUSYBSMObjects::hr, createfilelist::int, DDFilteredView::logicalPart(), dataset::name, DDBase< N, C >::name(), nameDetector_, DDFilteredView::next(), HGCalTestNumbering::packSquareIndex(), idealTransformation::rotation, DDFilteredView::rotation(), DDLogicalPart::solid(), HGCalGeometryMode::Square, AlCaHLTBitMon_QueryRunRegistry::string, symmDet_, DDFilteredView::translation(), transMap_, verbosity_, x, y, and z.
Referenced by dqmBeginRun(), and ~HGCalSimHitValidation().
|
overrideprotected |
Definition at line 452 of file HGCalSimHitValidation.cc.
References defineGeometry(), HGCalDDDConstants::firstLayer(), firstLayer_, edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), hcons_, heRebuild_, hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
static |
Definition at line 126 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::times.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 373 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 364 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 108 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 101 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 94 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), and dqmBeginRun().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), dqmBeginRun(), and HGCalSimHitValidation().
|
private |
Definition at line 93 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), defineGeometry(), and dqmBeginRun().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 100 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
staticprivate |
Definition at line 107 of file HGCalSimHitValidation.cc.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 106 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 106 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
private |
Definition at line 109 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and HGCalSimHitValidation().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and HGCalSimHitValidation().
|
private |
Definition at line 99 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 98 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 102 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), and fillHitsInfo().