#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 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) |
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... | |
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 * > | meanProfiles_ |
std::vector< std::string > | MEtoHarvest_ |
float | sigmaConfig_ [3] |
const std::string | TopFolder_ |
const bool | useRooCBShape_ |
const bool | useRooCMSShape_ |
float | widthConfig_ [3] |
std::map< std::string, MonitorElement * > | widthProfiles_ |
Definition at line 59 of file DiMuonMassBiasClient.h.
DiMuonMassBiasClient::DiMuonMassBiasClient | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 20 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 55 of file DiMuonMassBiasClient.cc.
|
overrideprotected |
|
private |
book MEs
Definition at line 69 of file DiMuonMassBiasClient.cc.
References dqm::implementation::IBooker::book1D(), harvestTargets_, crabWrapper::key, meanProfiles_, dqm::implementation::NavigatorBase::setCurrentFolder(), runGCPTkAlMap::title, TopFolder_, widthProfiles_, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, compareTotals::xtitle, and compareTotals::ytitle.
Referenced by dqmEndJob().
|
overrideprotectedvirtual |
EndJob.
Implements DQMEDHarvester.
Definition at line 117 of file DiMuonMassBiasClient.cc.
References newFWLiteAna::bin, bookMEs(), debugMode_, Measurement1D::error(), fitLineShape(), getMEsToHarvest(), harvestTargets_, crabWrapper::key, meanProfiles_, mysort::results, Measurement1D::value(), ApeEstimator_cff::width, widthProfiles_, and LaserClient_cfi::xaxis.
|
static |
Definition at line 296 of file DiMuonMassBiasClient.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, DiMuonMassBiasClient_cfi::fit_par, SiStripPI::max, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 161 of file DiMuonMassBiasClient.cc.
References b, alignmentValidation::c1, crystalball(), gpuVertexFinder::hist, instance, SiStripPI::mean, diMuonMassBias::minimumHits, alignCSCRings::s, ApeEstimator_cff::width, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by dqmEndJob().
|
private |
Definition at line 98 of file DiMuonMassBiasClient.cc.
References dqm::implementation::IGetter::get(), harvestTargets_, MEtoHarvest_, AlCaHLTBitMon_QueryRunRegistry::string, and TopFolder_.
Referenced by dqmEndJob().
|
private |
Definition at line 90 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient(), and dqmEndJob().
|
private |
Definition at line 87 of file DiMuonMassBiasClient.h.
|
private |
Definition at line 104 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), dqmEndJob(), and getMEsToHarvest().
|
private |
Definition at line 92 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 100 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), and dqmEndJob().
|
private |
Definition at line 97 of file DiMuonMassBiasClient.h.
Referenced by getMEsToHarvest().
|
private |
Definition at line 94 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 86 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), and getMEsToHarvest().
|
private |
Definition at line 88 of file DiMuonMassBiasClient.h.
|
private |
Definition at line 89 of file DiMuonMassBiasClient.h.
|
private |
Definition at line 93 of file DiMuonMassBiasClient.h.
Referenced by DiMuonMassBiasClient().
|
private |
Definition at line 101 of file DiMuonMassBiasClient.h.
Referenced by bookMEs(), and dqmEndJob().