#include <AlcaBeamSpotProducer.h>
Private Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) final |
Private Attributes | |
int | beginLumiOfBSFit_ |
int | countEvt_ |
int | countLumi_ |
int | endLumiOfBSFit_ |
int | fitNLumi_ |
int | ftmprun |
int | ftmprun0 |
int | ftotalevents |
double | inputBeamWidth_ |
std::time_t | refBStime [2] |
int | resetFitNLumi_ |
bool | runallfitters_ |
bool | runbeamwidthfit_ |
BeamFitter * | theBeamFitter |
bool | write2DB_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 inherited from edm::ProducerBase | |
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 () |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
class: AlcaBeamSpotProducer.h package: Calibration/TkAlCaRecoProducers
author: Francisco Yumiceva, Fermilab (yumic) eva@ fnal. gov
Definition at line 24 of file AlcaBeamSpotProducer.h.
|
explicit |
class: AlcaBeamSpotProducer.cc package: RecoVertex/BeamSpotProducer
author: Francisco Yumiceva, Fermilab (yumic) Geng-Yuan Jeng, UC Riverside ( eva@ fnal. govGeng-) Yuan .Jeng @cer n.ch
Definition at line 34 of file AlcaBeamSpotProducer.cc.
References AlcaBeamMonitor_cfi::BeamFitter, beginLumiOfBSFit_, edm::EDConsumerBase::consumesCollector(), countLumi_, endLumiOfBSFit_, fitNLumi_, ftmprun, ftmprun0, ftotalevents, edm::ParameterSet::getParameter(), BeamFitter::resetCutFlow(), resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), runallfitters_, runbeamwidthfit_, theBeamFitter, and write2DB_.
|
override |
|
finalprivate |
Definition at line 72 of file AlcaBeamSpotProducer.cc.
References beginLumiOfBSFit_, edm::LuminosityBlockBase::beginTime(), countLumi_, ftmprun, ftmprun0, edm::LuminosityBlockBase::luminosityBlock(), refBStime, resetFitNLumi_, edm::LuminosityBlockBase::run(), and edm::Timestamp::value().
|
finalprivate |
Definition at line 87 of file AlcaBeamSpotProducer.cc.
|
finalprivate |
Definition at line 90 of file AlcaBeamSpotProducer.cc.
References beginLumiOfBSFit_, cms::cuda::bs, countLumi_, endLumiOfBSFit_, edm::LuminosityBlockBase::endTime(), reco::BeamSpot::Fake, fitNLumi_, ftmprun, ftmprun0, BeamFitter::getBeamSpot(), BeamFitter::getBSvector(), BeamFitter::getFitLSRange(), edm::LuminosityBlockBase::luminosityBlock(), eostools::move(), edm::LuminosityBlock::put(), refBStime, BeamFitter::resetCutFlow(), resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), mps_fire::result, BeamFitter::runPVandTrkFitter(), BeamFitter::setFitLSRange(), BeamFitter::setRefTime(), BeamFitter::setRun(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamFitter, and edm::Timestamp::value().
|
finalprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 65 of file AlcaBeamSpotProducer.cc.
References ftmprun, ftotalevents, iEvent, BeamFitter::readEvent(), and theBeamFitter.
|
private |
Definition at line 42 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 39 of file AlcaBeamSpotProducer.h.
|
private |
Definition at line 40 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 43 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and endLuminosityBlockProduce().
|
private |
Definition at line 37 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and endLuminosityBlockProduce().
|
private |
Definition at line 41 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), endLuminosityBlockProduce(), and produce().
|
private |
Definition at line 41 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 36 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and produce().
|
private |
Definition at line 49 of file AlcaBeamSpotProducer.h.
|
private |
Definition at line 44 of file AlcaBeamSpotProducer.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 38 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 48 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().
|
private |
Definition at line 47 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().
|
private |
Definition at line 51 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), endLuminosityBlockProduce(), produce(), and ~AlcaBeamSpotProducer().
|
private |
Definition at line 46 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().