|
| RPCEventSummary (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~RPCEventSummary () override |
| Destructor. More...
|
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginJob () override |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &) override |
|
virtual void | dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &) |
|
| DQMEDHarvester () |
|
| DQMEDHarvester (edm::ParameterSet const &iConfig) |
|
virtual void | dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final |
|
void | endProcessBlockProduce (edm::ProcessBlock &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &es) final |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () 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 |
|
std::vector< bool > const & | recordProvenanceList () 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) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
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) |
|
|
void | beginJob () override |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
| declare what type of product will make and with which optional label More...
|
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
ProducesCollector | producesCollector () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 10 of file RPCEventSummary.h.
Definition at line 177 of file RPCEventSummary.cc.
188 std::stringstream meName;
198 float barrelFactor = 0;
200 for (
int w = -2;
w < 3;
w++) {
202 meName <<
globalFolder_ <<
"/RPCChamberQuality_Roll_vs_Sector_Wheel" <<
w;
203 myMe = igetter.
get(meName.str());
206 float wheelFactor = 0;
209 float sectorFactor = 0;
210 int rollInSector = 0;
213 if ((
s != 4 &&
r > 17) || ((
s == 9 ||
s == 10) &&
r > 15))
224 if (rollInSector != 0)
225 sectorFactor = sectorFactor / rollInSector;
229 wheelFactor += sectorFactor;
233 wheelFactor = wheelFactor / myMe->
getNbinsX();
237 globalMe = igetter.
get(meName.str());
239 globalMe->
Fill(wheelFactor);
241 barrelFactor += wheelFactor;
245 barrelFactor = barrelFactor / 5;
247 float endcapFactor = 0;
256 meName <<
globalFolder_ <<
"/RPCChamberQuality_Ring_vs_Segment_Disk" <<
d;
257 myMe = igetter.
get(meName.str());
260 float diskFactor = 0;
262 float sectorFactor[6] = {0, 0, 0, 0, 0, 0};
264 for (
int i = 0;
i < 6;
i++) {
265 int firstSeg = (
i * 6) + 1;
266 int lastSeg = firstSeg + 6;
267 int rollInSector = 0;
268 for (
int seg = firstSeg; seg < lastSeg; seg++) {
272 sectorFactor[
i] += 0.8;
274 sectorFactor[
i] += 0;
276 sectorFactor[
i] += 1;
279 sectorFactor[
i] = sectorFactor[
i] / rollInSector;
283 diskFactor += sectorFactor[
sec];
292 diskFactor = diskFactor / 6;
296 globalMe = igetter.
get(meName.str());
298 globalMe->
Fill(diskFactor);
300 endcapFactor += diskFactor;
308 float rpcFactor = barrelFactor;
310 rpcFactor = (barrelFactor + endcapFactor) / 2;
315 globalMe->
Fill(rpcFactor);
References ztail::d, DEAD, doEndcapCertification_, eventInfoPath_, dqm::impl::MonitorElement::Fill(), dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), globalFolder_, mps_fire::i, minimumEvents_, numberDisk_, PARTIALLY_DEAD, prefixFolder_, alignCSCRings::r, alignCSCRings::s, fileinputsource_cfi::sec, dqm::impl::MonitorElement::setBinContent(), w, and y.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
Reimplemented from DQMEDHarvester.
Definition at line 48 of file RPCEventSummary.cc.
67 runInfoRec->get(sumFED);
68 std::vector<int> FedsInIds = sumFED->
m_fed_in;
71 while (!
isIn_ &&
f < FedsInIds.size()) {
72 int fedID = FedsInIds[
f];
90 me->Fill(defaultValue);
94 me = ibooker.
book2D(
"reportSummaryMap",
"RPC Report Summary Map", 15, -7.5, 7.5, 12, 0.5, 12.5);
98 for (
int i = 1;
i <= 15;
i++) {
110 else if (
i == 11 ||
i == 5)
119 for (
int i = 1;
i <= 15;
i++) {
120 for (
int j = 1;
j <= 12;
j++) {
121 if (
i == 5 ||
i == 11 || (
j > 6 && (i < 6 || i > 10)))
122 me->setBinContent(
i,
j, -1);
124 me->setBinContent(
i,
j, defaultValue);
129 for (
int j = 1;
j <= 12;
j++) {
130 me->setBinContent(1,
j, -1);
131 me->setBinContent(15,
j, -1);
138 std::stringstream segName;
139 std::vector<std::string> segmentNames;
140 for (
int i = -2;
i <= 2;
i++) {
142 segName <<
"RPC_Wheel" <<
i;
143 segmentNames.push_back(segName.str());
150 segName <<
"RPC_Disk" <<
i;
151 segmentNames.push_back(segName.str());
154 for (
unsigned int i = 0;
i < segmentNames.size();
i++) {
157 me->Fill(defaultValue);
References CentralityFilter_cfi::BinLabel, dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookFloat(), clientOperation(), eventInfoPath_, f, FEDRange_, edm::eventsetup::heterocontainer::HCTypeTag::findType(), HltBtagPostValidation_cff::histoName, mps_fire::i, init_, isIn_, dqmiolumiharvest::j, lumiCounter_, RunInfo::m_fed_in, hlt_dqm_clientPB-live_cfg::me, numberDisk_, offlineDQM_, prescaleFactor_, dqm::implementation::NavigatorBase::setCurrentFolder(), singleTopDQM_cfi::setup, and AlCaHLTBitMon_QueryRunRegistry::string.