#include <Validation/HGCalValidation/plugins/HGCalRecHitValidation.cc>
Classes | |
struct | energysum |
struct | HitsInfo |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
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_ |
std::vector< MonitorElement * > | HitOccupancy_Minus_ |
std::vector< MonitorElement * > | HitOccupancy_Plus_ |
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 edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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) |
Description: Validates SimHits of High Granularity Calorimeter Implementation: [Notes on implementation]
Definition at line 44 of file HGCalRecHitValidation.h.
|
explicit |
Definition at line 41 of file HGCalRecHitValidation.cc.
References Exception, edm::ParameterSet::getParameter(), nameDetector_, recHitSource_, and groupFilesInBlocks::temp.
HGCalRecHitValidation::~HGCalRecHitValidation | ( | ) |
Definition at line 61 of file HGCalRecHitValidation.cc.
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 63 of file HGCalRecHitValidation.cc.
References HcalDetId::depth(), edm::EventID::event(), fillHitsInfo(), relativeConstraints::geom, motionPolicyChamber::geom0, edm::EventSetup::get(), edm::Event::getByToken(), HcalEndcap, HGCEE, edm::EventBase::id(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), HGCEEDetId::layer(), HGCHEDetId::layer(), nameDetector_, OccupancyMap_minus, OccupancyMap_plus, convertSQLiteXML::ok, edm::ESHandle< class >::product(), recHitSource_, recHitValidation(), DetId::subdetId(), and verbosity_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 207 of file HGCalRecHitValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), energy_, EtaPhi_Minus_, EtaPhi_Plus_, HitOccupancy_Minus_, HitOccupancy_Plus_, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, and DQMStore::IBooker::setCurrentFolder().
|
virtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 191 of file HGCalRecHitValidation.cc.
References edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), HGCalDDDConstants::layers(), layers_, and nameDetector_.
|
static |
Definition at line 236 of file HGCalRecHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 165 of file HGCalRecHitValidation.cc.
References HitOccupancy_Minus_, HitOccupancy_Plus_, OccupancyMap_minus, and OccupancyMap_plus.
Referenced by analyze(), and recHitValidation().
|
private |
Definition at line 181 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 160 of file HGCalRecHitValidation.cc.
Referenced by recHitValidation().
|
private |
Definition at line 128 of file HGCalRecHitValidation.cc.
References relval_parameters_module::energy, HGCalRecHitValidation::HitsInfo::energy, HGCalRecHitValidation::HitsInfo::eta, PV3DBase< T, PVType, FrameType >::eta(), fillHitsInfo(), fillOccupancyMap(), 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().
|
private |
Definition at line 87 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 86 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 85 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 89 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 88 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 81 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 91 of file HGCalRecHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 90 of file HGCalRecHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 78 of file HGCalRecHitValidation.h.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HGCalRecHitValidation().
|
private |
Definition at line 83 of file HGCalRecHitValidation.h.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 82 of file HGCalRecHitValidation.h.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 79 of file HGCalRecHitValidation.h.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 80 of file HGCalRecHitValidation.h.
Referenced by analyze(), and recHitValidation().