ATLAS Offline Software
Loading...
Searching...
No Matches
DumpLArRunFormat.py
Go to the documentation of this file.
1#!/bin/env python
2
3import sys
4if len(sys.argv)!=2:
5 print("Syntax",sys.argv[0],'<run>')
6 sys.exit(-1)
7run=int(sys.argv[1])
8
10
11myformat=getLArFormatForRun(run)
12
13if (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()))
15else:
16 print(" LAr run infomation not available")
void print(char *figname, TCanvas *c1)