|
| DTChamberEfficiencyTest (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~DTChamberEfficiencyTest () 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 | bookHistos (DQMStore::IBooker &) |
| book the report summary More...
|
|
void | bookHistos (DQMStore::IBooker &, const DTChamberId &ch) |
| book the new ME More...
|
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
| DQM Client Diagnostic. More...
|
|
std::string | getMEName (std::string histoTag, const DTChamberId &chID) |
| Get the ME name. More...
|
|
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 41 of file DTChamberEfficiencyTest.h.
DQM Client Diagnostic.
Reimplemented from DQMEDHarvester.
Definition at line 46 of file DTChamberEfficiencyTest.cc.
55 vector<const DTChamber*>::const_iterator ch_it =
muonGeom->
chambers().begin();
56 vector<const DTChamber*>::const_iterator ch_end =
muonGeom->
chambers().end();
57 for (; ch_it != ch_end; ++ch_it) {
69 <<
"[DTChamberEfficiencyTest]: End of LS transition, performing the DQM client operation";
72 nLumiSegs = lumiSeg.id().luminosityBlock();
79 <<
"[DTChamberEfficiencyTest]: " <<
nLumiSegs <<
" updates";
81 vector<const DTChamber*>::const_iterator ch_it =
muonGeom->
chambers().begin();
82 vector<const DTChamber*>::const_iterator ch_end =
muonGeom->
chambers().end();
85 <<
"[DTChamberEfficiencyTest]: ChamberEfficiency tests results";
88 for (; ch_it != ch_end; ++ch_it) {
106 if (GoodSegDen_histo && GoodCloseSegNum_histo) {
107 TH2F* GoodSegDen_histo_root = GoodSegDen_histo->
getTH2F();
108 TH2F* GoodCloseSegNum_histo_root = GoodCloseSegNum_histo->
getTH2F();
110 int lastBinX = (*GoodSegDen_histo_root).GetNbinsX();
111 TH1D* proxN = GoodCloseSegNum_histo_root->ProjectionX();
112 TH1D* proxD = GoodSegDen_histo_root->ProjectionX();
114 int lastBinY = (*GoodSegDen_histo_root).GetNbinsY();
115 TH1D* proyN = GoodCloseSegNum_histo_root->ProjectionY();
116 TH1D* proyD = GoodSegDen_histo_root->ProjectionY();
119 if (proxD->GetBinContent(
xBin) != 0) {
120 float Xefficiency = proxN->GetBinContent(
xBin) / proxD->GetBinContent(
xBin);
125 if (GoodSegDen_histo_root->GetBinContent(
xBin,
yBin) != 0) {
126 float XvsYefficiency = GoodCloseSegNum_histo_root->GetBinContent(
xBin,
yBin) /
127 GoodSegDen_histo_root->GetBinContent(
xBin,
yBin);
134 if (proyD->GetBinContent(
yBin) != 0) {
135 float Yefficiency = proyN->GetBinContent(
yBin) / proyD->GetBinContent(
yBin);
143 string XEfficiencyCriterionName =
147 const QReport* theXEfficiencyQReport = (*hXEff).second->getQReport(XEfficiencyCriterionName);
148 if (theXEfficiencyQReport) {
149 vector<dqm::me_util::Channel> badChannels = theXEfficiencyQReport->
getBadChannels();
150 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
152 edm::LogError(
"DTDQM|DTMonitorClient|DTChamberEfficiencyTest")
153 <<
"Chamber : " << (*hXEff).first <<
" Bad XChamberEfficiency channels: " << (*channel).getBin()
154 <<
" Contents : " << (*channel).getContents();
160 string YEfficiencyCriterionName =
164 const QReport* theYEfficiencyQReport = (*hYEff).second->getQReport(YEfficiencyCriterionName);
165 if (theYEfficiencyQReport) {
166 vector<dqm::me_util::Channel> badChannels = theYEfficiencyQReport->
getBadChannels();
167 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
169 edm::LogError(
"DTDQM|DTMonitorClient|DTChamberEfficiencyTest")
170 <<
"Chamber : " << (*hYEff).first <<
" Bad YChamberEfficiency channels: " << (*channel).getBin()
171 <<
" Contents : " << (*channel).getContents();
177 for (
int wh = -2; wh <= 2; wh++) {
179 for (
int st = 1; st <= 4; st++) {
References bookHistos(), edm::EventSetup::get(), dqm::implementation::IGetter::get(), edm::get(), MonitorElementData::QReport::getBadChannels(), dqm::legacy::MonitorElement::getTH2F(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), Skims_PDWG_cff::prescaleFactor, fileinputsource_cfi::sec, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, photonAnalyzer_cfi::xBin, and photonAnalyzer_cfi::yBin.