Go to the documentation of this file.
40 .getUntrackedParameter<int>(
"fitEveryNLumi", -1);
42 .getUntrackedParameter<int>(
"resetEveryNLumi", -1);
58 produces<reco::BeamSpot, edm::Transition::EndLuminosityBlock>(
"alcaBeamSpot");
74 const std::time_t ftmptime = fbegintimestamp >> 32;
92 const std::time_t fendtime = fendtimestamp >> 32;
112 edm::LogInfo(
"AlcaBeamSpotProducer") <<
"\n RESULTS OF DEFAULT FIT " << std::endl
114 <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second
116 <<
" lumi counter # " <<
countLumi_ << std::endl
122 edm::LogInfo(
"AlcaBeamSpotProducer") <<
"\n Empty Beam spot fit" << std::endl
124 <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second
126 <<
" lumi counter # " <<
countLumi_ << std::endl
132 auto result = std::make_unique<reco::BeamSpot>();
138 edm::LogInfo(
"AlcaBeamSpotProducer") <<
"Total number of tracks accumulated = " << theBSvector.size() << std::endl
139 <<
"Reset track collection for beam fit" << std::endl;
~AlcaBeamSpotProducer() override
BeamFitter * theBeamFitter
Timestamp const & beginTime() const
void readEvent(const edm::Event &iEvent)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
TimeValue_t value() const
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
Log< level::Info, false > LogInfo
Timestamp const & endTime() const
#define DEFINE_FWK_MODULE(type)
LuminosityBlockNumber_t luminosityBlock() const
reco::BeamSpot getBeamSpot()
void setRefTime(time_t t0, time_t t1)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final
AlcaBeamSpotProducer(const edm::ParameterSet &)
void put(std::unique_ptr< PROD > product)
Put a new product.
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
void setFitLSRange(int ls0, int ls1)
std::pair< int, int > getFitLSRange()
T getParameter(std::string const &) const
std::vector< BSTrkParameters > getBSvector()
unsigned long long TimeValue_t
void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final