Classes | |
struct | energysum |
struct | HitsInfo |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (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_ |
Additional Inherited Members | |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 41 of file HGCalRecHitValidation.cc.
|
explicit |
Definition at line 91 of file HGCalRecHitValidation.cc.
References Exception, edm::ParameterSet::getParameter(), ifHCAL_, nameDetector_, recHitSource_, and groupFilesInBlocks::temp.
|
inlineoverride |
Definition at line 58 of file HGCalRecHitValidation.cc.
References analyze(), bookHistograms(), dqmBeginRun(), fillDescriptions(), fillHitsInfo(), fillOccupancyMap(), relativeConstraints::geom, hfClusterShapes_cfi::hits, and recHitValidation().
|
override |
Definition at line 121 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(), HGCalDetId::layer(), HGCScintillatorDetId::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().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 292 of file HGCalRecHitValidation.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::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 dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
Referenced by ~HGCalRecHitValidation().
|
override |
Definition at line 277 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 112 of file HGCalRecHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~HGCalRecHitValidation().
|
private |
Definition at line 255 of file HGCalRecHitValidation.cc.
References HitOccupancy_Minus_, HitOccupancy_Plus_, OccupancyMap_minus, and OccupancyMap_plus.
Referenced by analyze(), recHitValidation(), and ~HGCalRecHitValidation().
|
private |
Definition at line 269 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 248 of file HGCalRecHitValidation.cc.
Referenced by recHitValidation(), and ~HGCalRecHitValidation().
|
private |
Definition at line 218 of file HGCalRecHitValidation.cc.
References HCALHighEnergyHPDFilter_cfi::energy, 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 84 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 83 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 82 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 78 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and recHitValidation().
|
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 75 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 77 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 88 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 87 of file HGCalRecHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 73 of file HGCalRecHitValidation.cc.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HGCalRecHitValidation().
|
private |
Definition at line 80 of file HGCalRecHitValidation.cc.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 79 of file HGCalRecHitValidation.cc.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 74 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 76 of file HGCalRecHitValidation.cc.
Referenced by analyze(), and recHitValidation().