|
| HcalDigisClient (const edm::ParameterSet &) |
|
| ~HcalDigisClient () override |
|
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 | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) 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 |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () 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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (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 |
|
EDConsumerBase & | operator= (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) |
|
|
void | book1D (DQMStore::IBooker &ib, std::string name, const HistLim &limX) |
|
void | book1D (DQMStore::IBooker &ib, std::string name, int n, double min, double max) |
|
void | book2D (DQMStore::IBooker &ib, std::string name, const HistLim &limX, const HistLim &limY) |
|
void | bookPf (DQMStore::IBooker &ib, std::string name, const HistLim &limX, const HistLim &limY) |
|
void | bookPf (DQMStore::IBooker &ib, std::string name, const HistLim &limX, const HistLim &limY, const char *option) |
|
void | dqmEndJob (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override |
|
void | fill1D (std::string name, double X, double weight=1) |
|
void | fill2D (std::string name, double X, double Y, double weight=1) |
|
void | fillPf (std::string name, double X, double Y) |
|
int | HcalDigisEndjob (const std::vector< MonitorElement * > &hcalMEs, std::string subdet_, DQMStore::IBooker &ib) |
|
double | integralMETH2D (MonitorElement *ME, int i0, int i1, int j0, int j1) |
|
MonitorElement * | monitor (std::string name) |
|
virtual void | runClient (DQMStore::IBooker &ib, DQMStore::IGetter &ig) |
|
void | scaleMETH2D (MonitorElement *ME, double s) |
|
std::string | str (int x) |
|
|
typedef dqm::harvesting::DQMStore | DQMStore |
|
typedef dqm::harvesting::MonitorElement | MonitorElement |
|
typedef EDProducerBase | ModuleType |
|
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<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 () |
|
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> |
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) |
|
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) |
|
DQMStore * | dqmstore_ |
|
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::GetterOfProducts< DQMToken > | runmegetter_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 26 of file HcalDigisClient.h.
Definition at line 56 of file HcalDigisClient.cc.
64 std::vector<MonitorElement*> ieta_iphi_occupancy_maps;
65 std::vector<std::string> depthID;
69 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
70 if (hcalMEs[ih]->
getName() ==
"nevtot") {
76 if ((hcalMEs[ih]->
getName().
find(
"HcalDigiTask_ieta_iphi_occupancy_map_depth") != std::string::npos) &&
77 (hcalMEs[ih]->getName().find(subdet_) != std::string::npos)) {
78 ieta_iphi_occupancy_maps.push_back(hcalMEs[ih]);
84 int length = hcalMEs[ih]->getName().find(
end) -
position;
92 if (hcalMEs.empty()) {
93 edm::LogError(
"HcalDigisClient") <<
"No nevtot or maps histo found...";
97 edm::LogError(
"HcalDigisClient") <<
"No nevtot histoo found...";
100 if (ieta_iphi_occupancy_maps.empty()) {
101 edm::LogError(
"HcalDigisClient") <<
"No maps histos found...";
105 int ev = nevtot->getEntries();
108 edm::LogError(
"HcalDigisClient") <<
"normalization factor <= 0!";
112 float fev = (
float)nevtot->getEntries();
114 int depths = ieta_iphi_occupancy_maps.size();
116 HistLim ietaLim(85, -42.5, 42.5);
119 strtmp =
"HcalDigiTask_occupancy_vs_ieta_depth" +
str(
depth) +
"_" + subdet_;
123 std::vector<float> sumphi(
depths, 0);
124 std::vector<float> sumphie(
depths, 0);
131 int nx = ieta_iphi_occupancy_maps[
depth - 1]->getNbinsX();
132 int ny = ieta_iphi_occupancy_maps[
depth - 1]->getNbinsY();
134 for (
int i = 1;
i <= nx;
i++) {
135 for (
int j = 1;
j <= ny;
j++) {
137 cnorm = ieta_iphi_occupancy_maps[
depth - 1]->getBinContent(
i,
j) / fev;
138 enorm = ieta_iphi_occupancy_maps[
depth - 1]->getBinError(
i,
j) / fev;
139 ieta_iphi_occupancy_maps[
depth - 1]->setBinContent(
i,
j, cnorm);
140 ieta_iphi_occupancy_maps[
depth - 1]->setBinError(
i,
j, enorm);
146 for (
int i = 1;
i <= 82;
i++) {
162 sumphie.assign(
depths, 0);
166 int binIeta = ieta_iphi_occupancy_maps[
depth - 1]->getTH2F()->GetXaxis()->FindBin(
ieta);
167 int binIphi = ieta_iphi_occupancy_maps[
depth - 1]->getTH2F()->GetYaxis()->FindBin(
iphi);
169 float content = ieta_iphi_occupancy_maps[
depth - 1]->getBinContent(binIeta, binIphi);
170 float econtent = ieta_iphi_occupancy_maps[
depth - 1]->getBinError(binIeta, binIphi);
173 sumphie[
depth - 1] += econtent * econtent;
182 strtmp =
"HcalDigiTask_occupancy_vs_ieta_depth" + depthID[
depth - 1] +
"_" + subdet_;
184 int ietabin =
ME->getTH1F()->GetXaxis()->FindBin(
float(
ieta));
186 if (sumphi[
depth - 1] > 1.
e-30) {
187 cnorm = sumphi[
depth - 1] / phi_factor;
188 enorm =
sqrt(sumphie[
depth - 1]) / phi_factor;
189 ME->setBinContent(ietabin, cnorm);
190 ME->setBinError(ietabin, enorm);
References book1D(), Skims_PA_cff::content, LEDCalibrationChannels::depth, customizeHLTforCMSSW::depths, MillePedeFileConverter_cfg::e, end, ev, spr::find(), dqmMemoryStats::float, dqm::impl::MonitorElement::getEntries(), getName(), mps_fire::i, cuy::ib, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, msm_, position, mathSSE::sqrt(), str(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient().