ATLAS Offline Software
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"
)
CaloCellPos2Ntuple.int
int
Definition:
CaloCellPos2Ntuple.py:24
LArRunFormat
print
void print(char *figname, TCanvas *c1)
Definition:
TRTCalib_StrawStatusPlots.cxx:25
python.LArRunFormat.getLArFormatForRun
def getLArFormatForRun(run, quiet=False, connstring="COOLONL_LAR/CONDBR2")
Definition:
LArRunFormat.py:58
Generated on Fri Jan 10 2025 21:09:25 for ATLAS Offline Software by
1.8.18