#include <AlcaBeamSpotProducer.h>
Public Member Functions | |
AlcaBeamSpotProducer (const edm::ParameterSet &) | |
~AlcaBeamSpotProducer () | |
Public Member Functions inherited from edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) overridefinal |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) overridefinal |
virtual void | endLuminosityBlockProduce (edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) overridefinal |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) overridefinal |
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 | |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
class: AlcaBeamSpotProducer.h package: Calibration/TkAlCaRecoProducers
author: Francisco Yumiceva, Fermilab (yumic) eva@ fnal. gov
Definition at line 26 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 35 of file AlcaBeamSpotProducer.cc.
References beam_dqm_sourceclient-live_cfg::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_.
AlcaBeamSpotProducer::~AlcaBeamSpotProducer | ( | ) |
|
finaloverrideprivatevirtual |
Definition at line 71 of file AlcaBeamSpotProducer.cc.
References beginLumiOfBSFit_, edm::LuminosityBlockBase::beginTime(), countLumi_, ftmprun, ftmprun0, edm::LuminosityBlockBase::luminosityBlock(), refBStime, resetFitNLumi_, edm::LuminosityBlockBase::run(), and edm::Timestamp::value().
|
finaloverrideprivatevirtual |
Definition at line 87 of file AlcaBeamSpotProducer.cc.
|
finaloverrideprivatevirtual |
Definition at line 91 of file AlcaBeamSpotProducer.cc.
References beginLumiOfBSFit_, countLumi_, endLumiOfBSFit_, edm::LuminosityBlockBase::endTime(), reco::BeamSpot::Fake, fitNLumi_, ftmprun, ftmprun0, BeamFitter::getBeamSpot(), BeamFitter::getBSvector(), BeamFitter::getFitLSRange(), edm::LuminosityBlockBase::luminosityBlock(), edm::LuminosityBlock::put(), refBStime, BeamFitter::resetCutFlow(), resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), query::result, BeamFitter::runPVandTrkFitter(), BeamFitter::setFitLSRange(), BeamFitter::setRefTime(), BeamFitter::setRun(), reco::BeamSpot::setType(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamFitter, and edm::Timestamp::value().
|
finaloverrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 64 of file AlcaBeamSpotProducer.cc.
References ftmprun, ftotalevents, edm::EventBase::id(), BeamFitter::readEvent(), edm::EventID::run(), and theBeamFitter.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 44 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 41 of file AlcaBeamSpotProducer.h.
|
private |
Definition at line 42 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 45 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and endLuminosityBlockProduce().
|
private |
Definition at line 39 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and endLuminosityBlockProduce().
|
private |
Definition at line 43 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), endLuminosityBlockProduce(), and produce().
|
private |
Definition at line 43 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 38 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), and produce().
|
private |
Definition at line 51 of file AlcaBeamSpotProducer.h.
|
private |
Definition at line 46 of file AlcaBeamSpotProducer.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 40 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), beginLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 50 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().
|
private |
Definition at line 49 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().
|
private |
Definition at line 53 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer(), endLuminosityBlockProduce(), produce(), and ~AlcaBeamSpotProducer().
|
private |
Definition at line 48 of file AlcaBeamSpotProducer.h.
Referenced by AlcaBeamSpotProducer().