|
| RPCEfficiencyShiftHisto (const edm::ParameterSet &iConfig) |
| Constructor. More...
|
|
virtual | ~RPCEfficiencyShiftHisto () |
| Destructor. More...
|
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester (void) |
|
virtual void | endJob () final |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) override final |
|
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
virtual void | produce (edm::Event &, edm::EventSetup const &) override final |
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| 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 |
|
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_
int getNbinsY(void) const
get # of bins in Y-axis
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * RollPercentage
int getNbinsX(void) const
get # of bins in X-axis
MonitorElement * EffEndcapMinusRoll
MonitorElement * EffEndcapPlusRoll