ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBCnv
share
CheckBCIDs.py
Go to the documentation of this file.
1
# Location & number of raw data file:
2
#runnumber=1000613
3
runnumber= 1000536
4
#runnumber = 1000855
5
RawDataDir=
"/castor/cern.ch/atlas/testbeam/combined/2004/"
6
#RawDataDir="/data/calo"
7
RawDataFilePrefix=
"daq_SFI-51_calo"
8
9
#include( "AthenaCommon/Atlas.UnixStandardJob.py" )
10
11
12
include(
"ByteStreamCnvSvc/TBEventSelector_jobOptions.py"
)
13
# File location:
14
ByteStreamInputSvc=Service(
"ByteStreamInputSvc"
)
15
ByteStreamInputSvc.InputDirectory += [RawDataDir]
16
ByteStreamInputSvc.FilePrefix += [RawDataFilePrefix]
17
ByteStreamInputSvc.RunNumber = [runnumber]
18
19
theApp.Dlls+=[
"TBCnv"
]
20
theApp.TopAlg+=[
"TBCheckBCIDs"
]
21
TBCheckBCIDs=Algorithm(
"TBCheckBCIDs"
)
22
TBCheckBCIDs.OutputLevel=DEBUG
23
24
25
# -- use root histos --
26
theApp.Dlls += [
"RootHistCnv"
]
27
theApp.HistogramPersistency =
"ROOT"
28
NTupleSvc = Service(
"NTupleSvc"
)
29
#NTOutputFileString="FILE1 DATAFILE='%(file)s' OPT='NEW'" % {"file" : NTOutputFileName}
30
NTupleSvc.Output = [
"FILE1 DATAFILE='BCIDS.root' OPT='NEW'"
]
31
#NTupleSvc.Output = [NTOutputFileString]
32
#NTupleSvc.OutputLevel=DEBUG
33
34
# Number of events to be processed (default is 10)
35
theApp.EvtMax = 100
36
37
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
38
MessageSvc = Service(
"MessageSvc"
)
39
MessageSvc.OutputLevel = ERROR
40
41
# Don't print event number each event
42
#AthenaEventLoopMgr = Service( "AthenaEventLoopMgr" )
43
#AthenaEventLoopMgr.OutputLevel = WARNING
44
45
46
47
48
Generated on
for ATLAS Offline Software by
1.17.0