Classes | |
struct | energysum |
struct | hitsinfo |
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 &) |
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 |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Private Member Functions | |
void | analyzeHits (std::vector< PCaloHit > &hits) |
bool | defineGeometry (const DDCompactView *ddViewH) |
bool | defineGeometry (const cms::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 | |
const std::string | caloHitSource_ |
std::vector< MonitorElement * > | energy_ [maxTime_] |
std::vector< MonitorElement * > | EtaPhi_Minus_ |
std::vector< MonitorElement * > | EtaPhi_Plus_ |
int | firstLayer_ |
const bool | fromDDD_ |
const HGCalDDDConstants * | hgcons_ |
std::vector< MonitorElement * > | HitOccupancy_Minus_ |
std::vector< MonitorElement * > | HitOccupancy_Plus_ |
unsigned int | layers_ |
MonitorElement * | MeanHitOccupancy_Minus_ |
MonitorElement * | MeanHitOccupancy_Plus_ |
const std::string | nameDetector_ |
unsigned int | nTimes_ |
bool | symmDet_ |
const std::vector< double > | times_ |
const edm::ESGetToken < DDCompactView, IdealGeometryRecord > | tok_cpv_ |
const edm::ESGetToken < cms::DDCompactView, IdealGeometryRecord > | tok_cpvc_ |
edm::EDGetTokenT < edm::HepMCProduct > | tok_hepMC_ |
const edm::ESGetToken < HGCalDDDConstants, IdealGeometryRecord > | tok_hgcal_ |
edm::EDGetTokenT < edm::PCaloHitContainer > | tok_hits_ |
std::map< uint32_t, HepGeom::Transform3D > | transMap_ |
const int | verbosity_ |
Static Private Attributes | |
static const unsigned int | maxTime_ = 6 |
Definition at line 50 of file HGCalSimHitValidation.cc.
|
explicit |
Definition at line 111 of file HGCalSimHitValidation.cc.
References nameDetector_.
|
inlineoverride |
Definition at line 71 of file HGCalSimHitValidation.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 140 of file HGCalSimHitValidation.cc.
References analyzeHits(), edm::Event::getByToken(), edm::HandleBase::isValid(), isotrackApplyRegressor::k, AlCaHLTBitMon_ParallelJobs::p, tok_hepMC_, and verbosity_.
|
private |
Definition at line 172 of file HGCalSimHitValidation.cc.
References HGCalSimHitValidation::hitsinfo::cell, HGCalSimHitValidation::hitsinfo::cell2, HGCSiliconDetId::cellU(), HGCSiliconDetId::cellV(), TauDecayModes::dec, relval_parameters_module::energy, HGCalSimHitValidation::hitsinfo::eta, PVValHelper::eta, HGCalSimHitValidation::energysum::eTime, HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), firstLayer_, hgcons_, HitOccupancy_Minus_, HitOccupancy_Plus_, mps_fire::i, HGCScintillatorDetId::ietaAbs(), HGCScintillatorDetId::iphi(), isotrackApplyRegressor::k, HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), HGCalSimHitValidation::hitsinfo::layer, phase1PixelTopology::layer, HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), nameDetector_, nTimes_, HGCalSimHitValidation::hitsinfo::phi, HGCalSimHitValidation::hitsinfo::sector, HGCalSimHitValidation::hitsinfo::sector2, HGCalDDDConstants::tileTrapezoid(), times_, HGCScintillatorDetId::type(), HGCSiliconDetId::type(), HGCalSimHitValidation::hitsinfo::type, HGCalTestNumbering::unpackHexagonIndex(), verbosity_, HGCalDDDConstants::waferHexagon8(), HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), HGCalDDDConstants::waferZ(), HGCalSimHitValidation::hitsinfo::x, xy(), HGCalSimHitValidation::hitsinfo::y, HGCalSimHitValidation::hitsinfo::z, HGCScintillatorDetId::zside(), HGCSiliconDetId::zside(), and ecaldqm::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 434 of file HGCalSimHitValidation.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), energy_, EtaPhi_Minus_, EtaPhi_Plus_, firstLayer_, HitOccupancy_Minus_, HitOccupancy_Plus_, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, nTimes_, pi, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
Definition at line 327 of file HGCalSimHitValidation.cc.
References DDTrap::alpha1(), filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), alcazmumu_cfi::filter, DDFilteredView::firstChild(), DDName::fullname(), hgcons_, DDFilteredView::logicalPart(), DDBase< N, C >::name(), mergeVDriftHistosByStation::name, nameDetector_, DDFilteredView::next(), HGCalTestNumbering::packSquareIndex(), idealTransformation::rotation, DDFilteredView::rotation(), DDLogicalPart::solid(), HGCalGeometryMode::Square, AlCaHLTBitMon_QueryRunRegistry::string, symmDet_, DDFilteredView::translation(), transMap_, relativeConstraints::value, verbosity_, x, y, and z.
Referenced by dqmBeginRun().
|
private |
Definition at line 375 of file HGCalSimHitValidation.cc.
References filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), alcazmumu_cfi::filter, cms::DDFilteredView::firstChild(), hgcons_, mergeVDriftHistosByStation::name, cms::DDFilteredView::name(), nameDetector_, HGCalTestNumbering::packSquareIndex(), cms::DDFilteredView::parameters(), idealTransformation::rotation, cms::DDFilteredView::rotation(), HGCalGeometryMode::Square, symmDet_, cms::DDFilteredView::translation(), transMap_, verbosity_, x, y, and z.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 418 of file HGCalSimHitValidation.cc.
References defineGeometry(), HGCalDDDConstants::firstLayer(), firstLayer_, fromDDD_, edm::EventSetup::getData(), hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, tok_cpv_, tok_cpvc_, tok_hgcal_, and verbosity_.
|
static |
Definition at line 128 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 310 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits().
|
private |
Definition at line 302 of file HGCalSimHitValidation.cc.
References phase1PixelTopology::layer.
Referenced by analyzeHits().
|
private |
Definition at line 88 of file HGCalSimHitValidation.cc.
|
private |
Definition at line 107 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 100 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 89 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), defineGeometry(), and dqmBeginRun().
|
private |
Definition at line 103 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 103 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 99 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
staticprivate |
Definition at line 106 of file HGCalSimHitValidation.cc.
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 88 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
private |
Definition at line 108 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 98 of file HGCalSimHitValidation.cc.
Referenced by defineGeometry().
|
private |
Definition at line 90 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits().
|
private |
Definition at line 94 of file HGCalSimHitValidation.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 95 of file HGCalSimHitValidation.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file HGCalSimHitValidation.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
|
private |
Definition at line 101 of file HGCalSimHitValidation.cc.
Referenced by defineGeometry().
|
private |
Definition at line 91 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), and fillHitsInfo().