CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
EcalCondDB Namespace Reference

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 = []
 

Function Documentation

def EcalCondDB.usage ( )

Definition at line 11 of file EcalCondDB.py.

11 
12 def usage():
13  print
14  print "NAME "
15  print " EcalCondDB - inpect EcalCondDB"
16  print
17  print "SYNOPSIS"
18  print " EcalCondDB [options] [command] [command_options]"
19  print
20  print "OPTIONS"
21  print
22  print "Specify short options as '-o foo', long options as '--option=foo'"
23  print
24  print " -c, --connect= [connectstring]"
25  print " specify database, default oracle://cms_orcoff_prod/CMS_COND_31X_ECAL"
26  print
27  print " -P, --authpath= [authenticationpath], default /afs/cern.ch/cms/DB/conddb "
28  print
29  print "COMMAND OPTIONS"
30  print
31  print " -t, --tag= [tag,file] specify tag or xml file (histo,compare)"
32  print
33  print " -s, --since= [runnumber] specify since"
34 
35  print "COMMANDS"
36 
37  print " -l, --listtags list all tags and exit"
38  print
39  print " -m, --listiovs list iovs for a given tag"
40  print " Example EcalCondDB.py -t tag"
41  print
42  print " -d, --dump= [file] dump record to xml file"
43  print " Example EcalCondDB.py -d=file.xml -t tag -s since"
44  print
45  print " -p, --plot= [file] plot record to file, extension specifies ",\
46  "format (.root,.png,.jpg,.gif,.svg)"
47  print " Example: EcalCondDB.py -p=plot.png -t tag -s since"
48  print
49 
50  print " -q, --compare= [file]"
51  print " compare two tags and write histograms to file, extension",\
52  " specifies format."
53  print " Example:"
54  print " EcalCondDB -q=h.root -t tag1 -s since1 -t tag2 -s since2"
55  print
56  print " -g, --histo= [file] make histograms and write to file"
57  print " Example : "
58  print " EcalCondDB -g=h.png -t tag1 -s since1 "
59  print
60 
61 try:
62  opts, args = getopt.getopt(sys.argv[1:],
63  "c:P:t:ld:p:q:g:ms:h",
64  ["connect=","authpath=","tag=","listtags",\
65  "dump=","plot=","compare=","histo=","listiovs",\
66  "since=","help"])
67 
68  if not len(opts):
69  usage()
70  sys.exit(0)

Variable Documentation

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::IOVSchemaUtility.createIOVContainer(), cond::IOVSchemaUtility.createPayloadContainer(), TEveEllipsoidProjectedGL.DrawRhoZ(), cond::IOVSchemaUtility.dropAll(), cond::IOVSchemaUtility.dropIOVContainer(), cond::IOVSchemaUtility.dropPayloadContainer(), cond::IOVSchemaUtility.existsIOVContainer(), 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(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), PFTauElecRejectionBenchmarkAnalyzer.PFTauElecRejectionBenchmarkAnalyzer(), HcalZSAlgoEnergy.prepare(), produce_impl(), publishObjects(), SiPixelTemplate2D.pushfile(), SiStripTemplate.pushfile(), 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.