55 produces<reco::BeamSpot, edm::InLumi>(
"alcaBeamSpot");
73 const std::time_t ftmptime = fbegintimestamp >> 32;
93 const std::time_t fendtime = fendtimestamp >> 32;
112 <<
"\n RESULTS OF DEFAULT FIT " << std::endl
114 <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second << std::endl
115 <<
" lumi counter # " <<
countLumi_ << std::endl
117 <<
"fit done. \n" << std::endl;
122 <<
"\n Empty Beam spot fit" << std::endl
124 <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second << std::endl
125 <<
" lumi counter # " <<
countLumi_ << std::endl
127 <<
"fit failed \n" << std::endl;
130 auto result = std::make_unique<reco::BeamSpot>();
137 <<
"Total number of tracks accumulated = " << theBSvector.size() << std::endl
138 <<
"Reset track collection for beam fit" <<std::endl;
T getParameter(std::string const &) const
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override final
std::vector< BSTrkParameters > getBSvector()
#define DEFINE_FWK_MODULE(type)
Timestamp const & beginTime() const
void readEvent(const edm::Event &iEvent)
void setType(BeamType type)
set beam type
LuminosityBlockNumber_t luminosityBlock() const
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) override final
AlcaBeamSpotProducer(const edm::ParameterSet &)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void put(std::unique_ptr< PROD > product)
Put a new product.
Timestamp const & endTime() const
void setFitLSRange(int ls0, int ls1)
BeamFitter * theBeamFitter
unsigned long long TimeValue_t
void setRefTime(time_t t0, time_t t1)
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) override final
std::pair< int, int > getFitLSRange()
TimeValue_t value() const
reco::BeamSpot getBeamSpot()
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) override final