81 const std::time_t ftmptime = fbegintimestamp >> 32;
112 const std::time_t fendtime = fendtimestamp >> 32;
130 std::cout <<
"\n RESULTS OF DEFAULT FIT " << std::endl;
132 std::cout <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second << std::endl;
135 std::cout <<
"[BeamFitter] fit done. \n" << std::endl;
140 std::cout <<
"\n Empty Beam spot fit" << std::endl;
142 std::cout <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second << std::endl;
145 std::cout <<
"[BeamFitter] fit failed \n" << std::endl;
154 std::cout <<
"Total number of tracks accumulated = " << theBSvector.size() << std::endl;
155 std::cout <<
"Reset track collection for beam fit" <<std::endl;
171 std::cout <<
"\n-------------------------------------\n" << std::endl;
173 std::cout <<
"\n-------------------------------------\n\n" << std::endl;
181 std::cout <<
"\n RESULTS OF DEFAULT FIT:" << std::endl;
183 std::cout <<
" for lumi blocks : " << LSRange.first <<
" - " << LSRange.second << std::endl;
188 std::cout <<
"\n-------------------------------------\n\n" << std::endl;
189 std::cout <<
" write results to DB..." << std::endl;
204 else std::cout <<
"[BeamSpotAnalyzer] beamfit fails !!!" << std::endl;
207 std::cout <<
"[BeamSpotAnalyzer] endJob done \n" << std::endl;
T getParameter(std::string const &) const
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
std::vector< BSTrkParameters > getBSvector()
#define DEFINE_FWK_MODULE(type)
bool runBeamWidthFitter()
Timestamp const & beginTime() const
void readEvent(const edm::Event &iEvent)
reco::BeamSpot getBeamWidth()
void setType(BeamType type)
set beam type
virtual void analyze(const edm::Event &, const edm::EventSetup &)
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & endTime() const
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void setFitLSRange(int ls0, int ls1)
unsigned long long TimeValue_t
TimeValue_t value() const
BeamFitter * theBeamFitter
BeamSpotAnalyzer(const edm::ParameterSet &)
void setRefTime(time_t t0, time_t t1)
std::pair< int, int > getFitLSRange()
reco::BeamSpot getBeamSpot()