#include <DiMuonMassBiasClient.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
void | beginJob (void) override |
BeginJob. More... | |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
BeginRun. More... | |
void | dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override |
EndJob. More... | |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Private Member Functions | |
void | bookMEs (DQMStore::IBooker &ibooker) |
book MEs More... | |
void | fitAndFillHisto (std::pair< std::string, MonitorElement *> toHarvest, DQMStore::IBooker &iBooker) |
void | fitAndFillProfile (std::pair< std::string, MonitorElement *> toHarvest, DQMStore::IBooker &iBooker) |
diMuonMassBias::fitOutputs | fitBWTimesCB (TH1 *hist) const |
diMuonMassBias::fitOutputs | fitLineShape (TH1 *hist, const bool &fitBackground=false) const |
void | getMEsToHarvest (DQMStore::IGetter &igetter) |
Private Attributes | |
const bool | debugMode_ |
const bool | fitBackground_ |
std::map< std::string, MonitorElement * > | harvestTargets_ |
float | meanConfig_ [3] |
std::map< std::string, MonitorElement * > | meanHistos_ |
std::map< std::string, MonitorElement * > | meanProfiles_ |
std::vector< std::string > | MEtoHarvest_ |
float | sigmaConfig_ [3] |
const std::string | TopFolder_ |
const bool | useBWtimesCB_ |
const bool | useRooCBShape_ |
const bool | useRooCMSShape_ |
const bool | useTH1s_ |
float | widthConfig_ [3] |
std::map< std::string, MonitorElement * > | widthHistos_ |
std::map< std::string, MonitorElement * > | widthProfiles_ |
Definition at line 59 of file DiMuonMassBiasClient.h.
DiMuonMassBiasClient::DiMuonMassBiasClient | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 21 of file DiMuonMassBiasClient.cc.
References debugMode_, diMuonMassBias::fillArrayF(), DiMuonMassBiasClient_cfi::fit_par, edm::ParameterSet::getParameter(), meanConfig_, sigmaConfig_, and widthConfig_.
|
override |
|
overrideprotectedvirtual |
BeginJob.
Reimplemented from edm::one::EDProducerBase.
Definition at line 58 of file DiMuonMassBiasClient.cc.
|
overrideprotected |
|
private |
book MEs
Definition at line 72 of file DiMuonMassBiasClient.cc.
References dqm::implementation::IBooker::book1D(), harvestTargets_, submitPVResolutionJobs::key, meanHistos_, dqm::implementation::NavigatorBase::setCurrentFolder(), runGCPTkAlMap::title, TopFolder_, widthHistos_, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, compareTotals::xtitle, and compareTotals::ytitle.
Referenced by dqmEndJob().
|
overrideprotectedvirtual |
EndJob.
Implements DQMEDHarvester.
Definition at line 262 of file DiMuonMassBiasClient.cc.
References bookMEs(), fitAndFillHisto(), fitAndFillProfile(), getMEsToHarvest(), harvestTargets_, and useTH1s_.
|
static |
Definition at line 504 of file DiMuonMassBiasClient.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, DiMuonMassBiasClient_cfi::fit_par, WZElectronSkims53X_cff::max, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 215 of file DiMuonMassBiasClient.cc.
References newFWLiteAna::bin, debugMode_, Measurement1D::error(), fitBackground_, fitBWTimesCB(), fitLineShape(), submitPVResolutionJobs::key, meanHistos_, mysort::results, useBWtimesCB_, Measurement1D::value(), ApeEstimator_cff::width, widthHistos_, and LaserClient_cfi::xaxis.
Referenced by dqmEndJob().
|
private |
Definition at line 120 of file DiMuonMassBiasClient.cc.
References newFWLiteAna::bin, dqm::implementation::IBooker::bookProfile(), debugMode_, Measurement1D::error(), fitBackground_, fitBWTimesCB(), fitLineShape(), submitPVResolutionJobs::key, LogDebug, meanProfiles_, mysort::results, dqm::implementation::NavigatorBase::setCurrentFolder(), runGCPTkAlMap::title, TopFolder_, useBWtimesCB_, Measurement1D::value(), ApeEstimator_cff::width, widthProfiles_, LaserClient_cfi::xaxis, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, compareTotals::xtitle, and compareTotals::ytitle.
Referenced by dqmEndJob().
|
private |
Definition at line 421 of file DiMuonMassBiasClient.cc.
References alignmentValidation::c1, compareTotals::hist, instance, diMuonMassBias::minimumHits, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by fitAndFillHisto(), and fitAndFillProfile().
|
private |
Definition at line 286 of file DiMuonMassBiasClient.cc.
References b, alignmentValidation::c1, crystalball(), DiMuonMassBiasClient_cfi::fitBackground, compareTotals::hist, instance, SiStripPI::mean, diMuonMassBias::minimumHits, alignCSCRings::s, ApeEstimator_cff::width, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by fitAndFillHisto(), and fitAndFillProfile().
|
private |
Definition at line 101 of file DiMuonMassBiasClient.cc.
References dqm::implementation::IGetter::get(), harvestTargets_, MEtoHarvest_, AlCaHLTBitMon_QueryRunRegistry::string, and TopFolder_.
Referenced by dqmEndJob().
|
private |
Definition at line 95 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient(), fitAndFillHisto(), and fitAndFillProfile().
|
private |
Definition at line 92 of file DiMuonMassBiasClient.h.
Referenced by fitAndFillHisto(), and fitAndFillProfile().
|
private |
Definition at line 113 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), dqmEndJob(), and getMEsToHarvest().
|
private |
Definition at line 97 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 105 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), and fitAndFillHisto().
|
private |
Definition at line 109 of file DiMuonMassBiasClient.h.
Referenced by fitAndFillProfile().
|
private |
Definition at line 102 of file DiMuonMassBiasClient.h.
Referenced by getMEsToHarvest().
|
private |
Definition at line 99 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 89 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), fitAndFillProfile(), and getMEsToHarvest().
|
private |
Definition at line 91 of file DiMuonMassBiasClient.h.
Referenced by fitAndFillHisto(), and fitAndFillProfile().
|
private |
Definition at line 93 of file DiMuonMassBiasClient.h.
|
private |
Definition at line 94 of file DiMuonMassBiasClient.h.
|
private |
Definition at line 90 of file DiMuonMassBiasClient.h.
Referenced by dqmEndJob().
|
private |
Definition at line 98 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 106 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), and fitAndFillHisto().
|
private |
Definition at line 110 of file DiMuonMassBiasClient.h.
Referenced by fitAndFillProfile().