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