#include <Validation/HGCalValidation/plugins/HGCalDigiValidation.cc>
Classes | |
struct | digiInfo |
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 | |
template<class T1 , class T2 > | |
void | digiValidation (const T1 &detId, const T2 *geom, int, uint16_t, double) |
void | fillDigiInfo (digiInfo &hinfo) |
void | fillDigiInfo () |
void | fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer) |
Private Attributes | |
std::vector< MonitorElement * > | ADC_ |
std::vector< MonitorElement * > | charge_ |
std::vector< MonitorElement * > | DigiOccupancy_Minus_ |
std::vector< MonitorElement * > | DigiOccupancy_Plus_ |
std::vector< MonitorElement * > | DigiOccupancy_XY_ |
edm::EDGetToken | digiSource_ |
bool | ifHCAL_ |
int | layers_ |
MonitorElement * | MeanDigiOccupancy_Minus_ |
MonitorElement * | MeanDigiOccupancy_Plus_ |
std::string | nameDetector_ |
std::map< int, int > | OccupancyMap_minus_ |
std::map< int, int > | OccupancyMap_plus_ |
int | SampleIndx_ |
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 43 of file HGCalDigiValidation.h.
|
explicit |
Definition at line 51 of file HGCalDigiValidation.cc.
References digiSource_, Exception, edm::ParameterSet::getParameter(), ifHCAL_, nameDetector_, and groupFilesInBlocks::temp.
HGCalDigiValidation::~HGCalDigiValidation | ( | ) |
Definition at line 74 of file HGCalDigiValidation.cc.
|
override |
Definition at line 76 of file HGCalDigiValidation.cc.
References ecalMGPA::adc(), HcalCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), AlignmentProducer_cff::calibrations, ALCARECOTkAlJpsiMuMu_cff::charge, HGCSample::data(), HcalDetId::depth(), digiSource_, digiValidation(), edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), edm::EventID::event(), fillDigiInfo(), muonCSCDigis_cfi::gain, relativeConstraints::geom, motionPolicyChamber::geom0, geometryDiff::geom1, edm::EventSetup::get(), edm::Event::getByToken(), HcalDbService::getHcalCalibrations(), HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalEndcap, QIE11DataFrame::id(), edm::EventBase::id(), ifHCAL_, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), HGCEEDetId::layer(), HGCHEDetId::layer(), nameDetector_, OccupancyMap_minus_, OccupancyMap_plus_, HcalCalibrations::pedestal(), edm::ESHandle< T >::product(), SampleIndx_, edm::SortedCollection< T, SORT >::size(), edm::DataFrameContainer::size(), HcalDetId::subdet(), HGCSample::toa(), and verbosity_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 296 of file HGCalDigiValidation.cc.
References ADC_, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), charge_, DigiOccupancy_Minus_, DigiOccupancy_Plus_, DigiOccupancy_XY_, layers_, MeanDigiOccupancy_Minus_, MeanDigiOccupancy_Plus_, nameDetector_, and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 218 of file HGCalDigiValidation.cc.
References ecalMGPA::adc(), HGCalDigiValidation::digiInfo::adc, ALCARECOTkAlJpsiMuMu_cff::charge, HGCalDigiValidation::digiInfo::charge, fillDigiInfo(), fillOccupancyMap(), globals_cff::id1, HGCalDigiValidation::digiInfo::layer, OccupancyMap_minus_, OccupancyMap_plus_, verbosity_, HGCalDigiValidation::digiInfo::x, HGCalDigiValidation::digiInfo::y, and HGCalDigiValidation::digiInfo::z.
Referenced by analyze().
|
override |
Definition at line 276 of file HGCalDigiValidation.cc.
References edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
|
static |
Definition at line 327 of file HGCalDigiValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 254 of file HGCalDigiValidation.cc.
References HGCalDigiValidation::digiInfo::adc, ADC_, HGCalDigiValidation::digiInfo::charge, charge_, DigiOccupancy_XY_, HGCalDigiValidation::digiInfo::layer, HGCalDigiValidation::digiInfo::x, and HGCalDigiValidation::digiInfo::y.
|
private |
Definition at line 261 of file HGCalDigiValidation.cc.
References DigiOccupancy_Minus_, DigiOccupancy_Plus_, OccupancyMap_minus_, and OccupancyMap_plus_.
Referenced by analyze(), and digiValidation().
|
private |
Definition at line 249 of file HGCalDigiValidation.cc.
Referenced by digiValidation().
|
private |
Definition at line 82 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and fillDigiInfo().
|
private |
Definition at line 80 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and fillDigiInfo().
|
private |
Definition at line 84 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and fillDigiInfo().
|
private |
Definition at line 83 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and fillDigiInfo().
|
private |
Definition at line 81 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and fillDigiInfo().
|
private |
Definition at line 72 of file HGCalDigiValidation.h.
Referenced by analyze(), and HGCalDigiValidation().
|
private |
Definition at line 74 of file HGCalDigiValidation.h.
Referenced by analyze(), and HGCalDigiValidation().
|
private |
Definition at line 75 of file HGCalDigiValidation.h.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 86 of file HGCalDigiValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 85 of file HGCalDigiValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 71 of file HGCalDigiValidation.h.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HGCalDigiValidation().
|
private |
Definition at line 78 of file HGCalDigiValidation.h.
Referenced by analyze(), digiValidation(), and fillDigiInfo().
|
private |
Definition at line 77 of file HGCalDigiValidation.h.
Referenced by analyze(), digiValidation(), and fillDigiInfo().
|
private |
Definition at line 73 of file HGCalDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 73 of file HGCalDigiValidation.h.
Referenced by analyze(), digiValidation(), and dqmBeginRun().