|
TH1F * | ComputeBKG (TH1F *hist1, TH1F *hist2, std::string nameHist) |
|
TProfile * | ComputeEff (TH1F *num, TH1F *denum, std::string nameHist) |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
| MuonME0DigisHarvestor (const edm::ParameterSet &) |
| constructor More...
|
|
void | ProcessBooking (DQMStore::IBooker &, DQMStore::IGetter &, std::string nameHist, TH1F *num, TH1F *den) |
|
void | ProcessBookingBKG (DQMStore::IBooker &ibooker, DQMStore::IGetter &ig, std::string nameHist, TH1F *hist, TH1F *hist2) |
|
| ~MuonME0DigisHarvestor () override |
| destructor More...
|
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester () |
|
virtual void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
|
void | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () 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 |
|
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) |
|
| ~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 |
|
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 const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
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) |
|
|
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<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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 18 of file MuonME0DigisHarvestor.h.
Implements DQMEDHarvester.
Definition at line 136 of file MuonME0DigisHarvestor.cc.
References dbe_path_, DEFINE_FWK_MODULE, DQMStore::IGetter::get(), mps_fire::i, GEMDetLabel::l_suffix, dataset::name, ProcessBooking(), ProcessBookingBKG(), DQMStore::IGetter::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
139 const char *
l_suffix[6] = {
"_l1",
"_l2",
"_l3",
"_l4",
"_l5",
"_l6"};
140 const char *r_suffix[2] = {
"-1",
"1"};
142 TString eta_label_den_tot = TString(
dbe_path_) +
"me0_strip_dg_den_eta_tot";
143 TString eta_label_num_tot = TString(
dbe_path_) +
"me0_strip_dg_num_eta_tot";
144 if (ig.
get(eta_label_num_tot.Data()) !=
nullptr && ig.
get(eta_label_den_tot.Data()) !=
nullptr) {
145 TH1F *num_vs_eta_tot = (TH1F *)ig.
get(eta_label_num_tot.Data())->getTH1F()->Clone();
146 num_vs_eta_tot->Sumw2();
147 TH1F *den_vs_eta_tot = (TH1F *)ig.
get(eta_label_den_tot.Data())->getTH1F()->Clone();
148 den_vs_eta_tot->Sumw2();
150 ProcessBooking(ibooker, ig,
"me0_strip_dg_eta_tot", num_vs_eta_tot, den_vs_eta_tot);
152 delete num_vs_eta_tot;
153 delete den_vs_eta_tot;
157 <<
"Can not find histograms: " << eta_label_num_tot <<
" or " << eta_label_den_tot;
159 for (
int i = 0;
i < 2;
i++) {
160 for (
int j = 0; j < 6; j++) {
161 TString eta_label_den = TString(
dbe_path_) +
"me0_strip_dg_den_eta" + r_suffix[
i] + l_suffix[j];
162 TString eta_label_num = TString(
dbe_path_) +
"me0_strip_dg_num_eta" + r_suffix[
i] + l_suffix[j];
164 if (ig.
get(eta_label_num.Data()) !=
nullptr && ig.
get(eta_label_den.Data()) !=
nullptr) {
165 TH1F *num_vs_eta = (TH1F *)ig.
get(eta_label_num.Data())->getTH1F()->Clone();
167 TH1F *den_vs_eta = (TH1F *)ig.
get(eta_label_den.Data())->getTH1F()->Clone();
180 <<
"Can not find histograms: " << eta_label_num <<
" " << eta_label_den;
184 TString label_eleBkg = TString(
dbe_path_) +
"me0_strip_dg_bkgElePos_radius";
185 TString label_neuBkg = TString(
dbe_path_) +
"me0_strip_dg_bkgNeutral_radius";
186 TString label_totBkg = TString(
dbe_path_) +
"me0_strip_dg_bkg_radius_tot";
187 TString label_evts = TString(
dbe_path_) +
"num_evts";
189 if (ig.
get(label_evts.Data()) !=
nullptr) {
190 TH1F *numEvts = (TH1F *)ig.
get(label_evts.Data())->getTH1F()->Clone();
192 if (ig.
get(label_eleBkg.Data()) !=
nullptr) {
193 TH1F *eleBkg = (TH1F *)ig.
get(label_eleBkg.Data())->getTH1F()->Clone();
199 if (ig.
get(label_neuBkg.Data()) !=
nullptr) {
200 TH1F *neuBkg = (TH1F *)ig.
get(label_neuBkg.Data())->getTH1F()->Clone();
206 if (ig.
get(label_totBkg.Data()) !=
nullptr) {
207 TH1F *totBkg = (TH1F *)ig.
get(label_totBkg.Data())->getTH1F()->Clone();
static const std::array< std::string, 4 > l_suffix
void ProcessBookingBKG(DQMStore::IBooker &ibooker, DQMStore::IGetter &ig, std::string nameHist, TH1F *hist, TH1F *hist2)
void setCurrentFolder(std::string const &fullpath)
MonitorElement * get(std::string const &path)
void ProcessBooking(DQMStore::IBooker &, DQMStore::IGetter &, std::string nameHist, TH1F *num, TH1F *den)