ATLAS Offline Software
Classes | Functions
ReadWrite.cxx File Reference
#include "TrigConfBase/MsgStream.h"
#include "TrigConfStorage/StorageMgr.h"
#include "TrigConfStorage/DBLoader.h"
#include "TrigConfStorage/IStorageMgr.h"
#include "TrigConfStorage/IHLTFrameLoader.h"
#include "TrigConfStorage/MCKLoader.h"
#include "TrigConfL1Data/CaloInfo.h"
#include "TrigConfL1Data/CTPConfig.h"
#include "L1TopoConfig/L1TopoMenu.h"
#include "TrigConfL1Data/Muctpi.h"
#include "TrigConfHLTData/HLTFrame.h"
#include "TrigConfHLTData/HLTPrescaleSet.h"
#include "TrigConfJobOptData/JobOptionTable.h"
#include "TrigConfCoolWriter.h"
#include "Run2toRun3ConvertersL1.h"
#include "Run2toRun3ConvertersHLT.h"
#include "CoolKernel/DatabaseId.h"
#include "CoolKernel/Exception.h"
#include "CoolKernel/IDatabaseSvc.h"
#include "CoolKernel/IDatabase.h"
#include "CoolKernel/IFolder.h"
#include "CoolKernel/IObject.h"
#include "boost/lexical_cast.hpp"
#include "boost/algorithm/string.hpp"
#include <iostream>
#include <fstream>
#include <string>
#include <memory>
#include <ctime>
#include <map>
#include <vector>
#include <sys/stat.h>

Go to the source code of this file.

Classes

struct  JobConfig
 

Functions

void printhelp (std::ostream &o, std::ostream &(*lineend)(std::ostream &os))
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 353 of file ReadWrite.cxx.

353  {
354 
355  /***************************************
356  *
357  * Getting the program parameters
358  *
359  ***************************************/
360  JobConfig gConfig;
361  gConfig.parseProgramOptions(argc, argv);
362  if(gConfig.help) {
363  printhelp(cout, endl);
364  return 0;
365  }
366  if(gConfig.error.size()!=0) {
367  for(const string& e: gConfig.error)
368  cerr << e << endl;
369  printhelp(cout, endl);
370  return 1;
371  }
372 
373  ofstream *outf(0), *errf(0);
374  if(gConfig.logFileName != "") {
375  string outfn = gConfig.logFileName+".out";
376  string errfn = gConfig.logFileName+".err";
377  outf = new ofstream(outfn.c_str());
378  errf = new ofstream(errfn.c_str());
379  }
380  ostream& log = (outf==0?cout:*outf);
381  ostream& logerr = (errf==0?cerr:*errf);
382  ostream& (*lineend) ( ostream& os ) = &endl;
383 
384  string check = gConfig.CheckForCompleteSetup();
385  if( check != "" ) {
386  logerr << lineend << "===> Error in the option specification: " << check << lineend << lineend;
387  printhelp(log, lineend);
388  if(outf) outf->close();
389  if(errf) errf->close();
390  return 1;
391  }
392 
393  gConfig.PrintSetup(log, lineend);
394 
395 
396  /***************************************
397  *
398  * Reading
399  *
400  ***************************************/
401  CTPConfig* ctpc(0);
402  BunchGroupSet* bgs(nullptr);
403  HLTFrame* hltFrame(0);
404  TXC::L1TopoMenu* l1tm = nullptr;
405  uint smk(0),l1psk(0),hltpsk(0),bgsk(0), mck{0};
406  string release;
407 
408 
409  /*------------------
410  * from DB
411  *-----------------*/
412  if (gConfig.input == JobConfig::DB) {
413  unique_ptr<StorageMgr> sm(new StorageMgr(gConfig.db, "", "", log));
414 
415  // Loading L1 topo
416  //log << "Retrieving Lvl1 Topo configuration" << lineend;
417  l1tm = new TXC::L1TopoMenu();
418  l1tm->setSMK(gConfig.getKey(0));
419  sm->masterTableLoader().setLevel(gConfig.outputlevel);
420  sm->masterTableLoader().load(*l1tm);
421 
422  //log << "Retrieving Lvl1 CTP configuration" << lineend;
423  ctpc = new TrigConf::CTPConfig();
424  ctpc->setSMK( gConfig.getKey(0) );
425  ctpc->setPrescaleSetId( gConfig.getKey(1) );
426  ctpc->setBunchGroupSetId( gConfig.getKey(3) );
427  sm->menuLoader().setEnv(IMenuLoader::CTPOnl);
428  ctpc->setLoadCtpFiles(gConfig.fw); // load CTP files ?
429  sm->masterTableLoader().setLevel( gConfig.outputlevel );
430  sm->masterTableLoader().load(*ctpc);
431  ctpc->muCTPi().setSMK( gConfig.getKey(0) );
432  sm->masterTableLoader().load( ctpc->muCTPi() );
433 
434  //log << "Retrieving HLT menu configuration and prescale set from the TriggerDB" << lineend;
435  hltFrame = new HLTFrame();
436  hltFrame->setSMK( gConfig.getKey(0) );
437  if( gConfig.getKey(2)>0 )
438  hltFrame->thePrescaleSetCollection().set_prescale_key_to_load( gConfig.getKey(2) );
439  sm->hltFrameLoader().setLevel( gConfig.outputlevel );
440  sm->hltFrameLoader().load( *hltFrame );
441 
442  smk = gConfig.getKey(0);
443  l1psk = gConfig.getKey(1);
444  hltpsk = gConfig.getKey(2);
445  bgsk = gConfig.getKey(3);
446 
447  // loading attached MCK
448  auto mckloader = new MCKLoader(*sm);
449  mckloader->loadMCKlinkedToSMK(smk, mck);
450  if ( mck != 0 ) {
451  mckloader->loadReleaseLinkedToMCK(mck,release);
452  log << "Loaded MCK " << mck << " (active for SMK " << smk << " and release " << release << ")" << endl;
453  } else {
454  log << "Did not load MCK from DB as MCK is 0 or no MCK is linked";
455  }
456 
457  }
458  /*------------------
459  * from COOL
460  *-----------------*/
461  else if (gConfig.input == JobConfig::COOL) {
462  string coolInputConnection = gConfig.coolInputConnection;
463  unsigned int runnumber = gConfig.inpar.size()>1 ? boost::lexical_cast<unsigned int,string>(gConfig.inpar[1]) : 1;
464  unsigned int lb = gConfig.inpar.size()>2 ? boost::lexical_cast<unsigned int,string>(gConfig.inpar[2]) : 0;
465  log << "TrigConfReadWrite Reading cool : " << coolInputConnection << lineend;
466  log << " run number : " << runnumber << lineend;
467  log << " lb : " << lb << lineend;
468  TrigConfCoolWriter * coolWriter = new TrigConfCoolWriter( coolInputConnection );
469  string configSource("");
470  ctpc = new CTPConfig();
471  coolWriter->readL1Payload( runnumber, *ctpc);
472 
473  PrescaleSet ps;
474  coolWriter->readL1PrescalePayload( runnumber, lb, l1psk, ps);
475  ctpc->setPrescaleSet( ps );
476 
477  // log << "L1 PSK 0 " << ps.id() << lineend;
478  // log << "L1 PSK 1 " << l1psk << lineend;
479  // log << "L1 PSK 2 " << ctpc->prescaleSet().id() << lineend;
480  // log << "L1 PSK 3 " << ctpc->prescaleSetId() << lineend; <---- does not work
481 
482  int bgKey(0);
483  coolWriter->readL1BunchGroupLBPayload( runnumber, lb, bgKey, ctpc->bunchGroupSet() );
484 
485  hltFrame = new HLTFrame();
486  coolWriter->readHLTPayload(runnumber, *hltFrame);
487 
488  if(lb!=0) {
489  HLTPrescaleSet * pss = new HLTPrescaleSet();
490  coolWriter->readHltPrescalePayload( runnumber, lb, *pss);
491  hltpsk = pss->id();
492  hltFrame->thePrescaleSetCollection().addPrescaleSet( lb, pss );
493  }
494 
495  smk = hltFrame->smk();
496  bgsk = bgKey;
497 
498  }
499 
500  if(gConfig.printlevel>=0) {
501  log << "Loaded this configuration" << lineend;
502  log << " SMK " << smk << lineend;
503  log << " L1 PSK " << l1psk << lineend;
504  log << " HLT PSK " << hltpsk << lineend;
505  log << " BGSK " << bgsk << lineend;
506  if(ctpc) ctpc->print(" ", gConfig.printlevel);
507  if(bgs) bgs->print(" ", gConfig.printlevel);
508  if(hltFrame) hltFrame->print(" ", gConfig.printlevel);
509  }
510 
511 
512  if (gConfig.input2 != JobConfig::UNDEF) {
513  CTPConfig* ctpc2(0);
514  HLTFrame* hltFrame2(0);
515 
516  /*------------------
517  * from DB
518  *-----------------*/
519  if (gConfig.input2 == JobConfig::DB) {
520  TrigConf::StorageMgr *sm = new TrigConf::StorageMgr(gConfig.db2, "", "", log);
521 
522  log << "Retrieving Lvl1 CTP configuration for comparison" << lineend;
523  ctpc2 = new TrigConf::CTPConfig();
524  ctpc2->setSMK( gConfig.getKey2(0) );
525  ctpc2->setPrescaleSetId( gConfig.getKey2(1) );
526  ctpc2->setBunchGroupSetId( gConfig.getKey2(3) );
527  sm->menuLoader().setEnv(IMenuLoader::CTP);
528  sm->masterTableLoader().setLevel(gConfig.outputlevel);
529  sm->masterTableLoader().load(*ctpc2);
530  ctpc2->muCTPi().setSMK( gConfig.getKey2(0) );
531  sm->masterTableLoader().load(ctpc2->muCTPi());
532 
533  log << "Retrieving HLT menu configuration and prescale set from the TriggerDB for comparison" << lineend;
534  hltFrame2 = new HLTFrame();
535  hltFrame2->setSMK( gConfig.getKey2(0) );
536  if( gConfig.getKey2(2)>0)
537  hltFrame2->thePrescaleSetCollection().set_prescale_key_to_load( gConfig.getKey2(2) );
538  sm->hltFrameLoader().load( *hltFrame2 );
539  delete sm;
540  } else if (gConfig.input2 == JobConfig::COOL) {
541  /*------------------
542  * from COOL
543  *-----------------*/
544  }
545 
546  if(ctpc && ctpc2) {
547  bool equalMenus = ctpc->equals(ctpc2, "LVL1config_Diff.xml");
548  if(equalMenus) {
549  log << "LVL1 menus are identical." << lineend;
550  } else {
551  log << "LVL1 menus differ. Writing LVL1 menu comparison file LVL1config_Diff.xml" << lineend;
552  }
553  }
554  if(hltFrame && hltFrame2) {
555  bool equalMenus = hltFrame->equals(hltFrame2, "HLTconfig_Diff.xml");
556  if(equalMenus) {
557  log << "HLT menus are identical." << lineend;
558  } else {
559  log << "HLT menus differ. Writing HLT menu comparison file HLTconfig_Diff.xml" << lineend;
560  }
561  }
562 
563  }
564 
565 
566  // ========================================
567  // Writing
568  // ========================================
569  if ( (gConfig.output & JobConfig::JSON) != 0 ) {
570  /*------------------
571  * to JSON
572  *-----------------*/
573  if(ctpc && l1tm) {
574  convertRun2L1MenuToRun3(ctpc, l1tm, gConfig.l1JsonOutFile);
577  }
578  if(hltFrame) {
579  convertRun2HLTMenuToRun3(hltFrame, gConfig.hltJsonOutFile);
581  }
582  }
583 
584  if ( (gConfig.output & JobConfig::COOL) != 0 ) {
585  /*------------------
586  * to COOL
587  *-----------------*/
588  log << "TrigConfReadWrite: Writing sqlite cool file : " << gConfig.coolOutputConnection << " with ";
589  if( gConfig.coolOutputRunNr==0 ) { log << "infinite IOV"; } else { log << " runNr " << gConfig.coolOutputRunNr; }
590  log << lineend;
591  TrigConfCoolWriter * coolWriter = new TrigConfCoolWriter( gConfig.coolOutputConnection );
592  string configSource("");
593  string info("");
594  unsigned int runNr = gConfig.coolOutputRunNr;
595  if(runNr == 0) { runNr = 0x80000000; } // infinite range
596 
597  if(ctpc) {
598  coolWriter->writeL1Payload(runNr, *ctpc);
599  }
600  try{
601  if(hltFrame) {
602  coolWriter->writeHLTPayload(runNr, *hltFrame, configSource);
603  }
604  }
605  catch(const cool::StorageTypeStringTooLong& e){
606  log << "FATAL: Unable to write data to COOL";
607  return 1;
608  }
609  if(mck) {
610  coolWriter->writeMCKPayload(runNr, mck, release, info);
611  }
612  }
613 
614  delete ctpc;
615  delete hltFrame;
616  if(l1tm!=nullptr)
617  delete l1tm;
618 
619  if( gConfig.jo ) {
620 
621  JobOptionTable jot;
622  unique_ptr<IStorageMgr> sm( new StorageMgr(gConfig.db,"","",log) );
623 
624  log << "TrigConfReadWrite: Retrieving JO from the TriggerDB" << lineend;
625  jot.setSMK( gConfig.getKey(0) );
626  jot.setTriggerLevel(0); // L2
628  sm->jobOptionTableLoader().load( jot );
629  if(gConfig.printlevel>0) jot.print();
630  }
631 
632 }

◆ printhelp()

void printhelp ( std::ostream &  o,
std::ostream &(*)(std::ostream &os)  lineend 
)

Definition at line 64 of file ReadWrite.cxx.

64  {
65  o << "================================================================================\n";
66  o << "The program needs to be run with the following specifications:\n" << lineend;
67  o << "TrigConfReadWrite <options>\n";
68  o << "\n";
69  o << "[Global options]\n";
70  o << " -i|--input input [input [input]] ... source of configuration, format see below (mandatory)\n";
71  o << " -2|--comp input [input [input]] ... source of a second configuration for comparison\n";
72  o << " -o|--output r3json|cool [output[;cooldb]] [run] ... output format, name (for cool optional run number)\n";
73  o << " ... absolute output file name must contain '/', cooldb can be appended COMP200|OFLP200\n";
74  o << " -v|--loglevel <string> ... log level [NIL, VERBOSE, DEBUG, INFO, WARNING, ERROR, FATAL, ALWAYS]\n";
75  o << " -l|--log <string> ... name of a log file\n";
76  o << " --jo ... read and write job options where possible\n";
77  o << " --fw ... read ctp firmware\n";
78  o << " -p|--print <int> ... print configuration with detail 0...5 (default 1)\n";
79  o << " -h|--help ... this output\n";
80  o << " --nomerge ... internally don't merge L2 and EF (by default merge is enabled)\n";
81  o << "\n\n";
82  o << "Input can be specified the following\n";
83  o << " -i <TRIGDB_ALIAS>|<TRIGDB_connection> smk[,l1psk,hltpsk,bgsk] ... to read the menu from a trigger db via alias or explicit connection specification (ORACLE or SQlite)\n";
84  o << " -i <COOLDB_ALIAS>|<COOLDB_connection>|cool.db run[,lb] ... to read the menu from COOL for a certain run and possibly LB [file names must end with '.db']\n";
85  o << "\n";
86  o << "The cool dbconnection can be specified as one of the following\n";
87  o << " - via alias : COOLONL_TRIGGER (use COOLONL_TRIGGER/COMP200 for Run 1 data)";
88  o << " - from sqlite : cool.db (use cool.db;COMP200 for Run 1 data)";
89  o << "\n";
90  o << "\n";
91  o << "Input for comparison can be specified the same way, using the '-2' or '--comp' option\n";
92  o << "\n";
93  o << "\n";
94  o << "Output formats can be json or cool. In case a second input is specified for comparison, the output will be on screen or an xml file with the differences\n";
95  o << " -o r3json [<test>] ... will produce Run 3 config files L1PrescalesSet[_<test>].json, BunchGroupSet[_<test>].json, L1Menu[_<test>].json, HLTPrescalesSet[_<test>].json, and HLTMenu[_<test>].json\n";
96  o << " -o cool ... will produce trig_cool.db with cool db instance CONDBR2 and infinite IOV\n";
97  o << " -o cool 200000 ... will produce trig_cool.db with cool db instance CONDBR2 and run number 200000\n";
98  o << " -o cool test [200000] ... will produce trig_cool_test.db with cool db instance CONDBR2 [and run number 200000]\n";
99  o << " -o cool ../test.db [200000] ... will produce ../test.db with cool db instance CONDBR2 [and run number 200000]\n";
100  o << " -o cool 'test;COMP200' [200000] ... will produce Menu_test.db with cool db instance COMP200 [and run number 200000]\n";
101  o << "\n";
102  o << "================================================================================\n";
103 }
grepfile.info
info
Definition: grepfile.py:38
TrigConf::BunchGroupSet
Definition: BunchGroupSet.h:19
JobConfig::error
vector< string > error
Definition: CoolFix.cxx:105
convertRun2BunchGroupsToRun3
void convertRun2BunchGroupsToRun3(const TrigConf::CTPConfig *ctpConfig, const std::string &filename, bool writeTmpFile)
Run 2 to Run 3 bunchgroup converter.
Definition: Run2toRun3ConvertersL1.cxx:470
TrigConf::PrescaleSet
Definition: PrescaleSet.h:22
JobConfig::help
bool help
Definition: CoolFix.cxx:101
TrigConf::TrigConfCoolWriter::readHLTPayload
void readHLTPayload(unsigned int run, HLTFrame &hltFrame)
Definition: TrigConfCoolWriter.cxx:1252
TrigConf::StorageMgr::jobOptionTableLoader
virtual IJobOptionTableLoader & jobOptionTableLoader() override
Definition: StorageMgr.cxx:230
JobConfig::PrintSetup
void PrintSetup()
Definition: CoolFix.cxx:225
TrigConf::StorageMgr::hltFrameLoader
virtual IHLTFrameLoader & hltFrameLoader() override
Definition: StorageMgr.cxx:225
RunEBWeightsComputation.smk
smk
Definition: RunEBWeightsComputation.py:87
convertRun2HLTPrescalesToRun3
void convertRun2HLTPrescalesToRun3(const TrigConf::HLTFrame *frame, const std::string &filename)
Definition: Run2toRun3ConvertersHLT.cxx:172
TrigConf::MCKLoader
Definition: MCKLoader.h:15
printhelp
void printhelp(std::ostream &o, std::ostream &(*lineend)(std::ostream &os))
Definition: ReadWrite.cxx:64
TrigConf::StorageMgr::menuLoader
virtual IMenuLoader & menuLoader() override
Definition: StorageMgr.cxx:120
TrigConf::IMasterTableLoader::load
virtual bool load(ThresholdConfig &thrcfg)=0
Load the LVL1 trigger thresholds from the configuration source.
JobConfig::inpar
std::vector< std::string > inpar
Definition: ReadWrite.cxx:109
JobConfig::l1PSJsonOutFile
string l1PSJsonOutFile
Definition: ReadWrite.cxx:120
TrigConf::JobOptionTable::print
void print(const std::string &indent="", unsigned int detail=1) const override
print method
Definition: JobOptionTable.cxx:24
LArCellConditions.argv
argv
Definition: LArCellConditions.py:112
TrigConf::TrigConfCoolWriter::readL1PrescalePayload
void readL1PrescalePayload(unsigned int runNumber, unsigned int lumiblockNumber, unsigned int &lvl1PrescaleKey, TrigConf::PrescaleSet &prescale)
Reading luminosityblock-wise configuration information the COOL database.
Definition: TrigConfCoolWriter.cxx:1639
JobConfig::outputlevel
MSGTC::Level outputlevel
Definition: CoolFix.cxx:103
TrigConf::JobOptionTable
table to hold the complete list of JobOption entries for a single configuration, from which the JobOp...
Definition: JobOptionTable.h:20
TrigConf::TrigConfCoolWriter::writeMCKPayload
void writeMCKPayload(ValidityRange vr, unsigned int mck, std::string &release, std::string &info)
Definition: TrigConfCoolWriter.cxx:428
TrigConf::TrigConfCoolWriter::readHltPrescalePayload
void readHltPrescalePayload(unsigned int runNumber, unsigned int lumiblockNumber, TrigConf::HLTPrescaleSet &pss)
Reading luminosityblock-wise configuration information the COOL database.
Definition: TrigConfCoolWriter.cxx:1118
TrigConf::StorageMgr
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition: StorageMgr.h:23
JobConfig::logFileName
string logFileName
Definition: ReadWrite.cxx:134
JobConfig::coolOutputConnection
string coolOutputConnection
Definition: ReadWrite.cxx:125
python.output.AtlRunQueryRoot.runNr
runNr
Definition: AtlRunQueryRoot.py:989
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
JobConfig::jo
bool jo
Definition: ReadWrite.cxx:132
JobConfig::DB
@ DB
Definition: ReadWrite.cxx:106
JobConfig::UNDEF
@ UNDEF
Definition: ReadWrite.cxx:106
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:88
JobConfig
Definition: CoolFix.cxx:83
JobConfig::getKey2
unsigned int getKey2(unsigned int which)
Definition: ReadWrite.cxx:147
JobConfig::input
Format input
Definition: ReadWrite.cxx:111
TrigConf::TrigConfData::setSMK
void setSMK(int id)
Definition: TrigConfData.h:28
JobConfig::input2
Format input2
Definition: ReadWrite.cxx:112
convertRun2L1MenuToRun3
void convertRun2L1MenuToRun3(const TrigConf::CTPConfig *ctpConfig, const TXC::L1TopoMenu *topoMenu, const std::string &filename, bool writeTmpFile)
Conversion of L1 menu.
Definition: Run2toRun3ConvertersL1.cxx:78
JobConfig::coolInputConnection
string coolInputConnection
Definition: ReadWrite.cxx:124
JobConfig::COOL
@ COOL
Definition: ReadWrite.cxx:106
JobConfig::printlevel
int printlevel
Definition: CoolFix.cxx:102
JobConfig::getKey
unsigned int getKey(unsigned int which)
Definition: ReadWrite.cxx:145
TrigConf::ILoader::setLevel
virtual void setLevel(MSGTC::Level lvl)=0
Load the configuration data from the configuration source.
DQHistogramMergeRegExp.argc
argc
Definition: DQHistogramMergeRegExp.py:20
JobConfig::coolOutputRunNr
unsigned int coolOutputRunNr
Definition: ReadWrite.cxx:126
TrigConf::TrigConfCoolWriter::readL1BunchGroupLBPayload
void readL1BunchGroupLBPayload(unsigned int runNumber, unsigned int lumiblockNumber, int &bgKey, TrigConf::BunchGroupSet &bgs)
Reading lb-wise bunch group configuration information from COOL database.
Definition: TrigConfCoolWriter.cxx:1579
TrigConf::HLTPrescaleSet
HLT chain configuration information.
Definition: HLTPrescaleSet.h:31
TrigConf::TrigConfCoolWriter::writeL1Payload
void writeL1Payload(ValidityRange vr, const CTPConfig &ctpConfig)
Definition: TrigConfCoolWriter.cxx:307
convertRun2L1PrescalesToRun3
void convertRun2L1PrescalesToRun3(const TrigConf::CTPConfig *ctpConfig, const std::string &filename, bool writeTmpFile)
Conversion of L1 prescales set.
Definition: Run2toRun3ConvertersL1.cxx:519
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
DeMoScan.runnumber
runnumber
Definition: DeMoScan.py:266
TrigConf::StorageMgr::masterTableLoader
virtual IMasterTableLoader & masterTableLoader() override
Definition: StorageMgr.cxx:115
TrigConf::JobOptionTable::setTriggerLevel
void setTriggerLevel(int level)
setter of the trigger level
Definition: JobOptionTable.h:35
JobConfig::hltJsonOutFile
string hltJsonOutFile
Definition: ReadWrite.cxx:121
python.EventInfoMgtInit.release
release
Definition: EventInfoMgtInit.py:24
TrigConf::TrigConfData::id
unsigned int id() const
Definition: TrigConfData.h:21
TXC::L1TopoMenu::setSMK
void setSMK(const unsigned int &smk)
Definition: L1TopoMenu.h:63
TrigConf::TrigConfCoolWriter::readL1Payload
void readL1Payload(unsigned int run, CTPConfig &ctpc)
Definition: TrigConfCoolWriter.cxx:1306
JobConfig::fw
bool fw
Definition: ReadWrite.cxx:133
TrigConf::IMenuLoader::setEnv
virtual void setEnv(ENV env)=0
LArNewCalib_Delay_OFC_Cali.check
check
Definition: LArNewCalib_Delay_OFC_Cali.py:208
convertRun2HLTMenuToRun3
void convertRun2HLTMenuToRun3(const TrigConf::HLTFrame *frame, const std::string &filename)
Definition: Run2toRun3ConvertersHLT.cxx:163
TrigConf::HLTFrame
The HLT trigger menu,.
Definition: HLTFrame.h:33
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
JobConfig::CheckForCompleteSetup
string CheckForCompleteSetup()
Definition: ReadWrite.cxx:303
TrigConf::TrigConfCoolWriter
Reading/Writing of trigger configuration data from/to COOL.
Definition: TrigConfCoolWriter.h:95
TrigConf::TrigConfCoolWriter::writeHLTPayload
void writeHLTPayload(ValidityRange vr, const HLTFrame &hltFrame, const std::string &configSource)
Definition: TrigConfCoolWriter.cxx:326
JobConfig::bgkJsonOutFile
string bgkJsonOutFile
Definition: ReadWrite.cxx:119
JobConfig::l1JsonOutFile
string l1JsonOutFile
Definition: ReadWrite.cxx:118
JobConfig::JSON
@ JSON
Definition: ReadWrite.cxx:106
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
JobConfig::output
unsigned int output
Definition: ReadWrite.cxx:113
TrigConf::CTPConfig
Definition: CTPConfig.h:27
xAOD::l1psk
l1psk
Definition: TriggerMenu_v1.cxx:29
TrigConf::IJobOptionTableLoader::load
virtual bool load(JobOptionTable &data)=0
TrigConf::IHLTFrameLoader::load
virtual bool load(HLTFrame &data)=0
logParser.logerr
def logerr(out1, out2)
Definition: logParser.py:475
JobConfig::parseProgramOptions
int parseProgramOptions(int argc, char *argv[])
Definition: CoolFix.cxx:116
TXC::L1TopoMenu
Definition: L1TopoMenu.h:25
JobConfig::db
string db
Definition: ReadWrite.cxx:114
JobConfig::hltPSJsonOutFile
string hltPSJsonOutFile
Definition: ReadWrite.cxx:122
JobConfig::db2
string db2
Definition: ReadWrite.cxx:114