|
| DQMCorrelationClient (const edm::ParameterSet &ps) |
|
virtual | ~DQMCorrelationClient ()=default |
|
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 |
|
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 |
|
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 37 of file DQMCorrelationClient.h.
Implements DQMEDHarvester.
Definition at line 99 of file DQMCorrelationClient.cc.
References DQMStore::IBooker::book2D(), correlation_, OutputMEPSet::doXaxis, OutputMEPSet::doYaxis, MonitorElement::Fill(), MEPSet::folder, OutputMEPSet::folder, DQMStore::IGetter::get(), MonitorElement::getNbinsY(), getTH1(), MonitorElement::getTH1(), mps_fire::i, mepset_, meXpset_, meYpset_, MEPSet::name, OutputMEPSet::name, OutputMEPSet::nbinsX, OutputMEPSet::nbinsY, MEPSet::profileX, setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, x, OutputMEPSet::xmaxX, OutputMEPSet::xmaxY, OutputMEPSet::xminX, OutputMEPSet::xminY, and y.
140 size_t size = x->GetXaxis()->GetNbins();
142 std::vector<double> xvalue;
143 std::vector<int> xbinvalue;
144 for (
size_t ibin=1; ibin <=
size; ++ibin ) {
146 if ( x->GetBinContent(ibin) == 0. )
continue;
147 xvalue.push_back ( x->GetBinContent(ibin) );
148 xbinvalue.push_back ( x->GetXaxis()->GetBinCenter(ibin) );
151 for (
size_t i=0;
i < xbinvalue.size(); ++
i ) {
152 int ybin = y->GetXaxis()->FindBin(xbinvalue[
i]);
153 double yvalue = y->GetBinContent(ybin);
MonitorElement * correlation_
void setAxisTitle(MonitorElement *meX, MonitorElement *meY)
MonitorElement * get(const std::string &path)
TH1 * getTH1(MonitorElement *me, bool profileX)
int getNbinsY(void) const
get # of bins in Y-axis
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)