|
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 |
|
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) |
|
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 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 157 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.
161 const char*
l_suffix[6] = {
"_l1",
"_l2",
"_l3",
"_l4",
"_l5",
"_l6"};
162 const char* r_suffix[2] = {
"-1",
"1"};
164 TString eta_label_den_tot = TString(
dbe_path_)+
"me0_strip_dg_den_eta_tot";
165 TString eta_label_num_tot = TString(
dbe_path_)+
"me0_strip_dg_num_eta_tot";
166 if( ig.
get(eta_label_num_tot.Data()) !=
nullptr && ig.
get(eta_label_den_tot.Data()) !=
nullptr ) {
168 TH1F* num_vs_eta_tot = (TH1F*)ig.
get(eta_label_num_tot.Data())->getTH1F()->Clone();
169 num_vs_eta_tot->Sumw2();
170 TH1F *den_vs_eta_tot = (TH1F*)ig.
get(eta_label_den_tot.Data())->getTH1F()->Clone();
171 den_vs_eta_tot->Sumw2();
173 ProcessBooking( ibooker, ig,
"me0_strip_dg_eta_tot", num_vs_eta_tot, den_vs_eta_tot );
175 delete num_vs_eta_tot;
176 delete den_vs_eta_tot;
179 else edm::LogWarning(
"MuonME0DigisHarvestor")<<
"Can not find histograms: "<<eta_label_num_tot<<
" or "<<eta_label_den_tot;
181 for(
int i = 0 ;
i < 2 ;
i++) {
183 for(
int j = 0; j < 6 ; j++) {
185 TString eta_label_den = TString(
dbe_path_)+
"me0_strip_dg_den_eta"+r_suffix[
i]+l_suffix[j];
186 TString eta_label_num = TString(
dbe_path_)+
"me0_strip_dg_num_eta"+r_suffix[
i]+l_suffix[j];
188 if( ig.
get(eta_label_num.Data()) !=
nullptr && ig.
get(eta_label_den.Data()) !=
nullptr) {
190 TH1F* num_vs_eta = (TH1F*)ig.
get(eta_label_num.Data())->getTH1F()->Clone();
192 TH1F* den_vs_eta = (TH1F*)ig.
get(eta_label_den.Data())->getTH1F()->Clone();
204 else edm::LogWarning(
"MuonME0DigisHarvestor")<<
"Can not find histograms: "<<eta_label_num<<
" "<<eta_label_den;
210 TString label_eleBkg = TString(
dbe_path_)+
"me0_strip_dg_bkgElePos_radius";
211 TString label_neuBkg = TString(
dbe_path_)+
"me0_strip_dg_bkgNeutral_radius";
212 TString label_totBkg = TString(
dbe_path_)+
"me0_strip_dg_bkg_radius_tot";
213 TString label_evts = TString(
dbe_path_)+
"num_evts";
215 if( ig.
get(label_evts.Data()) !=
nullptr ) {
217 TH1F* numEvts = (TH1F*)ig.
get(label_evts.Data())->getTH1F()->Clone();
219 if( ig.
get(label_eleBkg.Data()) !=
nullptr ) {
221 TH1F* eleBkg = (TH1F*)ig.
get(label_eleBkg.Data())->getTH1F()->Clone();
228 if( ig.
get(label_neuBkg.Data()) !=
nullptr ) {
230 TH1F* neuBkg = (TH1F*)ig.
get(label_neuBkg.Data())->getTH1F()->Clone();
237 if( ig.
get(label_totBkg.Data()) !=
nullptr ) {
239 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)
MonitorElement * get(const std::string &path)
void ProcessBooking(DQMStore::IBooker &, DQMStore::IGetter &, std::string nameHist, TH1F *num, TH1F *den)
void setCurrentFolder(const std::string &fullpath)