25 err_dxdz_((
float)0.0),
26 err_dydz_((
float)0.0),
30 err_width_x_((
float)0.0),
31 err_width_y_((
float)0.0),
32 err_sigma_z_((
float)0.0)
81 s <<
"BeamSpotOnline Version: " << c.
version() <<
82 " SourceID: "<< c.
sourceID() << std::endl;
85 hora = gmtime(&ts.tv_sec);
86 strftime(zeit,
sizeof(zeit),
"%Y.%m.%d %H:%M:%S", hora);
87 sprintf(line,
" CollectionTime: %s.%9.9d", zeit,
89 s << line << std::endl;
91 sprintf(line,
" TrigType: %d EventID: %d BunchNumber: %d",
93 s << line << std::endl;
95 sprintf(line,
" x: %e +/- %e width: %e +/- %e",
97 s << line << std::endl;
99 sprintf(line,
" y: %e +/- %e width: %e +/- %e",
101 s << line << std::endl;
103 sprintf(line,
" z: %e +/- %e sigma: %e +/- %e",
105 s << line << std::endl;
107 sprintf(line,
" dxdy: %e +/- %e dydz: %e +/- %e",
109 s << line << std::endl;
virtual ~BeamSpotOnline()
void set_tv_nsec(long value)
unsigned int collectionTime_nsec
unsigned int collectionTime_sec
struct BeamSpotOnlineRaw_v4 beamSpotOnline
float err_width_y() const
unsigned long long header
unsigned int sourceID() const
unsigned int bunchNumber() const
float err_width_x() const
timespec collectionTime() const
unsigned int eventID() const
void set_tv_sec(long value)
std::ostream & operator<<(std::ostream &s, const BeamSpotOnline &c)
Pretty-print operator for BeamSpotOnline.
unsigned int trigType() const
float err_sigma_z() const
unsigned int bunchNumber_