|
| DTTriggerLutTest (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~DTTriggerLutTest () override |
| Destructor. More...
|
|
| DTLocalTriggerBaseTest () |
| Constructor. More...
|
|
| ~DTLocalTriggerBaseTest () 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 | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) 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 | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () 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 |
|
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 | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
| BeginRun. More...
|
|
void | Bookings (DQMStore::IBooker &, DQMStore::IGetter &) |
|
void | runClientDiagnostic (DQMStore::IBooker &, DQMStore::IGetter &) override |
| Run client analysis. More...
|
|
void | beginRun (edm::Run const &run, edm::EventSetup const &context) override |
| BeginRun. More...
|
|
void | bookCmsHistos (DQMStore::IBooker &, std::string hTag, std::string folder="", bool isGlb=false) |
| Book the new MEs (CMS summary) More...
|
|
void | bookSectorHistos (DQMStore::IBooker &, int wheel, int sector, std::string hTag, std::string folder="") |
| Book the new MEs (for each sector) More...
|
|
void | bookWheelHistos (DQMStore::IBooker &, int wheel, std::string hTag, std::string folder="") |
| Book the new MEs (for each wheel) More...
|
|
std::string | category () |
| Get message logger name. More...
|
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
| Perform client diagnostic in online. More...
|
|
void | endRun (edm::Run const &run, edm::EventSetup const &context) override |
| Perform client diagnostic in offline. More...
|
|
std::string | fullName (std::string htype) |
| Create fullname from histo partial name. More...
|
|
template<class T > |
T * | getHisto (MonitorElement *me) |
| Convert ME to Histogram fo type T. More...
|
|
std::string | getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid) |
| Get the ME name (by chamber) More...
|
|
std::string | getMEName (std::string histoTag, std::string subfolder, int wh) |
| Get the ME name (by wheel) More...
|
|
std::pair< float, float > | phiRange (const DTChamberId &id) |
| Calculate phi range for histograms. More...
|
|
void | setConfig (const edm::ParameterSet &ps, std::string name) |
| Set configuration variables. More...
|
|
std::string & | topFolder () |
| Get top folder 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> |
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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 20 of file DTTriggerLutTest.h.
Run client analysis.
Implements DTLocalTriggerBaseTest.
Definition at line 96 of file DTTriggerLutTest.cc.
102 cmsME.find(
fullName(
"PhiPercentageSummary"))->second->Reset();
103 cmsME.find(
fullName(
"PhibPercentageSummary"))->second->Reset();
109 for (vector<string>::const_iterator iHw =
hwSources.begin(); iHw !=
hwSources.end(); ++iHw) {
111 vector<const DTChamber*>::const_iterator chIt =
muonGeom->
chambers().begin();
112 vector<const DTChamber*>::const_iterator chEnd =
muonGeom->
chambers().end();
113 for (; chIt != chEnd; ++chIt) {
115 int wh = chId.
wheel();
116 int sect = chId.sector();
117 int stat = chId.station();
119 std::map<std::string, MonitorElement*>& innerME =
whME[wh];
122 TH1F* PhiResidual = getHisto<TH1F>(igetter.get(
getMEName(
"PhiResidual",
"Segment", chId)));
124 if (PhiResidual && PhiResidual->GetEntries() > 10) {
125 if (innerME.find(
fullName(
"PhiResidualPercentage")) == innerME.end()) {
129 float rangeBin =
validRange / (PhiResidual->GetBinWidth(1));
130 float center = (PhiResidual->GetNbinsX()) / 2.;
132 (PhiResidual->Integral(floor(center - rangeBin),
ceil(center + rangeBin))) / (PhiResidual->Integral());
136 cmsME.find(
fullName(
"PhiPercentageSummary"))->second->Fill(perc);
142 if ((phiSummary == 0) || (phiSummary == 3)) {
144 if (innerME.find(
fullName(
"PhiResidualMean")) == innerME.end()) {
149 float center = (PhiResidual->GetNbinsX()) / 2.;
150 float rangeBin =
validRange / (PhiResidual->GetBinWidth(1));
151 PhiResidual->GetXaxis()->SetRange(floor(center - rangeBin),
ceil(center + rangeBin));
152 float max = PhiResidual->GetMaximumBin();
153 float maxBin = PhiResidual->GetXaxis()->FindBin(
max);
154 float nBinMax = 0.5 / (PhiResidual->GetBinWidth(1));
155 PhiResidual->GetXaxis()->SetRange(floor(
maxBin - nBinMax),
ceil(
maxBin + nBinMax));
156 float Mean = PhiResidual->GetMean();
157 float rms = PhiResidual->GetRMS();
163 TH2F* TrackPhitkvsPhitrig = getHisto<TH2F>(igetter.get(
getMEName(
"PhitkvsPhitrig",
"Segment", chId)));
165 if (TrackPhitkvsPhitrig && TrackPhitkvsPhitrig->GetEntries() > 100) {
166 float corr = TrackPhitkvsPhitrig->GetCorrelationFactor();
167 if (innerME.find(
fullName(
"CorrelationFactorPhi")) == innerME.end()) {
175 TH1F* PhibResidual = getHisto<TH1F>(igetter.get(
getMEName(
"PhibResidual",
"Segment", chId)));
176 int phibSummary =
stat == 3 ? -1 : 1;
178 if (
stat != 3 && PhibResidual &&
179 PhibResidual->GetEntries() > 10) {
181 if (innerME.find(
fullName(
"PhibResidualPercentage")) == innerME.end()) {
185 float rangeBin =
validRange / (PhibResidual->GetBinWidth(1));
186 float center = (PhibResidual->GetNbinsX()) / 2.;
188 (PhibResidual->Integral(floor(center - rangeBin),
ceil(center + rangeBin))) / (PhibResidual->Integral());
193 cmsME.find(
fullName(
"PhibPercentageSummary"))->second->Fill(perc);
199 if ((phibSummary == 0) || (phibSummary == 3)) {
200 if (innerME.find(
fullName(
"PhibResidualMean")) == innerME.end()) {
205 float center = (PhibResidual->GetNbinsX()) / 2.;
206 float rangeBin =
validRange / (PhibResidual->GetBinWidth(1));
207 PhibResidual->GetXaxis()->SetRange(floor(center - rangeBin),
ceil(center + rangeBin));
208 float max = PhibResidual->GetMaximumBin();
209 float maxBin = PhibResidual->GetXaxis()->FindBin(
max);
210 float nBinMax = 0.5 / (PhibResidual->GetBinWidth(1));
211 PhibResidual->GetXaxis()->SetRange(floor(
maxBin - nBinMax),
ceil(
maxBin + nBinMax));
212 float Mean = PhibResidual->GetMean();
213 float rms = PhibResidual->GetRMS();
219 TH2F* TrackPhibtkvsPhibtrig = getHisto<TH2F>(igetter.get(
getMEName(
"PhibtkvsPhibtrig",
"Segment", chId)));
220 if (TrackPhibtkvsPhibtrig && TrackPhibtkvsPhibtrig->GetEntries() > 100) {
221 float corr = TrackPhibtkvsPhibtrig->GetCorrelationFactor();
222 if (innerME.find(
fullName(
"CorrelationFactorPhib")) == innerME.end()) {
236 for (vector<string>::const_iterator iHw =
hwSources.begin(); iHw !=
hwSources.end(); ++iHw) {
238 for (
int wh = -2; wh <= 2; ++wh) {
239 std::map<std::string, MonitorElement*>* innerME = &(
whME[wh]);
241 TH2F* phiWhSummary = getHisto<TH2F>(innerME->find(
fullName(
"PhiLutSummary"))->second);
242 TH2F* phibWhSummary = getHisto<TH2F>(innerME->find(
fullName(
"PhibLutSummary"))->second);
244 for (
int sect = 1; sect <= 12; ++sect) {
245 int phiSectorTotal = 0;
246 int phibSectorTotal = 0;
254 if (phiWhSummary->GetBinContent(sect,
stat) == 2) {
258 if (phiWhSummary->GetBinContent(sect,
stat) == 1)
260 if (phibWhSummary->GetBinContent(sect,
stat) == 2) {
261 phibSectorTotal += 1;
264 if (phibWhSummary->GetBinContent(sect,
stat) == 1)
268 phiStatus = phiSectorTotal;
272 phibStatus = phibSectorTotal;
References reco::ceil(), alignCSCRings::corr, dtNoiseAnalysis_cfi::detailedAnalysis, newFWLiteAna::fullName, dqm::implementation::IGetter::get(), dtFineDelayCorr_cfi::hwSource, dtFineDelayCorr_cfi::hwSources, edm::max(), cms::cuda::allocator::maxBin, Mean, SiStripPI::rms, hgcalPlots::stat, dtTriggerLutTest_cfi::thresholdErrPhi, dtTriggerLutTest_cfi::thresholdErrPhiB, dtTriggerLutTest_cfi::thresholdWarnPhi, dtTriggerLutTest_cfi::thresholdWarnPhiB, dtTriggerLutTest_cfi::validRange, and DTChamberId::wheel().