ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileCalib
TileCalibBlobPython
scripts
Namespaces
|
Variables
ReadFromCrestCompare.py File Reference
Go to the source code of this file.
Namespaces
namespace
ReadFromCrestCompare
Variables
ReadFromCrestCompare.parser
ReadFromCrestCompare.type
ReadFromCrestCompare.int
ReadFromCrestCompare.default
ReadFromCrestCompare.help
ReadFromCrestCompare.dest
ReadFromCrestCompare.float
ReadFromCrestCompare.action
ReadFromCrestCompare.args
= parser.parse_args()
ReadFromCrestCompare.run
= args.run
int
ReadFromCrestCompare.run2
= 0 else
run
ReadFromCrestCompare.lumi
= args.lumi
int
ReadFromCrestCompare.lumi2
= 0 else
lumi
ReadFromCrestCompare.folderPath
= args.folder
str
ReadFromCrestCompare.folderPath2
= "none" else
folderPath
ReadFromCrestCompare.tag
= args.tag
str
ReadFromCrestCompare.tag2
= "none" else
tag
ReadFromCrestCompare.schema
= args.schema
str
ReadFromCrestCompare.schema2
= "none" else
schema
ReadFromCrestCompare.jsonfn
= args.jsonfn
str
ReadFromCrestCompare.jsonfn2
= "same" else
jsonfn
ReadFromCrestCompare.maxdiff
= args.maxdiff
ReadFromCrestCompare.maxdiffpercent
= args.maxdiffpercent
ReadFromCrestCompare.print_to_stdout
= args.stdout
ReadFromCrestCompare.log
= getLogger("ReadFromCrest")
ReadFromCrestCompare.db
=
jsonfn
str
ReadFromCrestCompare.db2
=
jsonfn2
ReadFromCrestCompare.f
= open('output_crest.ascii', 'w')
ReadFromCrestCompare.fd
= open('from_%d_to_%d.dif'%(
run2
,
run
), 'w')
bool
ReadFromCrestCompare.writedif
=
True
ReadFromCrestCompare.blobReader
= TileCalibCrest.TileBlobReaderCrest(
db
,
folderPath
,
tag
,
run
,
lumi
)
ReadFromCrestCompare.blobReader2
= TileCalibCrest.TileBlobReaderCrest(
db2
,
folderPath2
,
tag2
,
run2
,
lumi2
)
int
ReadFromCrestCompare.ros
= 1
int
ReadFromCrestCompare.drawer
= 0
ReadFromCrestCompare.flt
=
None
int
ReadFromCrestCompare.r
= 5
int
ReadFromCrestCompare.d
= 0
ReadFromCrestCompare.ot
= flt.getObjType()
ReadFromCrestCompare.ov
= flt.getObjVersion()
int
ReadFromCrestCompare.os
= flt.getObjSizeByte()//4
ReadFromCrestCompare.no
= flt.getNObjs()
ReadFromCrestCompare.nc
= flt.getNChans()
ReadFromCrestCompare.ng
= flt.getNGains()
ReadFromCrestCompare.flt2
=
None
ReadFromCrestCompare.ot2
= flt2.getObjType()
int
ReadFromCrestCompare.os2
= flt2.getObjSizeByte()//4
ReadFromCrestCompare.answ
= input(' continue anyway? (
y
/n)')
list
ReadFromCrestCompare.v
= []
list
ReadFromCrestCompare.v2
= []
ReadFromCrestCompare.modName
=
TileCalibUtils.getDrawerString
(
ros
,mod)
int
ReadFromCrestCompare.osc
= flt.getObjSizeByte()//4
int
ReadFromCrestCompare.os2c
= flt2.getObjSizeByte()//4
ReadFromCrestCompare.oscMax
=
max
(
osc
,
os2c
)
str
ReadFromCrestCompare.chnName
= " %2i" % chn
list
ReadFromCrestCompare.dv12
=
v
[ind] -
v2
[ind]
int
ReadFromCrestCompare.dv12percent
= 0
str
ReadFromCrestCompare.line
= '%s chann %2
d
adc %
d
ind %
d
val1 %
d
val2 %
d
diff
%
d
' % (
modName
,chn,adc,ind,
v
[ind],
v2
[ind],
dv12
)
Generated on
for ATLAS Offline Software by
1.17.0