Pretty-print operator for LumiScalers.
Definition at line 142 of file LumiScalers.cc.
References LumiScalers::bunchLumi(), LumiScalers::bunchNumber(), LumiScalers::collectionTime(), LumiScalers::deadTimeNormalization(), LumiScalers::eventID(), i, LumiScalers::instantETLumi(), LumiScalers::instantETLumiErr(), LumiScalers::instantETLumiQlty(), LumiScalers::instantLumi(), LumiScalers::instantLumiErr(), LumiScalers::instantLumiQlty(), LumiScalers::instantOccLumi(), LumiScalers::instantOccLumiErr(), LumiScalers::instantOccLumiQlty(), geometryCSVtoXML::line, LumiScalers::liveLumiETFill(), LumiScalers::liveLumiETRun(), LumiScalers::liveLumiFill(), LumiScalers::liveLumiOccFill(), LumiScalers::liveLumiOccRun(), LumiScalers::liveLumiRun(), LumiScalers::lumiFill(), LumiScalers::lumiNoise(), LumiScalers::lumiOccFill(), LumiScalers::lumiOccRun(), LumiScalers::lumiRun(), LumiScalers::normalization(), LumiScalers::numOrbits(), LumiScalers::pileup(), LumiScalers::pileupRMS(), alignCSCRings::s, LumiScalers::sectionNumber(), LumiScalers::sourceID(), LumiScalers::spare(), LumiScalers::startOrbit(), LumiScalers::trigType(), and LumiScalers::version().
148 s <<
"LumiScalers Version: " << c.
version() <<
149 " SourceID: "<< c.
sourceID() << std::endl;
152 hora = gmtime(&ts.tv_sec);
153 strftime(zeit,
sizeof(zeit),
"%Y.%m.%d %H:%M:%S", hora);
154 sprintf(line,
" CollectionTime: %s.%9.9d", zeit,
156 s << line << std::endl;
158 sprintf(line,
" TrigType: %d EventID: %d BunchNumber: %d",
160 s << line << std::endl;
162 sprintf(line,
" SectionNumber: %10d StartOrbit: %10d NumOrbits: %10d",
164 s << line << std::endl;
166 sprintf(line,
" Normalization: %e DeadTimeNormalization: %e",
168 s << line << std::endl;
172 sprintf(line,
" LumiFill: %e LumiRun: %e",
174 s << line << std::endl;
175 sprintf(line,
" LiveLumiFill: %e LiveLumiRun: %e",
177 s << line << std::endl;
179 sprintf(line,
" LumiETFill: %e LumiETRun: %e",
181 s << line << std::endl;
183 sprintf(line,
" LiveLumiETFill: %e LiveLumETiRun: %e",
185 s << line << std::endl;
188 for (
int i=0;
i<length;
i++)
191 " LumiOccFill[%d]: %e LumiOccRun[%d]: %e",
193 s << line << std::endl;
196 " LiveLumiOccFill[%d]: %e LiveLumiOccRun[%d]: %e",
198 s << line << std::endl;
203 sprintf(line,
" InstantLumi: %e Err: %e Qlty: %d",
205 s << line << std::endl;
207 sprintf(line,
" InstantETLumi: %e Err: %e Qlty: %d",
209 s << line << std::endl;
211 for (
int i=0;
i<length;
i++)
213 sprintf(line,
" InstantOccLumi[%d]: %e Err: %e Qlty: %d",
216 s << line << std::endl;
217 sprintf(line,
" LumiNoise[%d]: %e",
i, c.
lumiNoise()[
i]);
218 s << line << std::endl;
221 sprintf(line,
" Pileup: %f PileupRMS: %f",
223 s << line << std::endl;
225 sprintf(line,
" BunchLumi: %f Spare: %f",
227 s << line << std::endl;
std::vector< float > lumiOccFill() const
unsigned int trigType() const
unsigned char instantETLumiQlty() const
unsigned int sectionNumber() const
unsigned int bunchNumber() const
float normalization() const
float instantETLumi() const
std::vector< float > instantOccLumiErr() const
float instantLumi() const
float liveLumiETRun() const
float liveLumiRun() const
unsigned int numOrbits() const
timespec collectionTime() const
float instantETLumiErr() const
std::vector< float > lumiOccRun() const
std::vector< float > lumiNoise() const
std::vector< unsigned char > instantOccLumiQlty() const
float liveLumiETFill() const
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
std::vector< float > liveLumiOccRun() const
float deadTimeNormalization() const
std::vector< float > liveLumiOccFill() const