Variables
runDAQ2RawDigit Namespace Reference

Variables

 inFile = sys.argv[1]
 
 samweb = samweb_client.SAMWebClient(experiment='nova')
 
 metadata = samweb.getMetadata(inFile)
 
 runNum = metadata["runs"][0][0]
 
 subNum = metadata["runs"][0][1]
 
 stream = int(metadata["data_stream"])
 
 detector = metadata["online.detector"].lower()
 
 release = os.environ["SRT_BASE_RELEASE"]
 
 file_type = metadata["file_type"]
 
string dataFlag = "data"
 
string outName = '{0}_r{1:08d}_s{2:02d}_t{3:02d}_{4}_v1_{5}.daq.root'
 
list cmdList = ['nova']
 
string cmd = ' '
 
 retCode = check_call(cmdList)
 

Variable Documentation

string runDAQ2RawDigit.cmd = ' '

Definition at line 80 of file runDAQ2RawDigit.py.

list runDAQ2RawDigit.cmdList = ['nova']

Definition at line 68 of file runDAQ2RawDigit.py.

string runDAQ2RawDigit.dataFlag = "data"

Definition at line 57 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.detector = metadata["online.detector"].lower()

Definition at line 39 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.file_type = metadata["file_type"]

Definition at line 51 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.inFile = sys.argv[1]

Definition at line 12 of file runDAQ2RawDigit.py.

dictionary runDAQ2RawDigit.metadata = samweb.getMetadata(inFile)

Definition at line 16 of file runDAQ2RawDigit.py.

string runDAQ2RawDigit.outName = '{0}_r{1:08d}_s{2:02d}_t{3:02d}_{4}_v1_{5}.daq.root'

Definition at line 64 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.release = os.environ["SRT_BASE_RELEASE"]

Definition at line 45 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.retCode = check_call(cmdList)

Definition at line 84 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.runNum = metadata["runs"][0][0]

Definition at line 26 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.samweb = samweb_client.SAMWebClient(experiment='nova')

Definition at line 14 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.stream = int(metadata["data_stream"])

Definition at line 33 of file runDAQ2RawDigit.py.

runDAQ2RawDigit.subNum = metadata["runs"][0][1]

Definition at line 27 of file runDAQ2RawDigit.py.