18 deadTimeNormalization_(0.0),
31 instantETLumiErr_(0.0),
32 instantETLumiQlty_(0),
35 liveLumiOccFill_(nOcc),
36 liveLumiOccRun_(nOcc),
37 instantOccLumi_(nOcc),
38 instantOccLumiErr_(nOcc),
39 instantOccLumiQlty_(nOcc),
75 lumi = & (raw3->
lumi);
114 float const* fspare =
reinterpret_cast<float const*
>( raw6->
spare);
146 char line[kLineBufferSize];
149 s <<
"LumiScalers Version: " << c.
version() <<
150 " SourceID: "<< c.
sourceID() << std::endl;
153 hora = gmtime(&ts.tv_sec);
154 strftime(zeit,
sizeof(zeit),
"%Y.%m.%d %H:%M:%S", hora);
155 snprintf(line, kLineBufferSize,
" CollectionTime: %s.%9.9d", zeit,
157 s << line << std::endl;
159 snprintf(line, kLineBufferSize,
" TrigType: %d EventID: %d BunchNumber: %d",
161 s << line << std::endl;
163 snprintf(line, kLineBufferSize,
" SectionNumber: %10d StartOrbit: %10d NumOrbits: %10d",
165 s << line << std::endl;
167 snprintf(line, kLineBufferSize,
" Normalization: %e DeadTimeNormalization: %e",
169 s << line << std::endl;
173 snprintf(line, kLineBufferSize,
" LumiFill: %e LumiRun: %e",
175 s << line << std::endl;
176 snprintf(line, kLineBufferSize,
" LiveLumiFill: %e LiveLumiRun: %e",
178 s << line << std::endl;
180 snprintf(line, kLineBufferSize,
" LumiETFill: %e LumiETRun: %e",
182 s << line << std::endl;
184 snprintf(line, kLineBufferSize,
" LiveLumiETFill: %e LiveLumETiRun: %e",
186 s << line << std::endl;
189 for (
int i=0;
i<length;
i++)
191 snprintf(line, kLineBufferSize,
192 " LumiOccFill[%d]: %e LumiOccRun[%d]: %e",
194 s << line << std::endl;
196 snprintf(line, kLineBufferSize,
197 " LiveLumiOccFill[%d]: %e LiveLumiOccRun[%d]: %e",
199 s << line << std::endl;
204 snprintf(line, kLineBufferSize,
" InstantLumi: %e Err: %e Qlty: %d",
206 s << line << std::endl;
208 snprintf(line, kLineBufferSize,
" InstantETLumi: %e Err: %e Qlty: %d",
210 s << line << std::endl;
212 for (
int i=0;
i<length;
i++)
214 snprintf(line, kLineBufferSize,
" InstantOccLumi[%d]: %e Err: %e Qlty: %d",
217 s << line << std::endl;
218 snprintf(line, kLineBufferSize,
" LumiNoise[%d]: %e",
i, c.
lumiNoise()[
i]);
219 s << line << std::endl;
222 snprintf(line, kLineBufferSize,
" Pileup: %f PileupRMS: %f",
224 s << line << std::endl;
226 snprintf(line, kLineBufferSize,
" BunchLumi: %f Spare: %f",
228 s << line << std::endl;
unsigned char InstantETLumiQlty
unsigned int collectionTime_sec
std::vector< unsigned char > instantOccLumiQlty_
std::vector< float > lumiOccFill() const
unsigned int trigType() const
unsigned char instantETLumiQlty() const
unsigned char instantLumiQlty_
float LiveLumiOccFill[ScalersRaw::N_LUMI_OCC_v1]
unsigned int sectionNumber() const
unsigned int bunchNumber() const
float LumiOccRun[ScalersRaw::N_LUMI_OCC_v1]
std::vector< float > liveLumiOccRun_
void set_tv_nsec(long value)
std::vector< float > liveLumiOccFill_
unsigned char instantETLumiQlty_
std::vector< float > instantOccLumi_
unsigned long long header
float normalization() const
float instantETLumi() const
std::vector< float > instantOccLumiErr() const
unsigned long long spare[ScalersRaw::N_SPARE_v5]
std::vector< float > lumiOccRun_
float DeadtimeNormalization
float LumiOccFill[ScalersRaw::N_LUMI_OCC_v1]
std::vector< float > lumiNoise_
float instantLumi() const
unsigned char InstantOccLumiQlty[ScalersRaw::N_LUMI_OCC_v1]
float deadTimeNormalization_
float lumiNoise[ScalersRaw::N_LUMI_OCC_v1]
float liveLumiETRun() const
float liveLumiRun() const
unsigned int numOrbits() const
unsigned int collectionTime_nsec
timespec collectionTime() const
unsigned int sectionNumber_
float instantETLumiErr() const
std::vector< float > lumiOccRun() const
float InstantOccLumiErr[ScalersRaw::N_LUMI_OCC_v1]
std::vector< float > lumiNoise() const
std::vector< float > instantOccLumiErr_
std::vector< unsigned char > instantOccLumiQlty() const
float liveLumiETFill() const
float LiveLumiOccRun[ScalersRaw::N_LUMI_OCC_v1]
std::vector< float > lumiOccFill_
unsigned int eventID() const
unsigned char instantLumiQlty() const
float liveLumiFill() const
unsigned int startOrbit() const
float instantLumiErr() const
unsigned int sourceID() const
std::vector< float > instantOccLumi() const
unsigned char InstantLumiQlty
unsigned int bunchNumber_
std::vector< float > liveLumiOccRun() const
void set_tv_sec(long value)
float InstantOccLumi[ScalersRaw::N_LUMI_OCC_v1]
struct LumiScalersRaw_v1 lumi
struct LumiScalersRaw_v1 lumi
std::ostream & operator<<(std::ostream &s, const LumiScalers &c)
Pretty-print operator for LumiScalers.
unsigned int sectionNumber
float deadTimeNormalization() const
std::vector< float > liveLumiOccFill() const