1 #ifndef RecoVertex_BeamSpotProducer_BeamSpotWrite2Txt_h
2 #define RecoVertex_BeamSpotProducer_BeamSpotWrite2Txt_h
21 outFile <<
"Runnumber " << bsContainer.
run << std::endl;
22 outFile <<
"BeginTimeOfFit " << bsContainer.
beginTimeOfFit <<
" " << bsContainer.
reftime[0] << std::endl;
23 outFile <<
"EndTimeOfFit " << bsContainer.
endTimeOfFit <<
" " << bsContainer.
reftime[1] << std::endl;
25 outFile <<
"Type " << bsContainer.
beamspot.
type() << std::endl;
26 outFile <<
"X0 " << bsContainer.
beamspot.
x0() << std::endl;
27 outFile <<
"Y0 " << bsContainer.
beamspot.
y0() << std::endl;
28 outFile <<
"Z0 " << bsContainer.
beamspot.
z0() << std::endl;
29 outFile <<
"sigmaZ0 " << bsContainer.
beamspot.
sigmaZ() << std::endl;
30 outFile <<
"dxdz " << bsContainer.
beamspot.
dxdz() << std::endl;
31 outFile <<
"dydz " << bsContainer.
beamspot.
dydz() << std::endl;
34 for (
int i = 0;
i < 6; ++
i) {
35 outFile <<
"Cov(" <<
i <<
",j) ";
36 for (
int j = 0;
j < 7; ++
j) {
42 outFile <<
"Cov(6,j) 0 0 0 0 0 0 " << bsContainer.
beamspot.
covariance(6, 6) << std::endl;
double z0() const
z coordinate
double emittanceX() const
additional information
double dydz() const
dydz slope
double emittanceY() const
double BeamWidthX() const
beam width X
double dxdz() const
dxdz slope
double sigmaZ() const
sigma z
double BeamWidthY() const
beam width Y
double covariance(int i, int j) const
(i,j)-th element of error matrix
double y0() const
y coordinate
void dumpBeamSpotTxt(std::ofstream &outFile, BeamSpotContainer const &bsContainer)
BeamType type() const
return beam type
double x0() const
x coordinate