|
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
|
void | bookHistos (DQMStore::IBooker &) |
|
| DTSegmentAnalysisTest (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
std::string | getMEName (const DTChamberId &chID, std::string histoTag) |
| Get the ME name. More...
|
|
void | performClientDiagnostic (DQMStore::IGetter &) |
| Perform client diagnostic operations. More...
|
|
| ~DTSegmentAnalysisTest () 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::vector< ModuleDescription const * > &modules, 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 | dqmBeginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &) |
|
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 39 of file DTSegmentAnalysisTest.h.
Perform client diagnostic operations.
Definition at line 104 of file DTSegmentAnalysisTest.cc.
107 vector<const DTChamber*>::const_iterator ch_it =
muonGeom->
chambers().begin();
108 vector<const DTChamber*>::const_iterator ch_end =
muonGeom->
chambers().end();
110 for (; ch_it != ch_end; ++ch_it) {
116 if (hNHits && hSegmOcc) {
117 TH1F* hNHits_root = hNHits->
getTH1F();
118 TH2F* hSegmOcc_root = hSegmOcc->
getTH2F();
121 int sector = chID.
sector();
130 if (summary_histo_root->GetBinContent(sector, chID.
wheel() + 3) < 1)
138 abs(12 - hNHits_root->GetMaximumBin()));
141 abs(8 - hNHits_root->GetMaximumBin()));
146 if (hSegmOcc_root->GetBinContent(sector, chID.
station()) == 0) {
148 if (summary2_histo_root->GetBinContent(sector, chID.
wheel() + 3) < 2)
153 if ((sector == 4 || sector == 10) && chID.
station() == 4)
158 LogVerbatim(
"DTDQM|DTMonitorClient|DTSegmentAnalysisTest")
159 <<
"[DTSegmentAnalysisTest]: histos not found!!";
168 TH1F* chi2_histo_root = chi2_histo->
getTH1F();
170 double maximum = chi2_histo_root->GetXaxis()->GetXmax();
171 double minimum = chi2_histo_root->GetXaxis()->GetXmin();
172 int nbins = chi2_histo_root->GetXaxis()->GetNbins();
175 double badSegments = 0;
177 badSegments += chi2_histo_root->GetBinContent(
bin);
180 if (chi2_histo_root->GetEntries() != 0) {
181 double badSegmentsPercentual = badSegments / double(chi2_histo_root->GetEntries());
185 LogVerbatim(
"DTDQM|DTMonitorClient|DTSegmentAnalysisTest")
186 <<
"[DTSegmentAnalysisTest]: Histo: " <<
getMEName(chID,
"h4DChi2") <<
" not found!" << endl;
192 string nEvtsName =
"DT/EventInfo/Counters/nProcessedEventsSegment";
201 LogVerbatim(
"DTDQM|DTMonitorClient|DTOccupancyTest")
202 <<
"[DTOccupancyTest] ME: " << nEvtsName <<
" not found!" << endl;
209 const QReport* theChi2QReport = (*histo).second->getQReport(chi2CriterionName);
210 if (theChi2QReport) {
211 vector<dqm::me_util::Channel> badChannels = theChi2QReport->
getBadChannels();
212 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
214 LogError(
"DTDQM|DTMonitorClient|DTSegmentAnalysisTest")
215 <<
"Wheel: " << (*histo).first.first <<
" Sector: " << (*histo).first.second
216 <<
" Bad stations: " << (*channel).getBin() <<
" Contents : " << (*channel).getContents();
221 string segmRecHitCriterionName =
226 const QReport* theSegmRecHitQReport = (*histo).second->getQReport(segmRecHitCriterionName);
227 if (theSegmRecHitQReport) {
228 vector<dqm::me_util::Channel> badChannels = theSegmRecHitQReport->
getBadChannels();
229 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
231 LogError(
"DTDQM|DTMonitorClient|DTSegmentAnalysisTest")
232 <<
"Wheel: " << (*histo).first.first <<
" Sector: " << (*histo).first.second
233 <<
" Bad stations on recHit number: " << (*channel).getBin()
234 <<
" Contents : " << (*channel).getContents();
References funct::abs(), newFWLiteAna::bin, dtNoiseAnalysis_cfi::detailedAnalysis, HcalObjRepresent::Fill(), dqm::implementation::IGetter::get(), MonitorElementData::QReport::getBadChannels(), dqm::impl::MonitorElement::getFloatValue(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTH2F(), timingPdfMaker::histo, createfilelist::int, genParticles_cff::map, dtSegmentAnalysisTest_cfi::maxPhiHit, dtSegmentAnalysisTest_cfi::maxPhiZHit, LaserClient_cfi::nbins, DTChamberId::sector(), DTChamberId::station(), remoteMonitoring_LED_IterMethod_cfg::threshold, mps_merge::weight, and DTChamberId::wheel().