CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
HcalSimHitsClient Class Reference

#include <HcalSimHitsClient.h>

Inheritance diagram for HcalSimHitsClient:
DQMEDHarvester edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void beginRun (edm::Run const &run, edm::EventSetup const &c) override
 
void dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
 HcalSimHitsClient (const edm::ParameterSet &)
 
virtual void runClient_ (DQMStore::IBooker &, DQMStore::IGetter &)
 
 ~HcalSimHitsClient () override
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &) override
 
virtual void dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
 
 DQMEDHarvester ()
 
 DQMEDHarvester (edm::ParameterSet const &iConfig)
 
virtual void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
 
void endProcessBlockProduce (edm::ProcessBlock &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &es) final
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

std::vector< std::string > getHistogramTypes ()
 
int SimHitsEndjob (const std::vector< MonitorElement * > &hcalMEs)
 

Private Attributes

std::string dirName_
 
const HcalDDDRecConstantshcons
 
int maxDepthHB_
 
int maxDepthHE_
 
int maxDepthHF_
 
int maxDepthHO_
 
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordtok_HRNDC_
 
bool verbose_
 

Static Private Attributes

static const int nTime = 4
 
static const int nType1 = 4
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef dqm::harvesting::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
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
- Protected Attributes inherited from DQMEDHarvester
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenjobmegetter_
 
edm::EDPutTokenT< DQMTokenjobToken_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 34 of file HcalSimHitsClient.h.

Constructor & Destructor Documentation

◆ HcalSimHitsClient()

HcalSimHitsClient::HcalSimHitsClient ( const edm::ParameterSet iConfig)
explicit

Definition at line 12 of file HcalSimHitsClient.cc.

12  {
13  dirName_ = iConfig.getParameter<std::string>("DQMDirName");
14  verbose_ = iConfig.getUntrackedParameter<bool>("Verbosity", false);
15  tok_HRNDC_ = esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>();
16 }

References dirName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), AlCaHLTBitMon_QueryRunRegistry::string, tok_HRNDC_, and verbose_.

◆ ~HcalSimHitsClient()

HcalSimHitsClient::~HcalSimHitsClient ( )
override

Definition at line 18 of file HcalSimHitsClient.cc.

18 {}

Member Function Documentation

◆ beginRun()

void HcalSimHitsClient::beginRun ( edm::Run const &  run,
edm::EventSetup const &  c 
)
override

Definition at line 20 of file HcalSimHitsClient.cc.

20  {
21  const auto &pHRNDC = c.getData(tok_HRNDC_);
22  hcons = &pHRNDC;
27 
28  edm::LogInfo("HitsValidationHcal") << " Maximum Depths HB:" << maxDepthHB_ << " HE:" << maxDepthHE_
29  << " HO:" << maxDepthHO_ << " HF:" << maxDepthHF_;
30 }

References HltBtagPostValidation_cff::c, HcalDDDRecConstants::getMaxDepth(), hcons, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, and tok_HRNDC_.

◆ dqmEndJob()

void HcalSimHitsClient::dqmEndJob ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
overridevirtual

Implements DQMEDHarvester.

Definition at line 32 of file HcalSimHitsClient.cc.

32 { runClient_(ib, ig); }

References cuy::ib, and runClient_().

◆ getHistogramTypes()

std::vector< std::string > HcalSimHitsClient::getHistogramTypes ( )
private

Definition at line 170 of file HcalSimHitsClient.cc.

170  {
172  if (verbose_)
173  edm::LogInfo("HitsValidationHcal") << "Max depth 1st step:: " << maxDepth;
175  if (verbose_)
176  edm::LogInfo("HitsValidationHcal") << "Max depth 2nd step:: " << maxDepth;
178  if (verbose_)
179  edm::LogInfo("HitsValidationHcal") << "Max depth 3rd step:: " << maxDepth;
180  std::vector<std::string> divisions;
181  char name1[20];
182 
183  // first overall Hcal
184  for (int depth = 0; depth < maxDepth; ++depth) {
185  sprintf(name1, "HC%d", depth);
186  divisions.push_back(std::string(name1));
187  }
188  // HB
189  for (int depth = 0; depth < maxDepthHB_; ++depth) {
190  sprintf(name1, "HB%d", depth);
191  divisions.push_back(std::string(name1));
192  }
193  // HE
194  for (int depth = 0; depth < maxDepthHE_; ++depth) {
195  sprintf(name1, "HE%d+z", depth);
196  divisions.push_back(std::string(name1));
197  sprintf(name1, "HE%d-z", depth);
198  divisions.push_back(std::string(name1));
199  }
200  // HO
201  {
202  int depth = maxDepthHO_;
203  sprintf(name1, "HO%d", depth);
204  divisions.push_back(std::string(name1));
205  }
206  // HF (first absorber, then different types of abnormal hits)
207  std::string hfty1[4] = {"A", "W", "B", "J"};
208  for (int k = 0; k < 4; ++k) {
209  for (int depth = 0; depth < maxDepthHF_; ++depth) {
210  sprintf(name1, "HF%s%d+z", hfty1[k].c_str(), depth);
211  divisions.push_back(std::string(name1));
212  sprintf(name1, "HF%s%d-z", hfty1[k].c_str(), depth);
213  divisions.push_back(std::string(name1));
214  }
215  }
216  return divisions;
217 }

References LEDCalibrationChannels::depth, dqmdumpme::k, SiStripPI::max, HLT_FULL_cff::maxDepth, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

Referenced by SimHitsEndjob().

◆ runClient_()

void HcalSimHitsClient::runClient_ ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
virtual

Definition at line 34 of file HcalSimHitsClient.cc.

34  {
36 
37  if (verbose_)
38  edm::LogInfo("HitsValidationHcal") << "runClient";
39 
40  std::vector<MonitorElement *> hcalMEs;
41 
42  std::vector<std::string> fullPathHLTFolders = ig.getSubdirs();
43  for (unsigned int i = 0; i < fullPathHLTFolders.size(); i++) {
44  if (verbose_)
45  edm::LogInfo("HitsValidationHcal") << "fullPath: " << fullPathHLTFolders[i];
46  ig.setCurrentFolder(fullPathHLTFolders[i]);
47 
48  std::vector<std::string> fullSubPathHLTFolders = ig.getSubdirs();
49  for (unsigned int j = 0; j < fullSubPathHLTFolders.size(); j++) {
50  if (verbose_)
51  edm::LogInfo("HitsValidationHcal") << "fullSub: " << fullSubPathHLTFolders[j];
52 
53  if (strcmp(fullSubPathHLTFolders[j].c_str(), "HcalHitsV/SimHitsValidationHcal") == 0) {
54  hcalMEs = ig.getContents(fullSubPathHLTFolders[j]);
55  if (verbose_)
56  edm::LogInfo("HitsValidationHcal") << "hltMES size : " << hcalMEs.size();
57  if (!SimHitsEndjob(hcalMEs))
58  edm::LogWarning("HitsValidationHcal") << "Error in SimhitEndjob!";
59  }
60  }
61  }
62 }

References dirName_, dqm::implementation::IGetter::getContents(), dqm::implementation::IGetter::getSubdirs(), mps_fire::i, dqmiolumiharvest::j, dqm::implementation::NavigatorBase::setCurrentFolder(), SimHitsEndjob(), and verbose_.

Referenced by dqmEndJob().

◆ SimHitsEndjob()

int HcalSimHitsClient::SimHitsEndjob ( const std::vector< MonitorElement * > &  hcalMEs)
private

Definition at line 66 of file HcalSimHitsClient.cc.

66  {
67  std::vector<std::string> divisions = getHistogramTypes();
68  MonitorElement *Occupancy_map[nTime][divisions.size()];
69  MonitorElement *Energy[nType1], *Time_weighteden[nType1];
70  MonitorElement *HitEnergyvsieta[divisions.size()], *HitTimevsieta[divisions.size()];
71 
72  std::string time[nTime] = {"25", "50", "100", "250"};
73  std::string detdivision[nType1] = {"HB", "HE", "HF", "HO"};
74  char name[40], name1[40], name2[40], name3[40], name4[40];
75 
76  for (int k = 0; k < nType1; k++) {
77  Energy[k] = nullptr;
78  Time_weighteden[k] = nullptr;
79  for (unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
80  sprintf(name1, "Energy_%s", detdivision[k].c_str());
81  sprintf(name2, "Time_Enweighted_%s", detdivision[k].c_str());
82  if (strcmp(hcalMEs[ih]->getName().c_str(), name1) == 0) {
83  Energy[k] = hcalMEs[ih];
84  }
85  if (strcmp(hcalMEs[ih]->getName().c_str(), name2) == 0) {
86  Time_weighteden[k] = hcalMEs[ih];
87  }
88  }
89  }
90 
91  for (int i = 0; i < nTime; i++) {
92  for (unsigned int j = 0; j < divisions.size(); j++) {
93  for (unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
94  sprintf(name, "HcalHitE%s%s", time[i].c_str(), divisions[j].c_str());
95  if (strcmp(hcalMEs[ih]->getName().c_str(), name) == 0) {
96  Occupancy_map[i][j] = hcalMEs[ih];
97  }
98  }
99  }
100  }
101 
102  for (unsigned int k = 0; k < divisions.size(); k++) {
103  HitEnergyvsieta[k] = nullptr;
104  HitTimevsieta[k] = nullptr;
105  for (unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
106  sprintf(name3, "HcalHitEta%s", divisions[k].c_str());
107  sprintf(name4, "HcalHitTimeAEta%s", divisions[k].c_str());
108  if (strcmp(hcalMEs[ih]->getName().c_str(), name3) == 0) {
109  HitEnergyvsieta[k] = hcalMEs[ih];
110  }
111  if (strcmp(hcalMEs[ih]->getName().c_str(), name4) == 0) {
112  HitTimevsieta[k] = hcalMEs[ih];
113  }
114  }
115  }
116 
117  // mean energy
118 
119  double nevent = Energy[0]->getEntries();
120  if (verbose_)
121  edm::LogInfo("HitsValidationHcal") << "nevent : " << nevent;
122 
123  float cont[nTime][divisions.size()];
124  float en[nType1], tme[nType1];
125  float hitenergy[divisions.size()], hittime[divisions.size()];
126  float fev = float(nevent);
127 
128  for (int dettype = 0; dettype < nType1; dettype++) {
129  int nx1 = Energy[dettype]->getNbinsX();
130  for (int i = 0; i <= nx1; i++) {
131  en[dettype] = Energy[dettype]->getBinContent(i) / fev;
132  Energy[dettype]->setBinContent(i, en[dettype]);
133  }
134  int nx2 = Time_weighteden[dettype]->getNbinsX();
135  for (int i = 0; i <= nx2; i++) {
136  tme[dettype] = Time_weighteden[dettype]->getBinContent(i) / fev;
137  Time_weighteden[dettype]->setBinContent(i, tme[dettype]);
138  }
139  }
140 
141  for (unsigned int dettype = 0; dettype < divisions.size(); dettype++) {
142  int nx1 = HitEnergyvsieta[dettype]->getNbinsX();
143  for (int i = 0; i <= nx1; i++) {
144  hitenergy[dettype] = HitEnergyvsieta[dettype]->getBinContent(i) / fev;
145  HitEnergyvsieta[dettype]->setBinContent(i, hitenergy[dettype]);
146  }
147  int nx2 = HitTimevsieta[dettype]->getNbinsX();
148  for (int i = 0; i <= nx2; i++) {
149  hittime[dettype] = HitTimevsieta[dettype]->getBinContent(i) / fev;
150  HitTimevsieta[dettype]->setBinContent(i, hittime[dettype]);
151  }
152  }
153 
154  for (int itime = 0; itime < nTime; itime++) {
155  for (unsigned int det = 0; det < divisions.size(); det++) {
156  int ny = Occupancy_map[itime][det]->getNbinsY();
157  int nx = Occupancy_map[itime][det]->getNbinsX();
158  for (int i = 1; i < nx + 1; i++) {
159  for (int j = 1; j < ny + 1; j++) {
160  cont[itime][det] = Occupancy_map[itime][det]->getBinContent(i, j) / fev;
161  Occupancy_map[itime][det]->setBinContent(i, j, cont[itime][det]);
162  }
163  }
164  }
165  }
166 
167  return 1;
168 }

References generateEDF::cont, EcalCondDBWriter_cfi::Energy, dqmMemoryStats::float, dqm::impl::MonitorElement::getBinContent(), getHistogramTypes(), getName(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, Skims_PA_cff::name, hfnoseParametersInitialization_cfi::name2, nevent, nTime, nType1, dqm::impl::MonitorElement::setBinContent(), AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, and verbose_.

Referenced by runClient_().

Member Data Documentation

◆ dirName_

std::string HcalSimHitsClient::dirName_
private

Definition at line 39 of file HcalSimHitsClient.h.

Referenced by HcalSimHitsClient(), and runClient_().

◆ hcons

const HcalDDDRecConstants* HcalSimHitsClient::hcons
private

Definition at line 44 of file HcalSimHitsClient.h.

Referenced by beginRun().

◆ maxDepthHB_

int HcalSimHitsClient::maxDepthHB_
private

Definition at line 45 of file HcalSimHitsClient.h.

Referenced by beginRun(), and getHistogramTypes().

◆ maxDepthHE_

int HcalSimHitsClient::maxDepthHE_
private

Definition at line 45 of file HcalSimHitsClient.h.

Referenced by beginRun(), and getHistogramTypes().

◆ maxDepthHF_

int HcalSimHitsClient::maxDepthHF_
private

Definition at line 45 of file HcalSimHitsClient.h.

Referenced by beginRun(), and getHistogramTypes().

◆ maxDepthHO_

int HcalSimHitsClient::maxDepthHO_
private

Definition at line 45 of file HcalSimHitsClient.h.

Referenced by beginRun(), and getHistogramTypes().

◆ nTime

const int HcalSimHitsClient::nTime = 4
staticprivate

Definition at line 42 of file HcalSimHitsClient.h.

Referenced by SimHitsEndjob().

◆ nType1

const int HcalSimHitsClient::nType1 = 4
staticprivate

Definition at line 43 of file HcalSimHitsClient.h.

Referenced by SimHitsEndjob().

◆ tok_HRNDC_

edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> HcalSimHitsClient::tok_HRNDC_
private

Definition at line 41 of file HcalSimHitsClient.h.

Referenced by beginRun(), and HcalSimHitsClient().

◆ verbose_

bool HcalSimHitsClient::verbose_
private
nevent
int nevent
Definition: AMPTWrapper.h:84
mps_fire.i
i
Definition: mps_fire.py:428
dqm::implementation::IGetter::getContents
virtual std::vector< dqm::harvesting::MonitorElement * > getContents(std::string const &path) const
Definition: DQMStore.cc:593
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
EcalCondDBWriter_cfi.Energy
Energy
Definition: EcalCondDBWriter_cfi.py:152
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
generateEDF.cont
cont
load Luminosity info ##
Definition: generateEDF.py:629
dqm::implementation::IGetter::getSubdirs
virtual DQM_DEPRECATED std::vector< std::string > getSubdirs() const
Definition: DQMStore.cc:678
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalSimHitsClient::nType1
static const int nType1
Definition: HcalSimHitsClient.h:43
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
HcalSimHitsClient::getHistogramTypes
std::vector< std::string > getHistogramTypes()
Definition: HcalSimHitsClient.cc:170
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HLT_FULL_cff.maxDepth
maxDepth
Definition: HLT_FULL_cff.py:8732
HcalSimHitsClient::dirName_
std::string dirName_
Definition: HcalSimHitsClient.h:39
HcalSimHitsClient::tok_HRNDC_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
Definition: HcalSimHitsClient.h:41
HcalSimHitsClient::maxDepthHO_
int maxDepthHO_
Definition: HcalSimHitsClient.h:45
HcalSimHitsClient::SimHitsEndjob
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition: HcalSimHitsClient.cc:66
getName
TString getName(TString structure, int layer, TString geometry)
Definition: DMRtrends.cc:235
dqmdumpme.k
k
Definition: dqmdumpme.py:60
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSimHitsClient::runClient_
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: HcalSimHitsClient.cc:34
dqm::impl::MonitorElement::getNbinsY
virtual int getNbinsY() const
get # of bins in Y-axis
Definition: MonitorElement.cc:580
HcalSimHitsClient::maxDepthHB_
int maxDepthHB_
Definition: HcalSimHitsClient.h:45
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HcalSimHitsClient::nTime
static const int nTime
Definition: HcalSimHitsClient.h:42
HcalSimHitsClient::maxDepthHE_
int maxDepthHE_
Definition: HcalSimHitsClient.h:45
HcalSimHitsClient::hcons
const HcalDDDRecConstants * hcons
Definition: HcalSimHitsClient.h:44
cuy.ib
ib
Definition: cuy.py:662
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
dqm::impl::MonitorElement::getNbinsX
virtual int getNbinsX() const
get # of bins in X-axis
Definition: MonitorElement.cc:574
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalSimHitsClient::verbose_
bool verbose_
Definition: HcalSimHitsClient.h:40
HcalDDDRecConstants::getMaxDepth
int getMaxDepth(const int &type) const
Definition: HcalDDDRecConstants.h:88
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
ntuplemaker.time
time
Definition: ntuplemaker.py:310
HcalSimHitsClient::maxDepthHF_
int maxDepthHF_
Definition: HcalSimHitsClient.h:45
hfnoseParametersInitialization_cfi.name2
name2
Definition: hfnoseParametersInitialization_cfi.py:8
dqm::impl::MonitorElement::getBinContent
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: MonitorElement.cc:592