|
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=default |
|
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 (edm::ParameterSet const &iConfig) |
|
| DQMEDHarvester () |
|
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 |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () 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 |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
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 |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef dqm::harvesting::DQMStore | DQMStore |
|
typedef dqm::harvesting::MonitorElement | MonitorElement |
|
typedef EDProducerBase | ModuleType |
|
template<typename T > |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<Transition Tr = Transition::Event> |
auto | produces (std::string instanceName) noexcept |
| declare what type of product will make and with which optional label More...
|
|
template<Transition B> |
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) |
|
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 () |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<Transition Tr = Transition::Event> |
auto | produces () noexcept |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
DQMStore * | dqmstore_ |
|
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
|
edm::EDPutTokenT< DQMToken > | jobToken_ |
|
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::GetterOfProducts< DQMToken > | runmegetter_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 34 of file HcalSimHitsClient.h.
int HcalSimHitsClient::SimHitsEndjob |
( |
const std::vector< MonitorElement *> & |
hcalMEs | ) |
|
|
private |
Definition at line 62 of file HcalSimHitsClient.cc.
References generateEDF::cont, EcalCondDBWriter_cfi::Energy, dqmMemoryStats::float, dqm::impl::MonitorElement::getBinContent(), getHistogramTypes(), ForwardName::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, protons_cff::time, and verbose_.
Referenced by runClient_().
66 MonitorElement *HitEnergyvsieta[divisions.size()], *HitTimevsieta[divisions.size()];
70 char name[40], name1[40],
name2[40], name3[40], name4[40];
74 Time_weighteden[
k] =
nullptr;
75 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
76 sprintf(name1,
"Energy_%s", detdivision[
k].c_str());
77 sprintf(
name2,
"Time_Enweighted_%s", detdivision[
k].c_str());
78 if (strcmp(hcalMEs[ih]->
getName().c_str(), name1) == 0) {
81 if (strcmp(hcalMEs[ih]->
getName().c_str(),
name2) == 0) {
82 Time_weighteden[
k] = hcalMEs[ih];
88 for (
unsigned int j = 0;
j < divisions.size();
j++) {
89 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
90 sprintf(
name,
"HcalHitE%s%s",
time[
i].c_str(), divisions[
j].c_str());
91 if (strcmp(hcalMEs[ih]->
getName().c_str(),
name) == 0) {
92 Occupancy_map[
i][
j] = hcalMEs[ih];
98 for (
unsigned int k = 0;
k < divisions.size();
k++) {
99 HitEnergyvsieta[
k] =
nullptr;
100 HitTimevsieta[
k] =
nullptr;
101 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
102 sprintf(name3,
"HcalHitEta%s", divisions[
k].c_str());
103 sprintf(name4,
"HcalHitTimeAEta%s", divisions[
k].c_str());
104 if (strcmp(hcalMEs[ih]->
getName().c_str(), name3) == 0) {
105 HitEnergyvsieta[
k] = hcalMEs[ih];
107 if (strcmp(hcalMEs[ih]->
getName().c_str(), name4) == 0) {
108 HitTimevsieta[
k] = hcalMEs[ih];
121 float hitenergy[divisions.size()], hittime[divisions.size()];
124 for (
int dettype = 0; dettype <
nType1; dettype++) {
125 int nx1 =
Energy[dettype]->getNbinsX();
126 for (
int i = 0;
i <= nx1;
i++) {
127 en[dettype] =
Energy[dettype]->getBinContent(
i) / fev;
128 Energy[dettype]->setBinContent(
i, en[dettype]);
130 int nx2 = Time_weighteden[dettype]->
getNbinsX();
131 for (
int i = 0;
i <= nx2;
i++) {
137 for (
unsigned int dettype = 0; dettype < divisions.size(); dettype++) {
138 int nx1 = HitEnergyvsieta[dettype]->
getNbinsX();
139 for (
int i = 0;
i <= nx1;
i++) {
140 hitenergy[dettype] = HitEnergyvsieta[dettype]->
getBinContent(
i) / fev;
143 int nx2 = HitTimevsieta[dettype]->
getNbinsX();
144 for (
int i = 0;
i <= nx2;
i++) {
145 hittime[dettype] = HitTimevsieta[dettype]->
getBinContent(
i) / fev;
150 for (
int itime = 0; itime <
nTime; itime++) {
151 for (
unsigned int det = 0; det < divisions.size(); det++) {
152 int ny = Occupancy_map[itime][det]->
getNbinsY();
153 int nx = Occupancy_map[itime][det]->
getNbinsX();
154 for (
int i = 1;
i < nx + 1;
i++) {
155 for (
int j = 1;
j < ny + 1;
j++) {
Log< level::Info, true > LogVerbatim
std::vector< std::string > getHistogramTypes()
virtual int getNbinsY() const
get # of bins in Y-axis
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
std::string getName(const G4String &)
virtual int getNbinsX() const
get # of bins in X-axis
cont
load Luminosity info ##
virtual double getBinContent(int binx) const
get content of bin (1-D)