Classes | |
struct | energysum |
struct | HitsInfo |
Public 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 |
HGCalRecHitValidation (const edm::ParameterSet &) | |
~HGCalRecHitValidation () 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) |
Private Member Functions | |
void | fillHitsInfo () |
void | fillHitsInfo (HitsInfo &hits) |
void | fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer) |
template<class T1 , class T2 > | |
void | recHitValidation (DetId &detId, int layer, const T1 *geom, T2 it) |
Private Attributes | |
std::vector< MonitorElement * > | energy_ |
std::vector< MonitorElement * > | EtaPhi_Minus_ |
std::vector< MonitorElement * > | EtaPhi_Plus_ |
int | firstLayer_ |
std::vector< MonitorElement * > | HitOccupancy_Minus_ |
std::vector< MonitorElement * > | HitOccupancy_Plus_ |
bool | ifHCAL_ |
unsigned int | layers_ |
MonitorElement * | MeanHitOccupancy_Minus_ |
MonitorElement * | MeanHitOccupancy_Plus_ |
std::string | nameDetector_ |
std::map< int, int > | OccupancyMap_minus |
std::map< int, int > | OccupancyMap_plus |
edm::EDGetToken | recHitSource_ |
int | verbosity_ |
Definition at line 41 of file HGCalRecHitValidation.cc.
|
explicit |
Definition at line 93 of file HGCalRecHitValidation.cc.
References Exception, edm::ParameterSet::getParameter(), ifHCAL_, nameDetector_, recHitSource_, and groupFilesInBlocks::temp.
|
inlineoverride |
Definition at line 60 of file HGCalRecHitValidation.cc.
References analyze(), bookHistograms(), dqmBeginRun(), fillDescriptions(), fillHitsInfo(), fillOccupancyMap(), relativeConstraints::geom, hfClusterShapes_cfi::hits, and recHitValidation().
|
override |
Definition at line 125 of file HGCalRecHitValidation.cc.
References HcalDetId::depth(), edm::EventID::event(), fillHitsInfo(), relativeConstraints::geom, motionPolicyChamber::geom0, HGCalTopology::geomMode(), edm::EventSetup::get(), edm::Event::getByToken(), HcalEndcap, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, edm::EventBase::id(), ifHCAL_, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), HGCScintillatorDetId::layer(), HGCalDetId::layer(), HGCSiliconDetId::layer(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, nameDetector_, OccupancyMap_minus, OccupancyMap_plus, convertSQLiteXML::ok, edm::Handle< T >::product(), edm::ESHandle< T >::product(), recHitSource_, recHitValidation(), edm::SortedCollection< T, SORT >::size(), DetId::subdetId(), HGCalGeometry::topology(), HGCalGeometryMode::Trapezoid, and verbosity_.
Referenced by ~HGCalRecHitValidation().
|
override |
Definition at line 307 of file HGCalRecHitValidation.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_, pi, and DQMStore::IBooker::setCurrentFolder().
Referenced by ~HGCalRecHitValidation().
|
override |
Definition at line 290 of file HGCalRecHitValidation.cc.
References HGCalDDDConstants::firstLayer(), firstLayer_, edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), HGCalDDDConstants::layers(), layers_, and nameDetector_.
Referenced by ~HGCalRecHitValidation().
|
static |
Definition at line 116 of file HGCalRecHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~HGCalRecHitValidation().
|
private |
Definition at line 264 of file HGCalRecHitValidation.cc.
References HitOccupancy_Minus_, HitOccupancy_Plus_, OccupancyMap_minus, and OccupancyMap_plus.
Referenced by analyze(), recHitValidation(), and ~HGCalRecHitValidation().
|
private |
Definition at line 280 of file HGCalRecHitValidation.cc.
References HGCalRecHitValidation::HitsInfo::energy, energy_, HGCalRecHitValidation::HitsInfo::eta, EtaPhi_Minus_, EtaPhi_Plus_, HGCalRecHitValidation::HitsInfo::layer, and HGCalRecHitValidation::HitsInfo::phi.
|
private |
Definition at line 258 of file HGCalRecHitValidation.cc.
Referenced by recHitValidation(), and ~HGCalRecHitValidation().
|
private |
Definition at line 225 of file HGCalRecHitValidation.cc.
References HGCalRecHitValidation::HitsInfo::energy, HGCalRecHitValidation::HitsInfo::eta, PV3DBase< T, PVType, FrameType >::eta(), fillHitsInfo(), fillOccupancyMap(), firstLayer_, HGCalRecHitValidation::HitsInfo::layer, OccupancyMap_minus, OccupancyMap_plus, HGCalRecHitValidation::HitsInfo::phi, PV3DBase< T, PVType, FrameType >::phi(), verbosity_, HGCalRecHitValidation::HitsInfo::x, PV3DBase< T, PVType, FrameType >::x(), HGCalRecHitValidation::HitsInfo::y, PV3DBase< T, PVType, FrameType >::y(), HGCalRecHitValidation::HitsInfo::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and ~HGCalRecHitValidation().
|
private |
Definition at line 86 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 85 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 84 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 80 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and recHitValidation().
|
private |
Definition at line 88 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 87 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 77 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 79 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 90 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 89 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 75 of file HGCalRecHitValidation.cc.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HGCalRecHitValidation().
|
private |
Definition at line 82 of file HGCalRecHitValidation.cc.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 81 of file HGCalRecHitValidation.cc.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 76 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 78 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and recHitValidation().