ATLAS Offline Software
Functions
trigbs_failedStreamSelection Namespace Reference
Functions
def
empty_writer
()
Function Documentation
◆
empty_writer()
def trigbs_failedStreamSelection.empty_writer
(
)
Creates an empty BSfile
Definition at line
9
of file
trigbs_failedStreamSelection.py
.
9
def
empty_writer
():
10
"""Creates an empty BSfile"""
11
12
import
eformat
13
#retrieve input BSFile and corresponding runNumber
14
inputFile = sys.argv[1]
15
runnumber = eformat.EventStorage.pickDataReader(inputFile).
runNumber
()
16
#create the empty BSFile with the name: 'T0debug.runnumber.unknown_debug.unknown.RAW._lb0000._TRF._0001.data'
17
of = eformat.EventStorage.RawFileName(
'T0debug'
,runnumber,
'unknown'
,
'debug'
,0,
'TRF'
,
'unknown'
)
18
eformat.ostream(directory=
'.'
, core_name=of.fileNameCore())
19
sys.exit(0)
20
trigbs_failedStreamSelection.empty_writer
def empty_writer()
Definition:
trigbs_failedStreamSelection.py:9
DeMoAtlasDataLoss.runNumber
string runNumber
Definition:
DeMoAtlasDataLoss.py:64
Generated on Thu Nov 7 2024 22:27:15 for ATLAS Offline Software by
1.8.18