55 produces<reco::BeamSpot, edm::Transition::EndLuminosityBlock>(
"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
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
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
~AlcaBeamSpotProducer() override
void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final
void setRefTime(time_t t0, time_t t1)
std::pair< int, int > getFitLSRange()
TimeValue_t value() const
reco::BeamSpot getBeamSpot()
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final