Functions | |
def | usage |
Variables | |
tuple | a = FWIncantation() |
string | authpath = "/afs/cern.ch/cms/DB/conddb" |
tuple | db = rdbms.getDB(dbName) |
string | dbName = "oracle://cms_orcoff_prod/CMS_COND_31X_ECAL" |
int | do_comp = 0 |
int | do_dump = 0 |
int | do_hist = 0 |
int | do_liio = 0 |
int | do_list = 0 |
int | do_plot = 0 |
string | inf = "4294967295" |
outfilename = None | |
tuple | rdbms = RDBMS(authpath) |
list | sinces = [] |
list | tags = [] |
def EcalCondDB::usage | ( | ) |
Definition at line 11 of file EcalCondDB.py.
00012 : 00013 print 00014 print "NAME " 00015 print " EcalCondDB - inpect EcalCondDB" 00016 print 00017 print "SYNOPSIS" 00018 print " EcalCondDB [options] [command] [command_options]" 00019 print 00020 print "OPTIONS" 00021 print 00022 print "Specify short options as '-o foo', long options as '--option=foo'" 00023 print 00024 print " -c, --connect= [connectstring]" 00025 print " specify database, default oracle://cms_orcoff_prod/CMS_COND_31X_ECAL" 00026 print 00027 print " -P, --authpath= [authenticationpath], default /afs/cern.ch/cms/DB/conddb " 00028 print 00029 print "COMMAND OPTIONS" 00030 print 00031 print " -t, --tag= [tag,file] specify tag or xml file (histo,compare)" 00032 print 00033 print " -s, --since= [runnumber] specify since" 00034 00035 print "COMMANDS" 00036 00037 print " -l, --listtags list all tags and exit" 00038 print 00039 print " -m, --listiovs list iovs for a given tag" 00040 print " Example EcalCondDB.py -t tag" 00041 print 00042 print " -d, --dump= [file] dump record to xml file" 00043 print " Example EcalCondDB.py -d=file.xml -t tag -s since" 00044 print 00045 print " -p, --plot= [file] plot record to file, extension specifies ",\ 00046 "format (.root,.png,.jpg,.gif,.svg)" 00047 print " Example: EcalCondDB.py -p=plot.png -t tag -s since" 00048 print 00049 00050 print " -q, --compare= [file]" 00051 print " compare two tags and write histograms to file, extension",\ 00052 " specifies format." 00053 print " Example:" 00054 print " EcalCondDB -q=h.root -t tag1 -s since1 -t tag2 -s since2" 00055 print 00056 print " -g, --histo= [file] make histograms and write to file" 00057 print " Example : " 00058 print " EcalCondDB -g=h.png -t tag1 -s since1 " 00059 print 00060 00061 try: 00062 opts, args = getopt.getopt(sys.argv[1:], 00063 "c:P:t:ld:p:q:g:ms:h", 00064 ["connect=","authpath=","tag=","listtags",\ 00065 "dump=","plot=","compare=","histo=","listiovs",\ 00066 "since=","help"]) 00067 00068 if not len(opts): 00069 usage() 00070 sys.exit(0)
tuple EcalCondDB::a = FWIncantation() |
Definition at line 148 of file EcalCondDB.py.
EcalCondDB::authpath = "/afs/cern.ch/cms/DB/conddb" |
Definition at line 77 of file EcalCondDB.py.
Referenced by lumi::service::DBService::DBService(), and lumi::DataPipe::setAuthPath().
tuple EcalCondDB::db = rdbms.getDB(dbName) |
Definition at line 151 of file EcalCondDB.py.
Referenced by EcalSRCondTools::analyze(), SiStripCommissioningOfflineDbClient::createHistos(), cond::IOVService::deleteAll(), Fit_MaximumPoint(), HcalLutManager::get_brickSet_from_oracle(), HcalQIEManager::getHfQieTable(), DBlmapReader::GetLMAP(), HcalLutManager::getLutFromXml_old(), HcalQIEManager::getTableFromDb(), HcalLutManager::init(), edm::RootAutoLibraryLoader::loadAll(), edm::service::LoadAllDictionaries::LoadAllDictionaries(), main(), cond::PayLoadInspector< DataT >::PayLoadInspector(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::PerformAnalyticFit(), PFTauElecRejectionBenchmarkAnalyzer::PFTauElecRejectionBenchmarkAnalyzer(), HcalZSAlgoEnergy::prepare(), produce_impl(), publishObjects(), SiPixelTemplate::pushfile(), HcalLutManager::read_luts(), HcalZeroSuppressionAlgo::setDbService(), HcalLutManager::test_xml_access(), and HcalLutManager::~HcalLutManager().
EcalCondDB::dbName = "oracle://cms_orcoff_prod/CMS_COND_31X_ECAL" |
Definition at line 76 of file EcalCondDB.py.
int EcalCondDB::do_comp = 0 |
Definition at line 88 of file EcalCondDB.py.
int EcalCondDB::do_dump = 0 |
Definition at line 86 of file EcalCondDB.py.
int EcalCondDB::do_hist = 0 |
Definition at line 89 of file EcalCondDB.py.
int EcalCondDB::do_liio = 0 |
Definition at line 85 of file EcalCondDB.py.
int EcalCondDB::do_list = 0 |
Definition at line 84 of file EcalCondDB.py.
int EcalCondDB::do_plot = 0 |
Definition at line 87 of file EcalCondDB.py.
string EcalCondDB::inf = "4294967295" |
Definition at line 94 of file EcalCondDB.py.
Referenced by HFShower::compute(), HDShower::compute(), main(), ParametrizedSubtractor::ParametrizedSubtractor(), and PFResolutionMap::ReadMapFile().
EcalCondDB::outfilename = None |
Definition at line 91 of file EcalCondDB.py.
Referenced by PFRootEventManager::readOptions().
tuple EcalCondDB::rdbms = RDBMS(authpath) |
Definition at line 150 of file EcalCondDB.py.
list EcalCondDB::sinces = [] |
Definition at line 80 of file EcalCondDB.py.
list EcalCondDB::tags = [] |
Definition at line 79 of file EcalCondDB.py.