#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_ |
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 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(), ifHCAL_, nameDetector_, recHitSource_, and groupFilesInBlocks::temp.
HGCalRecHitValidation::~HGCalRecHitValidation | ( | ) |
Definition at line 62 of file HGCalRecHitValidation.cc.
|
override |
Definition at line 64 of file HGCalRecHitValidation.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalDetId::depth(), edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), fillHitsInfo(), relativeConstraints::geom, motionPolicyChamber::geom0, edm::EventSetup::get(), edm::Event::getByToken(), HcalEndcap, HGCEE, edm::EventBase::id(), ifHCAL_, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), HGCEEDetId::layer(), HGCHEDetId::layer(), nameDetector_, OccupancyMap_minus, OccupancyMap_plus, convertSQLiteXML::ok, edm::ESHandle< T >::product(), recHitSource_, recHitValidation(), edm::SortedCollection< T, SORT >::size(), DetId::subdetId(), and verbosity_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 228 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_, pi, and DQMStore::IBooker::setCurrentFolder().
|
override |
Definition at line 212 of file HGCalRecHitValidation.cc.
References edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), HGCalDDDConstants::layers(), layers_, and nameDetector_.
|
static |
Definition at line 257 of file HGCalRecHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 186 of file HGCalRecHitValidation.cc.
References HitOccupancy_Minus_, HitOccupancy_Plus_, OccupancyMap_minus, and OccupancyMap_plus.
Referenced by analyze(), and recHitValidation().
|
private |
Definition at line 202 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 181 of file HGCalRecHitValidation.cc.
Referenced by recHitValidation().
|
private |
Definition at line 149 of file HGCalRecHitValidation.cc.
References 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 88 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
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 90 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 81 of file HGCalRecHitValidation.h.
Referenced by analyze(), and HGCalRecHitValidation().
|
private |
Definition at line 82 of file HGCalRecHitValidation.h.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 92 of file HGCalRecHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 91 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 84 of file HGCalRecHitValidation.h.
Referenced by analyze(), fillHitsInfo(), and recHitValidation().
|
private |
Definition at line 83 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().