ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArExample
LArConditionsCommon
share
DumpLArRunFormat.py
Go to the documentation of this file.
1
#!/bin/env python
2
3
import
sys
4
if
len(sys.argv)!=2:
5
print
(
"Syntax"
,sys.argv[0],
'<run>'
)
6
sys.exit(-1)
7
run=int(sys.argv[1])
8
9
from
LArConditionsCommon.LArRunFormat
import
*
10
11
myformat=getLArFormatForRun(run)
12
13
if
(myformat
is
not
None
):
14
print
(
" LAr run configuration: Nsamples:%d GainType:%d Latency:%d FirstSample:%d Format:%s runType:%s"
% (myformat.nSamples(),myformat.gainType(),myformat.latency(),myformat.firstSample(),myformat.stringFormat(),myformat.stringRunType()))
15
else
:
16
print
(
" LAr run infomation not available"
)
print
void print(char *figname, TCanvas *c1)
Definition
TRTCalib_StrawStatusPlots.cxx:26
LArRunFormat
Generated on
for ATLAS Offline Software by
1.14.0