CMS 3D CMS Logo

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

Functions

def usage
 

Variables

tuple a = FWIncantation()
 
string authpath = "/afs/cern.ch/cms/DB/conddb"
 
tuple db = rdbms.getReadOnlyDB(dbName)
 
string dbName = "frontier://FrontierProd/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 13 of file EcalCondDB.py.

References print().

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

Variable Documentation

tuple EcalCondDB.a = FWIncantation()

Definition at line 150 of file EcalCondDB.py.

EcalCondDB.authpath = "/afs/cern.ch/cms/DB/conddb"

Definition at line 79 of file EcalCondDB.py.

Referenced by lumi::service::DBService.DBService(), LumiCorrectionSource.LumiCorrectionSource(), and lumi::DataPipe.setAuthPath().

tuple EcalCondDB.db = rdbms.getReadOnlyDB(dbName)

Definition at line 153 of file EcalCondDB.py.

Referenced by EcalSRCondTools.analyze(), SiPixelGenErrorDBObjectReader.analyze(), DiamondSampicCalibrationDQMSource.analyze(), HcalTrigPrimDigiProducer.beginRun(), PPSDiamondSampicTimingCalibrationPCLHarvester.calibDb(), PPSDiamondSampicTimingCalibrationPCLHarvester.calibJson(), l1t::CaloConfigHelper.CaloConfigHelper(), SiStripCommissioningOfflineDbClient.createHistos(), TEveEllipsoidProjectedGL.DrawRhoZ(), EcalCondDBReader.EcalCondDBReader(), EcalCondDBWriter.EcalCondDBWriter(), Fit_MaximumPoint(), HcalLutManager.get_brickSet_from_oracle(), HcalFeatureHFEMBit.getE(), HcalQIEManager.getHfQieTable(), HcalLutManager.getLutFromXml_old(), HcalQIEManager.getTableFromDb(), HcalLutManager.init(), edm::service::LoadAllDictionaries.LoadAllDictionaries(), main(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), PFTauElecRejectionBenchmarkAnalyzer.PFTauElecRejectionBenchmarkAnalyzer(), HiEvtPlaneFlatProducer.produce(), EvtPlaneProducer.produce(), publishObjects(), SiPixelGenError.pushfile(), SiPixelTemplate2D.pushfile(), SiPixelTemplate.pushfile(), HcalLutManager.read_luts(), HcalZeroSuppressionAlgo.setDbService(), HcalLutManager.test_xml_access(), TotemTimingConversions.timeOfFirstSample(), TotemTimingConversions.timePrecision(), l1t::CaloConfigHelper.UpdatePayload(), TotemTimingConversions.voltSamples(), and HcalLutManager.~HcalLutManager().

EcalCondDB.dbName = "frontier://FrontierProd/CMS_COND_31X_ECAL"

Definition at line 78 of file EcalCondDB.py.

int EcalCondDB.do_comp = 0

Definition at line 90 of file EcalCondDB.py.

int EcalCondDB.do_dump = 0

Definition at line 88 of file EcalCondDB.py.

int EcalCondDB.do_hist = 0

Definition at line 91 of file EcalCondDB.py.

int EcalCondDB.do_liio = 0

Definition at line 87 of file EcalCondDB.py.

int EcalCondDB.do_list = 0

Definition at line 86 of file EcalCondDB.py.

int EcalCondDB.do_plot = 0

Definition at line 89 of file EcalCondDB.py.

string EcalCondDB.inf = "4294967295"

Definition at line 96 of file EcalCondDB.py.

Referenced by DTTrigPhase2Prod.assignIndexPerBX(), HFShower.compute(), HDShower.compute(), main(), ParametrizedSubtractor.ParametrizedSubtractor(), PFResolutionMap.ReadMapFile(), and FedRawDataInputSource.readSupervisor().

EcalCondDB.outfilename = None

Definition at line 93 of file EcalCondDB.py.

Referenced by WriteL1TriggerObjectsTxt.analyze(), and gen::BaseHadronizer.generateLHE().

tuple EcalCondDB.rdbms = RDBMS(authpath)

Definition at line 152 of file EcalCondDB.py.

list EcalCondDB.sinces = []

Definition at line 82 of file EcalCondDB.py.

Referenced by cond::persistency.importIovs().

list EcalCondDB.tags = []

Definition at line 81 of file EcalCondDB.py.