16 collectionTime_(0, 0),
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) {}
71 constexpr
size_t kLineBufferSize = 157;
72 char line[kLineBufferSize];
75 s <<
"BeamSpotOnline Version: " << c.
version() <<
" SourceID: " << c.
sourceID() << std::endl;
78 hora = gmtime(&ts.tv_sec);
79 strftime(zeit,
sizeof(zeit),
"%Y.%m.%d %H:%M:%S", hora);
80 snprintf(line, kLineBufferSize,
" CollectionTime: %s.%9.9d", zeit, (
int)ts.tv_nsec);
81 s << line << std::endl;
85 " TrigType: %d EventID: %d BunchNumber: %d",
89 s << line << std::endl;
93 s << line << std::endl;
97 s << line << std::endl;
101 s << line << std::endl;
105 s << line << std::endl;
const edm::EventSetup & c
virtual ~BeamSpotOnline()
void set_tv_nsec(long value)
unsigned int collectionTime_nsec
unsigned int collectionTime_sec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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)
unsigned int trigType() const
float err_sigma_z() const
unsigned int bunchNumber_