31 print(
'Usage : RecvSendCOPPER.py <COPPER hostname> <COPPER nodeID> <bit flag of FINNESEs> '
32 '<Use shared memory? yes=1/no=0> <nodename>')
36b2.set_log_level(b2.LogLevel.ERROR)
37b2.set_log_level(b2.LogLevel.INFO)
41reader = b2.register_module(
'DeSerializerCOPPER')
42reader.param(
'NodeID', int(argvs[2]))
43reader.param(
'FinesseBitFlag', int(argvs[3]))
44use_shm_flag = int(argvs[4])
45reader.param(
'UseShmFlag', use_shm_flag)
46reader.param(
'NodeName', argvs[5])
52histo = b2.register_module(
'DqmHistoManager')
53histo.param(
'HostName',
'ropc04')
54histo.param(
'Port', 9991)
55histo.param(
'DumpInterval', 10)
57histo.param(
'HistoFileName',
'histo_file_'.join([argvs[1],
'.root']))
60monitor = b2.register_module(
'MonitorDataCOPPER')
63sender = b2.register_module(
'Serializer')
64sender.param(
'DestPort', 30000)
66sender.param(
'LocalHostName', argvs[1])
69main = b2.create_path()
72main.add_module(reader)