|
| RPCEfficiencyShiftHisto (const edm::ParameterSet &iConfig) |
| Constructor. More...
|
|
| ~RPCEfficiencyShiftHisto () 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 () |
|
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 () 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) |
|
|
void | beginJob () override |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
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) |
|
Definition at line 19 of file RPCEfficiencyShiftHisto.h.
Implements DQMEDHarvester.
Definition at line 38 of file RPCEfficiencyShiftHisto.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), edmIntegrityCheck::d, EffBarrelRoll, effCut_, EffEndcapMinusRoll, EffEndcapPlusRoll, MonitorElement::Fill(), DQMStore::IGetter::get(), MonitorElement::getBinContent(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), globalFolder_, numberOfDisks_, alignCSCRings::r, RollPercentage, alignCSCRings::s, MonitorElement::setBinContent(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), w, x, and y.
52 std::stringstream meName;
60 int entriesBarrel = 0;
61 int entriesBarrelBeyondEff = 0;
64 for(
int w = -2 ;
w<3;
w++){
67 meName<<globalFolder_<<
"Efficiency_Roll_vs_Sector_Wheel_"<<
w;
69 myMe = igetter.
get(meName.str());
82 if(effBarrel >=
effCut_) entriesBarrelBeyondEff++;
89 if(entriesBarrel != 0){
90 percBarrel = 100*entriesBarrelBeyondEff/entriesBarrel;
96 int entriesEndcapMinus = 0;
97 int entriesEndcapMinusBeyondEff = 0;
98 float percEndcapMinus = 0;
99 int entriesEndcapPlus = 0;
100 int entriesEndcapPlusBeyondEff = 0;
101 float percEndcapPlus = 0;
107 meName<<globalFolder_<<
"Efficiency_Roll_vs_Segment_Disk_"<<
d;
108 myMe = igetter.
get(meName.str());
119 entriesEndcapMinus++;
121 if(effEndcap >=
effCut_) entriesEndcapMinusBeyondEff++;
125 if(effEndcap >=
effCut_) entriesEndcapPlusBeyondEff++;
133 if(entriesEndcapMinus != 0){
134 percEndcapMinus = 100*entriesEndcapMinusBeyondEff/entriesEndcapMinus;
138 if(entriesEndcapPlus != 0){
139 percEndcapPlus = 100*entriesEndcapPlusBeyondEff/entriesEndcapPlus;
MonitorElement * EffBarrelRoll
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * get(const std::string &path)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::string globalFolder_
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
int getNbinsY() const
get # of bins in Y-axis
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * RollPercentage
int getNbinsX() const
get # of bins in X-axis
MonitorElement * EffEndcapMinusRoll
MonitorElement * EffEndcapPlusRoll