|
| EcalZmassClient (const edm::ParameterSet &) |
|
| ~EcalZmassClient () override |
|
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 | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
|
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 |
|
| EDProducer (const EDProducer &)=delete |
|
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 |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef dqm::harvesting::DQMStore | DQMStore |
|
typedef dqm::harvesting::MonitorElement | MonitorElement |
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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) |
|
DQMStore * | dqmstore_ |
|
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
|
edm::EDPutTokenT< DQMToken > | jobToken_ |
|
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::GetterOfProducts< DQMToken > | runmegetter_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 39 of file EcalZmassClient.cc.
Implements DQMEDHarvester.
Definition at line 57 of file EcalZmassClient.cc.
69 h_fitres1 = _ibooker.
book1D(
"Gaussian mean WP80 EB-EB",
"Gaussian mean WP80 EB-EB", 1, 0, 1);
70 h_fitres1bis = _ibooker.
book1D(
"Gaussian sigma WP80 EB-EB",
"Gaussian sigma WP80 EB-EB", 1, 0, 1);
71 h_fitres1Chi2 = _ibooker.
book1D(
72 "Gaussian Chi2 result over NDF WP80 EB-EB",
"Gaussian Chi2 result over NDF WP80 EB-EB", 1, 0, 1);
74 h_fitres3 = _ibooker.
book1D(
"Gaussian mean WP80 EB-EE",
"Gaussian mean result WP80 EB-EE", 1, 0, 1);
75 h_fitres3bis = _ibooker.
book1D(
"Gaussian sigma WP80 EB-EE",
"Gaussian sigma WP80 EB-EE", 1, 0, 1);
77 _ibooker.
book1D(
"Gaussian Chi2 result over NDF WP80 EB-EE",
"Gaussian Chi2 result over NDF WP80 EB-EE", 1, 0, 1);
79 h_fitres2 = _ibooker.
book1D(
"Gaussian mean WP80 EE-EE",
"Gaussian mean WP80 EE-EE", 1, 0, 1);
80 h_fitres2bis = _ibooker.
book1D(
"Gaussian sigma WP80 EE-EE",
"Gaussian sigma WP80 EE-EE", 1, 0, 1);
82 _ibooker.
book1D(
"Gaussian Chi2 result over NDF WP80 EE-EE",
"Gaussian Chi2 result over NDF WP80 EE-EE", 1, 0, 1);
84 LogTrace(
"EwkAnalyzer") <<
"Parameters initialization";
91 TH1F *
B =
me1->getTH1F();
92 TH1F *R1 = h_fitres1->
getTH1F();
93 int division =
B->GetNbinsX();
94 float massMIN =
B->GetBinLowEdge(1);
95 float massMAX =
B->GetBinLowEdge(division + 1);
98 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
99 func->SetParameter(0, 1.0);
100 func->SetParName(0,
"const");
101 func->SetParameter(1, 95.0);
102 func->SetParName(1,
"mean");
103 func->SetParameter(2, 5.0);
104 func->SetParName(2,
"sigma");
115 B->Fit(
"mygauss",
"QR");
120 if (
N == 0 || mean < 50 || mean > 100 || sigma <= 0 || sigma > 20) {
127 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
142 if (
me1 !=
nullptr) {
143 TH1F *Bbis =
me1->getTH1F();
144 TH1F *R1bis = h_fitres1bis->
getTH1F();
145 int division = Bbis->GetNbinsX();
146 float massMIN = Bbis->GetBinLowEdge(1);
147 float massMAX = Bbis->GetBinLowEdge(division + 1);
150 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
151 func->SetParameter(0, 1.0);
152 func->SetParName(0,
"const");
153 func->SetParameter(1, 95.0);
154 func->SetParName(1,
"mean");
155 func->SetParameter(2, 5.0);
156 func->SetParName(2,
"sigma");
159 R1bis->GetStats(
stats);
163 N = Bbis->GetEntries();
167 Bbis->Fit(
"mygauss",
"QR");
172 if (
N == 0 || rms < 0 || rms > 50 || rmsErr <= 0 || rmsErr > 50) {
179 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
190 R1bis->SetEntries(
N);
191 R1bis->PutStats(
stats);
195 if (
me2 !=
nullptr) {
196 TH1F *E =
me2->getTH1F();
197 TH1F *R2 = h_fitres2->
getTH1F();
198 int division = E->GetNbinsX();
199 float massMIN = E->GetBinLowEdge(1);
200 float massMAX = E->GetBinLowEdge(division + 1);
203 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
204 func->SetParameter(0, 1.0);
205 func->SetParName(0,
"const");
206 func->SetParameter(1, 95.0);
207 func->SetParName(1,
"mean");
208 func->SetParameter(2, 5.0);
209 func->SetParName(2,
"sigma");
220 E->Fit(
"mygauss",
"QR");
225 if (
N == 0 || mean < 50 || mean > 100 || sigma <= 0 || sigma > 20) {
232 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
248 if (
me2 !=
nullptr) {
249 TH1F *Ebis =
me2->getTH1F();
250 TH1F *R2bis = h_fitres2bis->
getTH1F();
251 int division = Ebis->GetNbinsX();
252 float massMIN = Ebis->GetBinLowEdge(1);
253 float massMAX = Ebis->GetBinLowEdge(division + 1);
256 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
257 func->SetParameter(0, 1.0);
258 func->SetParName(0,
"const");
259 func->SetParameter(1, 95.0);
260 func->SetParName(1,
"mean");
261 func->SetParameter(2, 5.0);
262 func->SetParName(2,
"sigma");
265 R2bis->GetStats(
stats);
269 N = Ebis->GetEntries();
273 Ebis->Fit(
"mygauss",
"QR");
278 if (
N == 0 || rms < 0 || rms > 50 || rmsErr <= 0 || rmsErr > 50) {
285 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
296 R2bis->SetEntries(
N);
297 R2bis->PutStats(
stats);
301 if (me3 !=
nullptr) {
302 TH1F *R3 = h_fitres3->
getTH1F();
304 int division = M->GetNbinsX();
305 float massMIN = M->GetBinLowEdge(1);
306 float massMAX = M->GetBinLowEdge(division + 1);
309 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
310 func->SetParameter(0, 1.0);
311 func->SetParName(0,
"const");
312 func->SetParameter(1, 95.0);
313 func->SetParName(1,
"mean");
314 func->SetParameter(2, 5.0);
315 func->SetParName(2,
"sigma");
326 M->Fit(
"mygauss",
"QR");
330 if (
N == 0 || mean < 50 || mean > 100 || sigma <= 0 || sigma > 20) {
337 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
353 if (me3 !=
nullptr) {
355 TH1F *R3bis = h_fitres3bis->
getTH1F();
356 int division = Mbis->GetNbinsX();
357 float massMIN = Mbis->GetBinLowEdge(1);
358 float massMAX = Mbis->GetBinLowEdge(division + 1);
361 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
362 func->SetParameter(0, 1.0);
363 func->SetParName(0,
"const");
364 func->SetParameter(1, 95.0);
365 func->SetParName(1,
"mean");
366 func->SetParameter(2, 5.0);
367 func->SetParName(2,
"sigma");
370 R3bis->GetStats(
stats);
374 N = Mbis->GetEntries();
378 Mbis->Fit(
"mygauss",
"QR");
383 if (
N == 0 || rms < 0 || rms > 50 || rmsErr <= 0 || rmsErr > 50) {
390 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
401 R3bis->SetEntries(
N);
402 R3bis->PutStats(
stats);
407 if (
me1 !=
nullptr) {
408 TH1F *C1 =
me1->getTH1F();
409 TH1F *S1 = h_fitres1Chi2->
getTH1F();
410 int division = C1->GetNbinsX();
411 float massMIN = C1->GetBinLowEdge(1);
412 float massMAX = C1->GetBinLowEdge(division + 1);
415 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
416 func->SetParameter(0, 1.0);
417 func->SetParName(0,
"const");
418 func->SetParameter(1, 95.0);
419 func->SetParName(1,
"mean");
420 func->SetParameter(2, 5.0);
421 func->SetParName(2,
"sigma");
428 N = C1->GetEntries();
432 C1->Fit(
"mygauss",
"QR");
433 if ((
func->GetNDF() != 0)) {
439 if (
N == 0 ||
Chi2 < 0 || NDF < 0) {
446 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
462 if (
me2 !=
nullptr) {
463 TH1F *C2 =
me2->getTH1F();
464 TH1F *S2 = h_fitres2Chi2->
getTH1F();
465 int division = C2->GetNbinsX();
466 float massMIN = C2->GetBinLowEdge(1);
467 float massMAX = C2->GetBinLowEdge(division + 1);
470 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
471 func->SetParameter(0, 1.0);
472 func->SetParName(0,
"const");
473 func->SetParameter(1, 95.0);
474 func->SetParName(1,
"mean");
475 func->SetParameter(2, 5.0);
476 func->SetParName(2,
"sigma");
483 N = C2->GetEntries();
487 C2->Fit(
"mygauss",
"QR");
488 if (
func->GetNDF() != 0) {
494 if (
N == 0 ||
Chi2 < 0 || NDF < 0) {
501 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
516 if (me3 !=
nullptr) {
518 TH1F *S3 = h_fitres3Chi2->
getTH1F();
519 int division = C3->GetNbinsX();
520 float massMIN = C3->GetBinLowEdge(1);
521 float massMAX = C3->GetBinLowEdge(division + 1);
524 TF1 *
func =
new TF1(
"mygauss",
mygauss, massMIN, massMAX, 3);
525 func->SetParameter(0, 1.0);
526 func->SetParName(0,
"const");
527 func->SetParameter(1, 95.0);
528 func->SetParName(1,
"mean");
529 func->SetParameter(2, 5.0);
530 func->SetParName(2,
"sigma");
537 N = C3->GetEntries();
541 C3->Fit(
"mygauss",
"QR");
542 if ((
func->GetNDF() != 0)) {
548 if (
N == 0 ||
Chi2 < 0 || NDF < 0) {
555 edm::LogError(
"ZFitter") <<
"[Zfitter]: Exception when fitting..." <<
e.what();
References funct::abs(), TtFullHadDaughter::B, dqm::implementation::IBooker::book1D(), MillePedeFileConverter_cfg::e, TrackCollections2monitor_cff::func, dqm::implementation::IGetter::get(), dqm::legacy::MonitorElement::getTH1F(), LogTrace, hlt_dqm_clientPB-live_cfg::me1, hlt_dqm_clientPB-live_cfg::me2, SiStripPI::mean, mygauss(), N, prefixME_, SiStripPI::rms, dqm::implementation::NavigatorBase::setCurrentFolder(), and dqmMemoryStats::stats.