|
bool | allModules () |
|
bool | allPortcards () |
|
void | closeFiles () |
|
int | getCommands () |
|
int | getGridSize () |
|
int | getGridSteps () |
|
int | getNumberTests () |
|
int | getOrigRDa () |
|
int | getOrigSDa () |
|
int | getRange () |
|
std::string | getStreamedContent (void) const |
|
void | openFiles (std::string portcardName, std::string moduleName, std::string path="") |
|
| PixelDelay25Calib (std::string) |
|
| PixelDelay25Calib (std::vector< std::vector< std::string > > &) |
|
std::set< std::string > & | portcardList () |
|
void | writeASCII (std::string dir="") const override |
|
void | writeFiles (std::string tmp) |
|
void | writeFiles (int currentSDa, int currentRDa, int number) |
|
void | writeSettings (std::string portcardName, std::string moduleName) |
|
void | writeXML (pos::PixelConfigKey key, int version, std::string path) const override |
|
void | writeXML (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
|
void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
|
void | writeXMLTrailer (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
|
| ~PixelDelay25Calib () override |
|
virtual std::string | mode () const |
|
| PixelCalibBase () |
|
virtual | ~PixelCalibBase () |
|
std::string | creator () |
|
std::string | date () |
|
std::string | description () |
|
std::string | getAuthor () const |
|
std::string | getComment () const |
|
| PixelConfigBase (std::string description, std::string creator, std::string date) |
|
void | setAuthor (std::string author) |
|
void | setComment (std::string comment) |
|
virtual void | writeXML (std::ofstream *out) const |
|
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const |
|
virtual void | writeXMLTrailer (std::ofstream *out) const |
|
virtual | ~PixelConfigBase () |
|
This class manages data and files used in the Delay25 calibration.
" "
Definition at line 24 of file PixelDelay25Calib.h.
void PixelDelay25Calib::writeXMLHeader |
( |
pos::PixelConfigKey |
key, |
|
|
int |
version, |
|
|
std::string |
path, |
|
|
std::ofstream * |
out, |
|
|
std::ofstream * |
out1 = nullptr , |
|
|
std::ofstream * |
out2 = nullptr |
|
) |
| const |
|
overridevirtual |
Reimplemented from pos::PixelCalibBase.
Definition at line 327 of file PixelDelay25Calib.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), AlCaHLTBitMon_QueryRunRegistry::string, and writeASCII().
Referenced by writeXML().
334 std::string mthn =
"[PixelDelay25Calib::writeXMLHeader()]\t\t\t " ;
335 std::stringstream maskFullPath ;
340 std::cout << __LINE__ <<
"]\t" << mthn <<
"Writing to: " << maskFullPath.str() << std::endl ;
342 outstream->open(maskFullPath.str().c_str()) ;
344 *outstream <<
"<?xml version='1.0' encoding='UTF-8' standalone='yes'?>" << std::endl ;
345 *outstream <<
"<ROOT xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" << std::endl ;
346 *outstream <<
"" << std::endl ;
347 *outstream <<
" <!-- " << mthn <<
"-->" << std::endl ;
348 *outstream <<
"" << std::endl ;
349 *outstream <<
" <HEADER>" << std::endl ;
350 *outstream <<
" <TYPE>" << std::endl ;
351 *outstream <<
" <EXTENSION_TABLE_NAME>PIXEL_CALIB_CLOB</EXTENSION_TABLE_NAME>" << std::endl ;
352 *outstream <<
" <NAME>Calibration Object Clob</NAME>" << std::endl ;
353 *outstream <<
" </TYPE>" << std::endl ;
354 *outstream <<
" <RUN>" << std::endl ;
355 *outstream <<
" <RUN_TYPE>delay25</RUN_TYPE>" << std::endl ;
356 *outstream <<
" <RUN_NUMBER>1</RUN_NUMBER>" << std::endl ;
358 *outstream <<
" <LOCATION>CERN P5</LOCATION>" << std::endl ;
359 *outstream <<
" </RUN>" << std::endl ;
360 *outstream <<
" </HEADER>" << std::endl ;
361 *outstream <<
"" << std::endl ;
362 *outstream <<
" <DATA_SET>" << std::endl ;
363 *outstream <<
"" << std::endl ;
364 *outstream <<
" <VERSION>" <<
version <<
"</VERSION>" << std::endl ;
365 *outstream <<
" <COMMENT_DESCRIPTION>" <<
getComment() <<
"</COMMENT_DESCRIPTION>" << std::endl ;
366 *outstream <<
" <CREATED_BY_USER>" <<
getAuthor() <<
"</CREATED_BY_USER>" << std::endl ;
367 *outstream <<
"" << std::endl ;
368 *outstream <<
" <PART>" << std::endl ;
369 *outstream <<
" <NAME_LABEL>CMS-PIXEL-ROOT</NAME_LABEL>" << std::endl ;
370 *outstream <<
" <KIND_OF_PART>Detector ROOT</KIND_OF_PART>" << std::endl ;
371 *outstream <<
" </PART>" << std::endl ;
void writeASCII(std::string dir="") const override
std::string getComment() const
std::string getAuthor() const