Definition at line 11 of file EcalCondDB.py.
References EcalCondTools.compare(), EcalCondTools.dumpXML(), spr.find(), EcalCondTools.histo(), EcalCondTools.listIovs(), EcalCondTools.listTags(), and EcalCondTools.plot().
14 print " EcalCondDB - inpect EcalCondDB" 17 print " EcalCondDB [options] [command] [command_options]" 21 print "Specify short options as '-o foo', long options as '--option=foo'" 23 print " -c, --connect= [connectstring]" 24 print " specify database, default frontier://FrontierProd/CMS_COND_31X_ECAL" 26 print " -P, --authpath= [authenticationpath], default /afs/cern.ch/cms/DB/conddb " 28 print "COMMAND OPTIONS" 30 print " -t, --tag= [tag,file] specify tag or xml file (histo,compare)" 32 print " -s, --since= [runnumber] specify since" 36 print " -l, --listtags list all tags and exit" 38 print " -m, --listiovs list iovs for a given tag" 39 print " Example EcalCondDB.py -t tag" 41 print " -d, --dump= [file] dump record to xml file" 42 print " Example EcalCondDB.py -d file.xml -t tag -s since" 44 print " -p, --plot= [file] plot record to file, extension specifies ",\
45 "format (.root,.png,.jpg,.gif,.svg)" 46 print " Example: EcalCondDB.py -p=plot.png -t tag -s since" 49 print " -q, --compare= [file]" 50 print " compare two tags and write histograms to file, extension",\
53 print " EcalCondDB -q=h.root -t tag1 -s since1 -t tag2 -s since2" 55 print " -g, --histo= [file] make histograms and write to file" 57 print " EcalCondDB -g=h.png -t tag1 -s since1 " 61 opts, args = getopt.getopt(sys.argv[1:],
62 "c:P:t:ld:p:q:g:ms:h",
63 [
"connect=",
"authpath=",
"tag=",
"listtags",\
64 "dump=",
"plot=",
"compare=",
"histo=",
"listiovs",\