Skip to content
Snippets Groups Projects
Commit 9370cd20 authored by Frank Winklmeier's avatar Frank Winklmeier Committed by Graeme Stewart
Browse files

Import ExtraPayload class into namespace (TrigByteStreamTools-00-02-31)

	* python/CTPfragment.py: Import ExtraPayload class into namespace
	* TrigByteStreamTools-00-02-31


Former-commit-id: e894d31e
parent e1afa912
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
...@@ -22,6 +22,7 @@ from ROOT.CTPfragment import getFolderUpdates ...@@ -22,6 +22,7 @@ from ROOT.CTPfragment import getFolderUpdates
# Import classes from C++ namespace # Import classes from C++ namespace
FolderEntry = _CTPfragment.FolderEntry FolderEntry = _CTPfragment.FolderEntry
ExtraPayload = _CTPfragment.ExtraPayload
def _versioned(obj, name, version): def _versioned(obj, name, version):
"""Helper to return versioned members of CTPdataformat""" """Helper to return versioned members of CTPdataformat"""
...@@ -204,7 +205,8 @@ def main(): ...@@ -204,7 +205,8 @@ def main():
fe2.folderIndex = 2 fe2.folderIndex = 2
fe2.lumiBlock = 59 fe2.lumiBlock = 59
x = getExtraPayloadObject(rob) #x = getExtraPayloadObject(rob)
x = _CTPfragment.ExtraPayload()
x.setL1PSK(255) x.setL1PSK(255)
x.updateFolder(fe) x.updateFolder(fe)
x.updateFolder(fe2) x.updateFolder(fe2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment