From 75c15fbc238b83dddab67ceaf059d50e54c3f432 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Fri, 6 Dec 2024 16:03:50 +0100 Subject: [PATCH] Format all files to conform to ruff config --- k4MarlinWrapper/examples/clicRec_e4h_input.py | 3208 ++++++++++------- k4MarlinWrapper/examples/event_display.py | 599 ++- k4MarlinWrapper/examples/runit.py | 56 +- .../python/k4MarlinWrapper/inputReader.py | 4 +- .../python/k4MarlinWrapper/parseConstants.py | 33 +- .../scripts/convertMarlinSteeringToGaudi.py | 434 +-- test/gaudi_opts/clicReconstruction_mt.py | 2980 +++++++++------ test/gaudi_opts/converterConstants.py | 60 +- test/gaudi_opts/fccRec_e4h_input.py | 2463 +++++++------ test/gaudi_opts/geoTest_cld.py | 11 +- test/gaudi_opts/same_num_io.py | 77 +- test/gaudi_opts/simple_processors.py | 36 +- test/gaudi_opts/simple_processors2.py | 38 +- test/gaudi_opts/simple_processors3.py | 44 +- test/gaudi_opts/test_global_converter_maps.py | 17 +- 15 files changed, 6174 insertions(+), 3886 deletions(-) diff --git a/k4MarlinWrapper/examples/clicRec_e4h_input.py b/k4MarlinWrapper/examples/clicRec_e4h_input.py index d7921c09..ef6eb7e3 100644 --- a/k4MarlinWrapper/examples/clicRec_e4h_input.py +++ b/k4MarlinWrapper/examples/clicRec_e4h_input.py @@ -23,1738 +23,2416 @@ from Configurables import LcioEvent, MarlinProcessorWrapper from k4MarlinWrapper.parseConstants import * + algList = [] CONSTANTS = { - 'BCReco': "3TeV", + "BCReco": "3TeV", } parseConstants(CONSTANTS) - # For converters from Configurables import ToolSvc, Lcio2EDM4hepTool, EDM4hep2LcioTool from Configurables import k4DataSvc, PodioInput -evtsvc = k4DataSvc('EventDataSvc') -evtsvc.input = os.path.join('$TEST_DIR/inputFiles/', os.environ.get("INPUTFILE", "ttbar_edm4hep_frame.root")) +evtsvc = k4DataSvc("EventDataSvc") +evtsvc.input = os.path.join( + "$TEST_DIR/inputFiles/", os.environ.get("INPUTFILE", "ttbar_edm4hep_frame.root") +) -inp = PodioInput('InputReader') -inp.OutputLevel = DEBUG +inp = PodioInput("InputReader") +inp.OutputLevel = DEBUG MyAIDAProcessor = MarlinProcessorWrapper("MyAIDAProcessor") MyAIDAProcessor.OutputLevel = WARNING MyAIDAProcessor.ProcessorType = "AIDAProcessor" -MyAIDAProcessor.Parameters = { - "Compress": ["1"], - "FileName": ["histograms"], - "FileType": ["root"] - } +MyAIDAProcessor.Parameters = {"Compress": ["1"], "FileName": ["histograms"], "FileType": ["root"]} # EDM4hep to LCIO converter edmConvTool = EDM4hep2LcioTool("EDM4hep2lcio") edmConvTool.convertAll = True edmConvTool.OutputLevel = DEBUG -MyAIDAProcessor.EDM4hep2LcioTool=edmConvTool - - +MyAIDAProcessor.EDM4hep2LcioTool = edmConvTool InitDD4hep = MarlinProcessorWrapper("InitDD4hep") InitDD4hep.OutputLevel = WARNING InitDD4hep.ProcessorType = "InitializeDD4hep" InitDD4hep.Parameters = { - "DD4hepXMLFile": [os.environ["K4GEO"]+"/CLIC/compact/CLIC_o3_v14/CLIC_o3_v14.xml"], - "EncodingStringParameter": ["GlobalTrackerReadoutID"] - } + "DD4hepXMLFile": [os.environ["K4GEO"] + "/CLIC/compact/CLIC_o3_v14/CLIC_o3_v14.xml"], + "EncodingStringParameter": ["GlobalTrackerReadoutID"], +} Config = MarlinProcessorWrapper("Config") Config.OutputLevel = WARNING Config.ProcessorType = "CLICRecoConfig" Config.Parameters = { - "BeamCal": ["3TeV"], - "BeamCalChoices": ["3TeV", "380GeV"], - "Overlay": ["False"], - "OverlayChoices": ["False", "350GeV_CDR", "350GeV", "350GeV_L6", "380GeV", "380GeV_CDR", "380GeV_L6", "420GeV", "500GeV", "1.4TeV", "3TeV", "3TeV_L6"], - "Tracking": ["Conformal"], - "TrackingChoices": ["Truth", "Conformal"], - "VertexUnconstrained": ["OFF"], - "VertexUnconstrainedChoices": ["ON", "OFF"] - } + "BeamCal": ["3TeV"], + "BeamCalChoices": ["3TeV", "380GeV"], + "Overlay": ["False"], + "OverlayChoices": [ + "False", + "350GeV_CDR", + "350GeV", + "350GeV_L6", + "380GeV", + "380GeV_CDR", + "380GeV_L6", + "420GeV", + "500GeV", + "1.4TeV", + "3TeV", + "3TeV_L6", + ], + "Tracking": ["Conformal"], + "TrackingChoices": ["Truth", "Conformal"], + "VertexUnconstrained": ["OFF"], + "VertexUnconstrainedChoices": ["ON", "OFF"], +} VXDBarrelDigitiser = MarlinProcessorWrapper("VXDBarrelDigitiser") VXDBarrelDigitiser.OutputLevel = WARNING VXDBarrelDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDBarrelDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexBarrelCollection"], - "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexBarrelCollection"], + "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDTrackerHits"], +} # LCIO to EDM4hep VXDBarrelDigitiserLCIOConv = Lcio2EDM4hepTool("VXDBarrelDigitiserLCIOConv") VXDBarrelDigitiserLCIOConv.convertAll = False VXDBarrelDigitiserLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "VXDTrackerHits": "VXDTrackerHits", - "VXDTrackerHitRelations": "VXDTrackerHitRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "VXDTrackerHits": "VXDTrackerHits", + "VXDTrackerHitRelations": "VXDTrackerHitRelations", +} VXDBarrelDigitiserLCIOConv.OutputLevel = DEBUG # Add it to VXDBarrelDigitiser Algorithm -VXDBarrelDigitiser.Lcio2EDM4hepTool=VXDBarrelDigitiserLCIOConv - +VXDBarrelDigitiser.Lcio2EDM4hepTool = VXDBarrelDigitiserLCIOConv VXDEndcapDigitiser = MarlinProcessorWrapper("VXDEndcapDigitiser") VXDEndcapDigitiser.OutputLevel = WARNING VXDEndcapDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDEndcapDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexEndcapCollection"], - "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDEndcapTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexEndcapCollection"], + "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDEndcapTrackerHits"], +} # LCIO to EDM4hep VXDEndcapDigitiserLCIOConv = Lcio2EDM4hepTool("VXDEndcapDigitiserLCIOConv") VXDEndcapDigitiserLCIOConv.convertAll = False VXDEndcapDigitiserLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "VXDEndcapTrackerHits": "VXDEndcapTrackerHits", - "VXDEndcapTrackerHitRelations": "VXDEndcapTrackerHitRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "VXDEndcapTrackerHits": "VXDEndcapTrackerHits", + "VXDEndcapTrackerHitRelations": "VXDEndcapTrackerHitRelations", +} VXDEndcapDigitiserLCIOConv.OutputLevel = DEBUG # Add it to VXDEndcapDigitiser Algorithm -VXDEndcapDigitiser.Lcio2EDM4hepTool=VXDEndcapDigitiserLCIOConv - +VXDEndcapDigitiser.Lcio2EDM4hepTool = VXDEndcapDigitiserLCIOConv InnerPlanarDigiProcessor = MarlinProcessorWrapper("InnerPlanarDigiProcessor") InnerPlanarDigiProcessor.OutputLevel = WARNING InnerPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007"], - "ResolutionV": ["0.09"], - "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007"], + "ResolutionV": ["0.09"], + "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerHits"], +} # LCIO to EDM4hep InnerPlanarDigiProcessorLCIOConv = Lcio2EDM4hepTool("InnerPlanarDigiProcessorLCIOConv") InnerPlanarDigiProcessorLCIOConv.convertAll = False InnerPlanarDigiProcessorLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "ITrackerHits": "ITrackerHits", - "InnerTrackerBarrelHitsRelations": "InnerTrackerBarrelHitsRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "ITrackerHits": "ITrackerHits", + "InnerTrackerBarrelHitsRelations": "InnerTrackerBarrelHitsRelations", +} InnerPlanarDigiProcessorLCIOConv.OutputLevel = DEBUG # Add it to InnerPlanarDigiProcessor Algorithm -InnerPlanarDigiProcessor.Lcio2EDM4hepTool=InnerPlanarDigiProcessorLCIOConv - - +InnerPlanarDigiProcessor.Lcio2EDM4hepTool = InnerPlanarDigiProcessorLCIOConv InnerEndcapPlanarDigiProcessor = MarlinProcessorWrapper("InnerEndcapPlanarDigiProcessor") InnerEndcapPlanarDigiProcessor.OutputLevel = WARNING InnerEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerEndcapHits"], +} # LCIO to EDM4hep InnerEndcapPlanarDigiProcessorLCIOConv = Lcio2EDM4hepTool("InnerEndcapPlanarDigiProcessorLCIOConv") InnerEndcapPlanarDigiProcessorLCIOConv.convertAll = False InnerEndcapPlanarDigiProcessorLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "ITrackerEndcapHits": "ITrackerEndcapHits", - "InnerTrackerEndcapHitsRelations": "InnerTrackerEndcapHitsRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "ITrackerEndcapHits": "ITrackerEndcapHits", + "InnerTrackerEndcapHitsRelations": "InnerTrackerEndcapHitsRelations", +} InnerEndcapPlanarDigiProcessorLCIOConv.OutputLevel = DEBUG # Add it to InnerEndcapPlanarDigiProcessor Algorithm -InnerEndcapPlanarDigiProcessor.Lcio2EDM4hepTool=InnerEndcapPlanarDigiProcessorLCIOConv - - - +InnerEndcapPlanarDigiProcessor.Lcio2EDM4hepTool = InnerEndcapPlanarDigiProcessorLCIOConv OuterPlanarDigiProcessor = MarlinProcessorWrapper("OuterPlanarDigiProcessor") OuterPlanarDigiProcessor.OutputLevel = WARNING OuterPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerHits"], +} # LCIO to EDM4hep OuterPlanarDigiProcessorLCIOConv = Lcio2EDM4hepTool("OuterPlanarDigiProcessorLCIOConv") OuterPlanarDigiProcessorLCIOConv.convertAll = False OuterPlanarDigiProcessorLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "OTrackerHits": "OTrackerHits", - "OuterTrackerBarrelHitsRelations": "OuterTrackerBarrelHitsRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "OTrackerHits": "OTrackerHits", + "OuterTrackerBarrelHitsRelations": "OuterTrackerBarrelHitsRelations", +} OuterPlanarDigiProcessorLCIOConv.OutputLevel = DEBUG # Add it to OuterPlanarDigiProcessor Algorithm -OuterPlanarDigiProcessor.Lcio2EDM4hepTool=OuterPlanarDigiProcessorLCIOConv - - +OuterPlanarDigiProcessor.Lcio2EDM4hepTool = OuterPlanarDigiProcessorLCIOConv OuterEndcapPlanarDigiProcessor = MarlinProcessorWrapper("OuterEndcapPlanarDigiProcessor") OuterEndcapPlanarDigiProcessor.OutputLevel = WARNING OuterEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerEndcapHits"], +} # LCIO to EDM4hep OuterEndcapPlanarDigiProcessorLCIOConv = Lcio2EDM4hepTool("OuterEndcapPlanarDigiProcessorLCIOConv") OuterEndcapPlanarDigiProcessorLCIOConv.convertAll = False OuterEndcapPlanarDigiProcessorLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "OTrackerEndcapHits": "OTrackerEndcapHits", - "OuterTrackerEndcapHitsRelations": "OuterTrackerEndcapHitsRelations" - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "OTrackerEndcapHits": "OTrackerEndcapHits", + "OuterTrackerEndcapHitsRelations": "OuterTrackerEndcapHitsRelations", +} OuterEndcapPlanarDigiProcessorLCIOConv.OutputLevel = DEBUG # Add it to OuterEndcapPlanarDigiProcessor Algorithm -OuterEndcapPlanarDigiProcessor.Lcio2EDM4hepTool=OuterEndcapPlanarDigiProcessorLCIOConv - - - +OuterEndcapPlanarDigiProcessor.Lcio2EDM4hepTool = OuterEndcapPlanarDigiProcessorLCIOConv MyTruthTrackFinder = MarlinProcessorWrapper("MyTruthTrackFinder") MyTruthTrackFinder.OutputLevel = WARNING MyTruthTrackFinder.ProcessorType = "TruthTrackFinder" MyTruthTrackFinder.Parameters = { - "FitForward": ["true"], - "MCParticleCollectionName": ["MCParticle"], - "SiTrackCollectionName": ["SiTracks"], - "SiTrackRelationCollectionName": ["SiTrackRelations"], - "SimTrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "ITrackerHits", "OTrackerHits", "VXDEndcapTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "UseTruthInPrefit": ["false"] - } + "FitForward": ["true"], + "MCParticleCollectionName": ["MCParticle"], + "SiTrackCollectionName": ["SiTracks"], + "SiTrackRelationCollectionName": ["SiTrackRelations"], + "SimTrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "ITrackerHits", + "OTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "UseTruthInPrefit": ["false"], +} MyConformalTracking = MarlinProcessorWrapper("MyConformalTracking") MyConformalTracking.OutputLevel = WARNING MyConformalTracking.ProcessorType = "ConformalTrackingV2" MyConformalTracking.Parameters = { - "DebugHits": ["DebugHits"], - "DebugPlots": ["false"], - "DebugTiming": ["false"], - "MCParticleCollectionName": ["MCParticle"], - "MaxHitInvertedFit": ["0"], - "MinClustersOnTrackAfterFit": ["3"], - "RelationsNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "RetryTooManyTracks": ["false"], - "SiTrackCollectionName": ["SiTracksCT"], - "SortTreeResults": ["true"], - "Steps": ["[VXDBarrel]", "@Collections", ":", "VXDTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.005;", "MaxCellAngleRZ", ":", "0.005;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[VXDEncap]", "@Collections", ":", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.005;", "MaxCellAngleRZ", ":", "0.005;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "0.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[LowerCellAngle1]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.025;", "MaxCellAngleRZ", ":", "0.025;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[LowerCellAngle2]", "@Collections", ":", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "BuildNewTracks,", "SortTracks", "[Tracker]", "@Collections", ":", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "0.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[Displaced]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits,", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "1000;", "MinClustersOnTrack", ":", "5;", "MaxDistance", ":", "0.015;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "OnlyZSchi2cut,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks"], - "ThetaRange": ["0.05"], - "TooManyTracks": ["100000"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "trackPurity": ["0.7"] - } + "DebugHits": ["DebugHits"], + "DebugPlots": ["false"], + "DebugTiming": ["false"], + "MCParticleCollectionName": ["MCParticle"], + "MaxHitInvertedFit": ["0"], + "MinClustersOnTrackAfterFit": ["3"], + "RelationsNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "RetryTooManyTracks": ["false"], + "SiTrackCollectionName": ["SiTracksCT"], + "SortTreeResults": ["true"], + "Steps": [ + "[VXDBarrel]", + "@Collections", + ":", + "VXDTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.005;", + "MaxCellAngleRZ", + ":", + "0.005;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[VXDEncap]", + "@Collections", + ":", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.005;", + "MaxCellAngleRZ", + ":", + "0.005;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "0.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[LowerCellAngle1]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.025;", + "MaxCellAngleRZ", + ":", + "0.025;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[LowerCellAngle2]", + "@Collections", + ":", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "BuildNewTracks,", + "SortTracks", + "[Tracker]", + "@Collections", + ":", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "0.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[Displaced]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits,", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "1000;", + "MinClustersOnTrack", + ":", + "5;", + "MaxDistance", + ":", + "0.015;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "OnlyZSchi2cut,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + ], + "ThetaRange": ["0.05"], + "TooManyTracks": ["100000"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "trackPurity": ["0.7"], +} # LCIO to EDM4hep MyConformalTrackingLCIOConv = Lcio2EDM4hepTool("MyConformalTrackingLCIOConv") MyConformalTrackingLCIOConv.convertAll = False MyConformalTrackingLCIOConv.collNameMapping = { - # This should be a TrackerHitPlane, but it gets treated as a TrackerHit - "DebugHits": "DebugHits", - "SiTracksCT": "SiTracksCT", - } + # This should be a TrackerHitPlane, but it gets treated as a TrackerHit + "DebugHits": "DebugHits", + "SiTracksCT": "SiTracksCT", +} MyConformalTrackingLCIOConv.OutputLevel = DEBUG # Add it to MyConformalTracking Algorithm -MyConformalTracking.Lcio2EDM4hepTool=MyConformalTrackingLCIOConv - - +MyConformalTracking.Lcio2EDM4hepTool = MyConformalTrackingLCIOConv ClonesAndSplitTracksFinder = MarlinProcessorWrapper("ClonesAndSplitTracksFinder") ClonesAndSplitTracksFinder.OutputLevel = WARNING ClonesAndSplitTracksFinder.ProcessorType = "ClonesAndSplitTracksFinder" ClonesAndSplitTracksFinder.Parameters = { - "EnergyLossOn": ["true"], - "InputTrackCollectionName": ["SiTracksCT"], - "MultipleScatteringOn": ["true"], - "OutputTrackCollectionName": ["SiTracks"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"], - "maxSignificancePhi": ["3"], - "maxSignificancePt": ["2"], - "maxSignificanceTheta": ["3"], - "mergeSplitTracks": ["true"], - "minTrackPt": ["1"] - } + "EnergyLossOn": ["true"], + "InputTrackCollectionName": ["SiTracksCT"], + "MultipleScatteringOn": ["true"], + "OutputTrackCollectionName": ["SiTracks"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], + "maxSignificancePhi": ["3"], + "maxSignificancePt": ["2"], + "maxSignificanceTheta": ["3"], + "mergeSplitTracks": ["true"], + "minTrackPt": ["1"], +} # LCIO to EDM4hep ClonesAndSplitTracksFinderLCIOConv = Lcio2EDM4hepTool("ClonesAndSplitTracksFinderLCIOConv") ClonesAndSplitTracksFinderLCIOConv.convertAll = False -ClonesAndSplitTracksFinderLCIOConv.collNameMapping = { - "SiTracks": "SiTracks" - } +ClonesAndSplitTracksFinderLCIOConv.collNameMapping = {"SiTracks": "SiTracks"} ClonesAndSplitTracksFinderLCIOConv.OutputLevel = DEBUG # Add it to ClonesAndSplitTracksFinder Algorithm -ClonesAndSplitTracksFinder.Lcio2EDM4hepTool=ClonesAndSplitTracksFinderLCIOConv - +ClonesAndSplitTracksFinder.Lcio2EDM4hepTool = ClonesAndSplitTracksFinderLCIOConv Refit = MarlinProcessorWrapper("Refit") Refit.OutputLevel = WARNING Refit.ProcessorType = "RefitFinal" Refit.Parameters = { - "EnergyLossOn": ["true"], - "InputRelationCollectionName": ["SiTrackRelations"], - "InputTrackCollectionName": ["SiTracks"], - "Max_Chi2_Incr": ["1.79769e+30"], - "MinClustersOnTrackAfterFit": ["3"], - "MultipleScatteringOn": ["true"], - "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], - "OutputTrackCollectionName": ["SiTracks_Refitted"], - "ReferencePoint": ["-1"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"] - } + "EnergyLossOn": ["true"], + "InputRelationCollectionName": ["SiTrackRelations"], + "InputTrackCollectionName": ["SiTracks"], + "Max_Chi2_Incr": ["1.79769e+30"], + "MinClustersOnTrackAfterFit": ["3"], + "MultipleScatteringOn": ["true"], + "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], + "OutputTrackCollectionName": ["SiTracks_Refitted"], + "ReferencePoint": ["-1"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], +} # LCIO to EDM4hep RefitLCIOConv = Lcio2EDM4hepTool("Refit") RefitLCIOConv.convertAll = False -RefitLCIOConv.collNameMapping = { - "SiTracks_Refitted": "SiTracks_Refitted" - } +RefitLCIOConv.collNameMapping = {"SiTracks_Refitted": "SiTracks_Refitted"} RefitLCIOConv.OutputLevel = DEBUG # Add it to RefitLCIOConv Algorithm -Refit.Lcio2EDM4hepTool=RefitLCIOConv - - +Refit.Lcio2EDM4hepTool = RefitLCIOConv MyClicEfficiencyCalculator = MarlinProcessorWrapper("MyClicEfficiencyCalculator") MyClicEfficiencyCalculator.OutputLevel = WARNING MyClicEfficiencyCalculator.ProcessorType = "ClicEfficiencyCalculator" MyClicEfficiencyCalculator.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "MCParticleNotReco": ["MCParticleNotReco"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "TrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "efficiencyTreeName": ["trktree"], - "mcTreeName": ["mctree"], - "morePlots": ["false"], - "purityTreeName": ["puritytree"], - "reconstructableDefinition": ["ILDLike"], - "vertexBarrelID": ["1"] - } + "MCParticleCollectionName": ["MCParticle"], + "MCParticleNotReco": ["MCParticleNotReco"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "TrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "efficiencyTreeName": ["trktree"], + "mcTreeName": ["mctree"], + "morePlots": ["false"], + "purityTreeName": ["puritytree"], + "reconstructableDefinition": ["ILDLike"], + "vertexBarrelID": ["1"], +} # LCIO to EDM4hep MyClicEfficiencyCalculatorLCIOConv = Lcio2EDM4hepTool("MyClicEfficiencyCalculator") MyClicEfficiencyCalculatorLCIOConv.convertAll = False -MyClicEfficiencyCalculatorLCIOConv.collNameMapping = { - "MCParticleNotReco": "MCParticleNotReco" - } +MyClicEfficiencyCalculatorLCIOConv.collNameMapping = {"MCParticleNotReco": "MCParticleNotReco"} MyClicEfficiencyCalculatorLCIOConv.OutputLevel = DEBUG # Add it to MyClicEfficiencyCalculatorLCIOConv Algorithm -MyClicEfficiencyCalculator.Lcio2EDM4hepTool=MyClicEfficiencyCalculatorLCIOConv - - +MyClicEfficiencyCalculator.Lcio2EDM4hepTool = MyClicEfficiencyCalculatorLCIOConv MyTrackChecker = MarlinProcessorWrapper("MyTrackChecker") MyTrackChecker.OutputLevel = WARNING MyTrackChecker.ProcessorType = "TrackChecker" MyTrackChecker.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackRelationCollectionName": ["SiTracksMCTruthLink"], - "TreeName": ["checktree"], - "UseOnlyTree": ["true"] - } - - - - - - - + "MCParticleCollectionName": ["MCParticle"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackRelationCollectionName": ["SiTracksMCTruthLink"], + "TreeName": ["checktree"], + "UseOnlyTree": ["true"], +} EventNumber = MarlinProcessorWrapper("EventNumber") EventNumber.OutputLevel = WARNING EventNumber.ProcessorType = "Statusmonitor" -EventNumber.Parameters = { - "HowOften": ["1"] - } +EventNumber.Parameters = {"HowOften": ["1"]} MyDDCaloDigi = MarlinProcessorWrapper("MyDDCaloDigi") MyDDCaloDigi.OutputLevel = WARNING MyDDCaloDigi.ProcessorType = "DDCaloDigi" MyDDCaloDigi.Parameters = { - "CalibECALMIP": ["0.0001"], - "CalibHCALMIP": ["0.0001"], - "CalibrECAL": ["35.8411424188", "35.8411424188"], - "CalibrHCALBarrel": ["49.2031079063"], - "CalibrHCALEndcap": ["53.6263377733"], - "CalibrHCALOther": ["62.2125698179"], - "ECALBarrelTimeWindowMax": ["10"], - "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection"], - "ECALCorrectTimesForPropagation": ["1"], - "ECALDeltaTimeHitResolution": ["10"], - "ECALEndcapCorrectionFactor": ["1.0672142727"], - "ECALEndcapTimeWindowMax": ["10"], - "ECALGapCorrection": ["1"], - "ECALGapCorrectionFactor": ["1"], - "ECALLayers": ["41", "100"], - "ECALModuleGapCorrectionFactor": ["0.0"], - "ECALOutputCollection0": ["ECALBarrel"], - "ECALOutputCollection1": ["ECALEndcap"], - "ECALOutputCollection2": ["ECALOther"], - "ECALSimpleTimingCut": ["true"], - "ECALThreshold": ["5e-05"], - "ECALThresholdUnit": ["GeV"], - "ECALTimeResolution": ["10"], - "ECALTimeWindowMin": ["-1"], - "ECAL_PPD_N_Pixels": ["10000"], - "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], - "ECAL_PPD_PE_per_MIP": ["7"], - "ECAL_apply_realistic_digi": ["0"], - "ECAL_deadCellRate": ["0"], - "ECAL_deadCell_memorise": ["false"], - "ECAL_default_layerConfig": ["000000000000000"], - "ECAL_elec_noise_mips": ["0"], - "ECAL_maxDynamicRange_MIP": ["2500"], - "ECAL_miscalibration_correl": ["0"], - "ECAL_miscalibration_uncorrel": ["0"], - "ECAL_miscalibration_uncorrel_memorise": ["false"], - "ECAL_pixel_spread": ["0.05"], - "ECAL_strip_absorbtionLength": ["1e+06"], - "HCALBarrelTimeWindowMax": ["10"], - "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], - "HCALCorrectTimesForPropagation": ["1"], - "HCALDeltaTimeHitResolution": ["10"], - "HCALEndcapCorrectionFactor": ["1.000"], - "HCALEndcapTimeWindowMax": ["10"], - "HCALGapCorrection": ["1"], - "HCALLayers": ["100"], - "HCALModuleGapCorrectionFactor": ["0.5"], - "HCALOutputCollection0": ["HCALBarrel"], - "HCALOutputCollection1": ["HCALEndcap"], - "HCALOutputCollection2": ["HCALOther"], - "HCALSimpleTimingCut": ["true"], - "HCALThreshold": ["0.00025"], - "HCALThresholdUnit": ["GeV"], - "HCALTimeResolution": ["10"], - "HCALTimeWindowMin": ["-1"], - "HCAL_PPD_N_Pixels": ["400"], - "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], - "HCAL_PPD_PE_per_MIP": ["10"], - "HCAL_apply_realistic_digi": ["0"], - "HCAL_deadCellRate": ["0"], - "HCAL_deadCell_memorise": ["false"], - "HCAL_elec_noise_mips": ["0"], - "HCAL_maxDynamicRange_MIP": ["200"], - "HCAL_miscalibration_correl": ["0"], - "HCAL_miscalibration_uncorrel": ["0"], - "HCAL_miscalibration_uncorrel_memorise": ["false"], - "HCAL_pixel_spread": ["0"], - "Histograms": ["0"], - "IfDigitalEcal": ["0"], - "IfDigitalHcal": ["0"], - "MapsEcalCorrection": ["0"], - "RelationOutputCollection": ["RelationCaloHit"], - "RootFile": ["Digi_SiW.root"], - "StripEcal_default_nVirtualCells": ["9"], - "UseEcalTiming": ["1"], - "UseHcalTiming": ["1"], - "energyPerEHpair": ["3.6"] - } + "CalibECALMIP": ["0.0001"], + "CalibHCALMIP": ["0.0001"], + "CalibrECAL": ["35.8411424188", "35.8411424188"], + "CalibrHCALBarrel": ["49.2031079063"], + "CalibrHCALEndcap": ["53.6263377733"], + "CalibrHCALOther": ["62.2125698179"], + "ECALBarrelTimeWindowMax": ["10"], + "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection"], + "ECALCorrectTimesForPropagation": ["1"], + "ECALDeltaTimeHitResolution": ["10"], + "ECALEndcapCorrectionFactor": ["1.0672142727"], + "ECALEndcapTimeWindowMax": ["10"], + "ECALGapCorrection": ["1"], + "ECALGapCorrectionFactor": ["1"], + "ECALLayers": ["41", "100"], + "ECALModuleGapCorrectionFactor": ["0.0"], + "ECALOutputCollection0": ["ECALBarrel"], + "ECALOutputCollection1": ["ECALEndcap"], + "ECALOutputCollection2": ["ECALOther"], + "ECALSimpleTimingCut": ["true"], + "ECALThreshold": ["5e-05"], + "ECALThresholdUnit": ["GeV"], + "ECALTimeResolution": ["10"], + "ECALTimeWindowMin": ["-1"], + "ECAL_PPD_N_Pixels": ["10000"], + "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], + "ECAL_PPD_PE_per_MIP": ["7"], + "ECAL_apply_realistic_digi": ["0"], + "ECAL_deadCellRate": ["0"], + "ECAL_deadCell_memorise": ["false"], + "ECAL_default_layerConfig": ["000000000000000"], + "ECAL_elec_noise_mips": ["0"], + "ECAL_maxDynamicRange_MIP": ["2500"], + "ECAL_miscalibration_correl": ["0"], + "ECAL_miscalibration_uncorrel": ["0"], + "ECAL_miscalibration_uncorrel_memorise": ["false"], + "ECAL_pixel_spread": ["0.05"], + "ECAL_strip_absorbtionLength": ["1e+06"], + "HCALBarrelTimeWindowMax": ["10"], + "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], + "HCALCorrectTimesForPropagation": ["1"], + "HCALDeltaTimeHitResolution": ["10"], + "HCALEndcapCorrectionFactor": ["1.000"], + "HCALEndcapTimeWindowMax": ["10"], + "HCALGapCorrection": ["1"], + "HCALLayers": ["100"], + "HCALModuleGapCorrectionFactor": ["0.5"], + "HCALOutputCollection0": ["HCALBarrel"], + "HCALOutputCollection1": ["HCALEndcap"], + "HCALOutputCollection2": ["HCALOther"], + "HCALSimpleTimingCut": ["true"], + "HCALThreshold": ["0.00025"], + "HCALThresholdUnit": ["GeV"], + "HCALTimeResolution": ["10"], + "HCALTimeWindowMin": ["-1"], + "HCAL_PPD_N_Pixels": ["400"], + "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], + "HCAL_PPD_PE_per_MIP": ["10"], + "HCAL_apply_realistic_digi": ["0"], + "HCAL_deadCellRate": ["0"], + "HCAL_deadCell_memorise": ["false"], + "HCAL_elec_noise_mips": ["0"], + "HCAL_maxDynamicRange_MIP": ["200"], + "HCAL_miscalibration_correl": ["0"], + "HCAL_miscalibration_uncorrel": ["0"], + "HCAL_miscalibration_uncorrel_memorise": ["false"], + "HCAL_pixel_spread": ["0"], + "Histograms": ["0"], + "IfDigitalEcal": ["0"], + "IfDigitalHcal": ["0"], + "MapsEcalCorrection": ["0"], + "RelationOutputCollection": ["RelationCaloHit"], + "RootFile": ["Digi_SiW.root"], + "StripEcal_default_nVirtualCells": ["9"], + "UseEcalTiming": ["1"], + "UseHcalTiming": ["1"], + "energyPerEHpair": ["3.6"], +} # LCIO to EDM4hep MyDDCaloDigiLCIOConv = Lcio2EDM4hepTool("MyDDCaloDigiLCIOConv") MyDDCaloDigiLCIOConv.convertAll = False MyDDCaloDigiLCIOConv.collNameMapping = { - "ECALBarrel": "ECALBarrel", - "ECALEndcap": "ECALEndcap", - "ECALOther": "ECALOther", - "HCALBarrel": "HCALBarrel", - "HCALEndcap": "HCALEndcap", - "HCALOther": "HCALOther", - "RelationCaloHit": "RelationCaloHit" - } + "ECALBarrel": "ECALBarrel", + "ECALEndcap": "ECALEndcap", + "ECALOther": "ECALOther", + "HCALBarrel": "HCALBarrel", + "HCALEndcap": "HCALEndcap", + "HCALOther": "HCALOther", + "RelationCaloHit": "RelationCaloHit", +} MyDDCaloDigiLCIOConv.OutputLevel = DEBUG # Add it to MyDDCaloDigi Algorithm -MyDDCaloDigi.Lcio2EDM4hepTool=MyDDCaloDigiLCIOConv - - +MyDDCaloDigi.Lcio2EDM4hepTool = MyDDCaloDigiLCIOConv MyDDMarlinPandora = MarlinProcessorWrapper("MyDDMarlinPandora") MyDDMarlinPandora.OutputLevel = WARNING MyDDMarlinPandora.ProcessorType = "DDPandoraPFANewProcessor" MyDDMarlinPandora.Parameters = { - "ClusterCollectionName": ["PandoraClusters"], - "CreateGaps": ["false"], - "CurvatureToMomentumFactor": ["0.00015"], - "D0TrackCut": ["200"], - "D0UnmatchedVertexTrackCut": ["5"], - "DigitalMuonHits": ["0"], - "ECalBarrelNormalVector": ["0", "0", "1"], - "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], - "ECalMipThreshold": ["0.5"], - "ECalScMipThreshold": ["0"], - "ECalScToEMGeVCalibration": ["1"], - "ECalScToHadGeVCalibrationBarrel": ["1"], - "ECalScToHadGeVCalibrationEndCap": ["1"], - "ECalScToMipCalibration": ["1"], - "ECalSiMipThreshold": ["0"], - "ECalSiToEMGeVCalibration": ["1"], - "ECalSiToHadGeVCalibrationBarrel": ["1"], - "ECalSiToHadGeVCalibrationEndCap": ["1"], - "ECalSiToMipCalibration": ["1"], - "ECalToEMGeVCalibration": ["1.02373335516"], - "ECalToHadGeVCalibrationBarrel": ["1.24223718397"], - "ECalToHadGeVCalibrationEndCap": ["1.24223718397"], - "ECalToMipCalibration": ["181.818"], - "EMConstantTerm": ["0.01"], - "EMStochasticTerm": ["0.17"], - "FinalEnergyDensityBin": ["110."], - "HCalBarrelNormalVector": ["0", "0", "1"], - "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], - "HCalMipThreshold": ["0.3"], - "HCalToEMGeVCalibration": ["1.02373335516"], - "HCalToHadGeVCalibration": ["1.01799349172"], - "HCalToMipCalibration": ["40.8163"], - "HadConstantTerm": ["0.03"], - "HadStochasticTerm": ["0.6"], - "InputEnergyCorrectionPoints": [], - "KinkVertexCollections": ["KinkVertices"], - "LCalCaloHitCollections": [], - "LHCalCaloHitCollections": [], - "LayersFromEdgeMaxRearDistance": ["250"], - "MCParticleCollections": ["MCParticle"], - "MaxBarrelTrackerInnerRDistance": ["200"], - "MaxClusterEnergyToApplySoftComp": ["2000."], - "MaxHCalHitHadronicEnergy": ["1000000"], - "MaxTrackHits": ["5000"], - "MaxTrackSigmaPOverP": ["0.15"], - "MinBarrelTrackerHitFractionOfExpected": ["0"], - "MinCleanCorrectedHitEnergy": ["0.1"], - "MinCleanHitEnergy": ["0.5"], - "MinCleanHitEnergyFraction": ["0.01"], - "MinFtdHitsForBarrelTrackerHitFraction": ["0"], - "MinFtdTrackHits": ["0"], - "MinMomentumForTrackHitChecks": ["0"], - "MinTpcHitFractionOfExpected": ["0"], - "MinTrackECalDistanceFromIp": ["0"], - "MinTrackHits": ["0"], - "MuonBarrelBField": ["-1.5"], - "MuonCaloHitCollections": ["MUON"], - "MuonEndCapBField": ["0.01"], - "MuonHitEnergy": ["0.5"], - "MuonToMipCalibration": ["19607.8"], - "NEventsToSkip": ["0"], - "NOuterSamplingLayers": ["3"], - "OutputEnergyCorrectionPoints": [], - "PFOCollectionName": ["PandoraPFOs"], - "PandoraSettingsXmlFile": ["PandoraSettings/PandoraSettingsDefault.xml"], - "ProngVertexCollections": ["ProngVertices"], - "ReachesECalBarrelTrackerOuterDistance": ["-100"], - "ReachesECalBarrelTrackerZMaxDistance": ["-50"], - "ReachesECalFtdZMaxDistance": ["1"], - "ReachesECalMinFtdLayer": ["0"], - "ReachesECalNBarrelTrackerHits": ["0"], - "ReachesECalNFtdHits": ["0"], - "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], - "RelTrackCollections": ["SiTracks_Refitted_Relation"], - "ShouldFormTrackRelationships": ["1"], - "SoftwareCompensationEnergyDensityBins": ["0", "2.", "5.", "7.5", "9.5", "13.", "16.", "20.", "23.5", "28.", "33.", "40.", "50.", "75.", "100."], - "SoftwareCompensationWeights": ["1.61741", "-0.00444385", "2.29683e-05", "-0.0731236", "-0.00157099", "-7.09546e-07", "0.868443", "1.0561", "-0.0238574"], - "SplitVertexCollections": ["SplitVertices"], - "StartVertexAlgorithmName": ["PandoraPFANew"], - "StartVertexCollectionName": ["PandoraStartVertices"], - "StripSplittingOn": ["0"], - "TrackCollections": ["SiTracks_Refitted"], - "TrackCreatorName": ["DDTrackCreatorCLIC"], - "TrackStateTolerance": ["0"], - "TrackSystemName": ["DDKalTest"], - "UnmatchedVertexTrackMaxEnergy": ["5"], - "UseEcalScLayers": ["0"], - "UseNonVertexTracks": ["1"], - "UseOldTrackStateCalculation": ["0"], - "UseUnmatchedNonVertexTracks": ["0"], - "UseUnmatchedVertexTracks": ["1"], - "V0VertexCollections": ["V0Vertices"], - "YokeBarrelNormalVector": ["0", "0", "1"], - "Z0TrackCut": ["200"], - "Z0UnmatchedVertexTrackCut": ["5"], - "ZCutForNonVertexTracks": ["250"] - } + "ClusterCollectionName": ["PandoraClusters"], + "CreateGaps": ["false"], + "CurvatureToMomentumFactor": ["0.00015"], + "D0TrackCut": ["200"], + "D0UnmatchedVertexTrackCut": ["5"], + "DigitalMuonHits": ["0"], + "ECalBarrelNormalVector": ["0", "0", "1"], + "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], + "ECalMipThreshold": ["0.5"], + "ECalScMipThreshold": ["0"], + "ECalScToEMGeVCalibration": ["1"], + "ECalScToHadGeVCalibrationBarrel": ["1"], + "ECalScToHadGeVCalibrationEndCap": ["1"], + "ECalScToMipCalibration": ["1"], + "ECalSiMipThreshold": ["0"], + "ECalSiToEMGeVCalibration": ["1"], + "ECalSiToHadGeVCalibrationBarrel": ["1"], + "ECalSiToHadGeVCalibrationEndCap": ["1"], + "ECalSiToMipCalibration": ["1"], + "ECalToEMGeVCalibration": ["1.02373335516"], + "ECalToHadGeVCalibrationBarrel": ["1.24223718397"], + "ECalToHadGeVCalibrationEndCap": ["1.24223718397"], + "ECalToMipCalibration": ["181.818"], + "EMConstantTerm": ["0.01"], + "EMStochasticTerm": ["0.17"], + "FinalEnergyDensityBin": ["110."], + "HCalBarrelNormalVector": ["0", "0", "1"], + "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], + "HCalMipThreshold": ["0.3"], + "HCalToEMGeVCalibration": ["1.02373335516"], + "HCalToHadGeVCalibration": ["1.01799349172"], + "HCalToMipCalibration": ["40.8163"], + "HadConstantTerm": ["0.03"], + "HadStochasticTerm": ["0.6"], + "InputEnergyCorrectionPoints": [], + "KinkVertexCollections": ["KinkVertices"], + "LCalCaloHitCollections": [], + "LHCalCaloHitCollections": [], + "LayersFromEdgeMaxRearDistance": ["250"], + "MCParticleCollections": ["MCParticle"], + "MaxBarrelTrackerInnerRDistance": ["200"], + "MaxClusterEnergyToApplySoftComp": ["2000."], + "MaxHCalHitHadronicEnergy": ["1000000"], + "MaxTrackHits": ["5000"], + "MaxTrackSigmaPOverP": ["0.15"], + "MinBarrelTrackerHitFractionOfExpected": ["0"], + "MinCleanCorrectedHitEnergy": ["0.1"], + "MinCleanHitEnergy": ["0.5"], + "MinCleanHitEnergyFraction": ["0.01"], + "MinFtdHitsForBarrelTrackerHitFraction": ["0"], + "MinFtdTrackHits": ["0"], + "MinMomentumForTrackHitChecks": ["0"], + "MinTpcHitFractionOfExpected": ["0"], + "MinTrackECalDistanceFromIp": ["0"], + "MinTrackHits": ["0"], + "MuonBarrelBField": ["-1.5"], + "MuonCaloHitCollections": ["MUON"], + "MuonEndCapBField": ["0.01"], + "MuonHitEnergy": ["0.5"], + "MuonToMipCalibration": ["19607.8"], + "NEventsToSkip": ["0"], + "NOuterSamplingLayers": ["3"], + "OutputEnergyCorrectionPoints": [], + "PFOCollectionName": ["PandoraPFOs"], + "PandoraSettingsXmlFile": ["PandoraSettings/PandoraSettingsDefault.xml"], + "ProngVertexCollections": ["ProngVertices"], + "ReachesECalBarrelTrackerOuterDistance": ["-100"], + "ReachesECalBarrelTrackerZMaxDistance": ["-50"], + "ReachesECalFtdZMaxDistance": ["1"], + "ReachesECalMinFtdLayer": ["0"], + "ReachesECalNBarrelTrackerHits": ["0"], + "ReachesECalNFtdHits": ["0"], + "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], + "RelTrackCollections": ["SiTracks_Refitted_Relation"], + "ShouldFormTrackRelationships": ["1"], + "SoftwareCompensationEnergyDensityBins": [ + "0", + "2.", + "5.", + "7.5", + "9.5", + "13.", + "16.", + "20.", + "23.5", + "28.", + "33.", + "40.", + "50.", + "75.", + "100.", + ], + "SoftwareCompensationWeights": [ + "1.61741", + "-0.00444385", + "2.29683e-05", + "-0.0731236", + "-0.00157099", + "-7.09546e-07", + "0.868443", + "1.0561", + "-0.0238574", + ], + "SplitVertexCollections": ["SplitVertices"], + "StartVertexAlgorithmName": ["PandoraPFANew"], + "StartVertexCollectionName": ["PandoraStartVertices"], + "StripSplittingOn": ["0"], + "TrackCollections": ["SiTracks_Refitted"], + "TrackCreatorName": ["DDTrackCreatorCLIC"], + "TrackStateTolerance": ["0"], + "TrackSystemName": ["DDKalTest"], + "UnmatchedVertexTrackMaxEnergy": ["5"], + "UseEcalScLayers": ["0"], + "UseNonVertexTracks": ["1"], + "UseOldTrackStateCalculation": ["0"], + "UseUnmatchedNonVertexTracks": ["0"], + "UseUnmatchedVertexTracks": ["1"], + "V0VertexCollections": ["V0Vertices"], + "YokeBarrelNormalVector": ["0", "0", "1"], + "Z0TrackCut": ["200"], + "Z0UnmatchedVertexTrackCut": ["5"], + "ZCutForNonVertexTracks": ["250"], +} # LCIO to EDM4hep MyDDMarlinPandoraLCIOConv = Lcio2EDM4hepTool("MyDDMarlinPandoraLCIOConv") MyDDMarlinPandoraLCIOConv.convertAll = False MyDDMarlinPandoraLCIOConv.collNameMapping = { - "PandoraClusters": "PandoraClusters", - "PandoraPFOs": "PandoraPFOs", - "PandoraStartVertices": "PandoraStartVertices", - } + "PandoraClusters": "PandoraClusters", + "PandoraPFOs": "PandoraPFOs", + "PandoraStartVertices": "PandoraStartVertices", +} MyDDMarlinPandoraLCIOConv.OutputLevel = DEBUG # Add it to MyDDMarlinPandora Algorithm -MyDDMarlinPandora.Lcio2EDM4hepTool=MyDDMarlinPandoraLCIOConv - - +MyDDMarlinPandora.Lcio2EDM4hepTool = MyDDMarlinPandoraLCIOConv MyDDSimpleMuonDigi = MarlinProcessorWrapper("MyDDSimpleMuonDigi") MyDDSimpleMuonDigi.OutputLevel = WARNING MyDDSimpleMuonDigi.ProcessorType = "DDSimpleMuonDigi" MyDDSimpleMuonDigi.Parameters = { - "CalibrMUON": ["70.1"], - "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], - "MUONOutputCollection": ["MUON"], - "MaxHitEnergyMUON": ["2.0"], - "MuonThreshold": ["1e-06"], - "RelationOutputCollection": ["RelationMuonHit"] - } + "CalibrMUON": ["70.1"], + "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], + "MUONOutputCollection": ["MUON"], + "MaxHitEnergyMUON": ["2.0"], + "MuonThreshold": ["1e-06"], + "RelationOutputCollection": ["RelationMuonHit"], +} # LCIO to EDM4hep MyDDSimpleMuonDigiLCIOConv = Lcio2EDM4hepTool("MyDDSimpleMuonDigiLCIOConv") MyDDSimpleMuonDigiLCIOConv.convertAll = False -MyDDSimpleMuonDigiLCIOConv.collNameMapping = { - "MUON": "MUON", - "RelationMuonHit": "RelationMuonHit" - } +MyDDSimpleMuonDigiLCIOConv.collNameMapping = {"MUON": "MUON", "RelationMuonHit": "RelationMuonHit"} MyDDSimpleMuonDigiLCIOConv.OutputLevel = DEBUG # Add it to MyDDSimpleMuonDigi Algorithm -MyDDSimpleMuonDigi.Lcio2EDM4hepTool=MyDDSimpleMuonDigiLCIOConv - - - +MyDDSimpleMuonDigi.Lcio2EDM4hepTool = MyDDSimpleMuonDigiLCIOConv MyRecoMCTruthLinker = MarlinProcessorWrapper("MyRecoMCTruthLinker") MyRecoMCTruthLinker.OutputLevel = WARNING MyRecoMCTruthLinker.ProcessorType = "RecoMCTruthLinker" MyRecoMCTruthLinker.Parameters = { - "BremsstrahlungEnergyCut": ["1"], - "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], - "ClusterCollection": ["MergedClusters"], - "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], - "FullRecoRelation": ["false"], - "InvertedNonDestructiveInteractionLogic": ["false"], - "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], - "MCParticleCollection": ["MCPhysicsParticles"], - "MCParticlesSkimmedName": ["MCParticlesSkimmed"], - "MCTruthClusterLinkName": [], - "MCTruthRecoLinkName": [], - "MCTruthTrackLinkName": [], - "RecoMCTruthLinkName": ["RecoMCTruthLink"], - "RecoParticleCollection": ["MergedRecoParticles"], - "SaveBremsstrahlungPhotons": ["false"], - "SimCaloHitCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection", "HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection", "YokeBarrelCollection", "YokeEndcapCollection", "LumiCalCollection", "BeamCalCollection"], - "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], - "SimTrackerHitCollections": ["VertexBarrelCollection", "VertexEndcapCollection", "InnerTrackerBarrelCollection", "OuterTrackerBarrelCollection", "InnerTrackerEndcapCollection", "OuterTrackerEndcapCollection"], - "TrackCollection": ["SiTracks_Refitted"], - "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], - "TrackerHitsRelInputCollections": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "UseTrackerHitRelations": ["true"], - "UsingParticleGun": ["false"], - "daughtersECutMeV": ["10"] - } + "BremsstrahlungEnergyCut": ["1"], + "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], + "ClusterCollection": ["MergedClusters"], + "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], + "FullRecoRelation": ["false"], + "InvertedNonDestructiveInteractionLogic": ["false"], + "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], + "MCParticleCollection": ["MCPhysicsParticles"], + "MCParticlesSkimmedName": ["MCParticlesSkimmed"], + "MCTruthClusterLinkName": [], + "MCTruthRecoLinkName": [], + "MCTruthTrackLinkName": [], + "RecoMCTruthLinkName": ["RecoMCTruthLink"], + "RecoParticleCollection": ["MergedRecoParticles"], + "SaveBremsstrahlungPhotons": ["false"], + "SimCaloHitCollections": [ + "ECalBarrelCollection", + "ECalEndcapCollection", + "ECalPlugCollection", + "HCalBarrelCollection", + "HCalEndcapCollection", + "HCalRingCollection", + "YokeBarrelCollection", + "YokeEndcapCollection", + "LumiCalCollection", + "BeamCalCollection", + ], + "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], + "SimTrackerHitCollections": [ + "VertexBarrelCollection", + "VertexEndcapCollection", + "InnerTrackerBarrelCollection", + "OuterTrackerBarrelCollection", + "InnerTrackerEndcapCollection", + "OuterTrackerEndcapCollection", + ], + "TrackCollection": ["SiTracks_Refitted"], + "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], + "TrackerHitsRelInputCollections": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "UseTrackerHitRelations": ["true"], + "UsingParticleGun": ["false"], + "daughtersECutMeV": ["10"], +} # LCIO to EDM4hep MyRecoMCTruthLinkerLCIOConv = Lcio2EDM4hepTool("MyRecoMCTruthLinkerLCIOConv") MyRecoMCTruthLinkerLCIOConv.convertAll = False MyRecoMCTruthLinkerLCIOConv.collNameMapping = { - "CalohitMCTruthLink": "CalohitMCTruthLink", - "ClusterMCTruthLink": "ClusterMCTruthLink", - "MCParticlesSkimmed": "MCParticlesSkimmed", - "RecoMCTruthLink": "RecoMCTruthLink", - "SiTracksMCTruthLink": "SiTracksMCTruthLink" - } + "CalohitMCTruthLink": "CalohitMCTruthLink", + "ClusterMCTruthLink": "ClusterMCTruthLink", + "MCParticlesSkimmed": "MCParticlesSkimmed", + "RecoMCTruthLink": "RecoMCTruthLink", + "SiTracksMCTruthLink": "SiTracksMCTruthLink", +} MyRecoMCTruthLinkerLCIOConv.OutputLevel = DEBUG # Add it to MyRecoMCTruthLinker Algorithm -MyRecoMCTruthLinker.Lcio2EDM4hepTool=MyRecoMCTruthLinkerLCIOConv - - +MyRecoMCTruthLinker.Lcio2EDM4hepTool = MyRecoMCTruthLinkerLCIOConv MyHitResiduals = MarlinProcessorWrapper("MyHitResiduals") MyHitResiduals.OutputLevel = WARNING MyHitResiduals.ProcessorType = "HitResiduals" MyHitResiduals.Parameters = { - "EnergyLossOn": ["true"], - "MaxChi2Increment": ["1000"], - "MultipleScatteringOn": ["true"], - "SmoothOn": ["false"], - "TrackCollectionName": ["SiTracks_Refitted"], - "outFileName": ["residuals.root"], - "treeName": ["restree"] - } + "EnergyLossOn": ["true"], + "MaxChi2Increment": ["1000"], + "MultipleScatteringOn": ["true"], + "SmoothOn": ["false"], + "TrackCollectionName": ["SiTracks_Refitted"], + "outFileName": ["residuals.root"], + "treeName": ["restree"], +} LumiCalReco_Obs = MarlinProcessorWrapper("LumiCalReco_Obs") LumiCalReco_Obs.OutputLevel = WARNING LumiCalReco_Obs.ProcessorType = "MarlinLumiCalClusterer" LumiCalReco_Obs.Parameters = { - "ClusterMinNumHits": ["15"], - "ElementsPercentInShowerPeakLayer": ["0.03"], - "EnergyCalibConst": ["0.01213"], - "LogWeigthConstant": ["6.5"], - "LumiCal_Clusters": ["LumiCalClusters"], - "LumiCal_Collection": ["LumiCalCollection"], - "LumiCal_RecoParticles": ["LumiCalRecoParticles"], - "MaxRecordNumber": ["5"], - "MemoryResidentTree": ["0"], - "MiddleEnergyHitBoundFrac": ["0.01"], - "MinClusterEngy": ["2.0"], - "MinHitEnergy": ["20e-06"], - "MoliereRadius": ["20"], - "NumEventsTree": ["500"], - "NumOfNearNeighbor": ["6"], - "OutDirName": ["rootOut"], - "OutRootFileName": [], - "SkipNEvents": ["0"], - "WeightingMethod": ["LogMethod"], - "ZLayerPhiOffset": ["0.0"] - } + "ClusterMinNumHits": ["15"], + "ElementsPercentInShowerPeakLayer": ["0.03"], + "EnergyCalibConst": ["0.01213"], + "LogWeigthConstant": ["6.5"], + "LumiCal_Clusters": ["LumiCalClusters"], + "LumiCal_Collection": ["LumiCalCollection"], + "LumiCal_RecoParticles": ["LumiCalRecoParticles"], + "MaxRecordNumber": ["5"], + "MemoryResidentTree": ["0"], + "MiddleEnergyHitBoundFrac": ["0.01"], + "MinClusterEngy": ["2.0"], + "MinHitEnergy": ["20e-06"], + "MoliereRadius": ["20"], + "NumEventsTree": ["500"], + "NumOfNearNeighbor": ["6"], + "OutDirName": ["rootOut"], + "OutRootFileName": [], + "SkipNEvents": ["0"], + "WeightingMethod": ["LogMethod"], + "ZLayerPhiOffset": ["0.0"], +} LumiCalReco = MarlinProcessorWrapper("LumiCalReco") LumiCalReco.OutputLevel = DEBUG LumiCalReco.ProcessorType = "BeamCalClusterReco" LumiCalReco.Parameters = { - "BackgroundMethod": ["Empty"], - "BeamCalCollectionName": ["LumiCalCollection"], - "BeamCalHitsOutCollection": ["LumiCal_Hits"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["LumiCal"], - "DetectorStartingLayerID": ["0"], - "ETCluster": ["0.2"], - "ETPad": ["20e-06"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": [], - "LinearCalibrationFactor": ["82.377"], - "LogWeightingConstant": ["6.1"], - "MCParticleCollectionName": ["MCParticle"], - "MaxPadDistance": ["62"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["30"], - "NumberOfBX": ["0"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["LumiCalClusters"], - "RecoParticleCollectionname": ["LumiCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["1"], - "StartingRing": ["0.0"], - "SubClusterEnergyID": ["3"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["false"] - } + "BackgroundMethod": ["Empty"], + "BeamCalCollectionName": ["LumiCalCollection"], + "BeamCalHitsOutCollection": ["LumiCal_Hits"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["LumiCal"], + "DetectorStartingLayerID": ["0"], + "ETCluster": ["0.2"], + "ETPad": ["20e-06"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": [], + "LinearCalibrationFactor": ["82.377"], + "LogWeightingConstant": ["6.1"], + "MCParticleCollectionName": ["MCParticle"], + "MaxPadDistance": ["62"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["30"], + "NumberOfBX": ["0"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["LumiCalClusters"], + "RecoParticleCollectionname": ["LumiCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["1"], + "StartingRing": ["0.0"], + "SubClusterEnergyID": ["3"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["false"], +} # LCIO to EDM4hep LumiCalRecoLCIOConv = Lcio2EDM4hepTool("LumiCalRecoLCIOConv") LumiCalRecoLCIOConv.convertAll = False LumiCalRecoLCIOConv.collNameMapping = { - "LumiCal_Hits": "LumiCal_Hits", - "LumiCalClusters": "LumiCalClusters", - "LumiCalRecoParticles": "LumiCalRecoParticles" - } + "LumiCal_Hits": "LumiCal_Hits", + "LumiCalClusters": "LumiCalClusters", + "LumiCalRecoParticles": "LumiCalRecoParticles", +} LumiCalRecoLCIOConv.OutputLevel = DEBUG # Add it to LumiCalReco Algorithm -LumiCalReco.Lcio2EDM4hepTool=LumiCalRecoLCIOConv - - +LumiCalReco.Lcio2EDM4hepTool = LumiCalRecoLCIOConv RenameCollection = MarlinProcessorWrapper("RenameCollection") RenameCollection.OutputLevel = WARNING RenameCollection.ProcessorType = "MergeCollections" RenameCollection.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraPFOs"], - "OutputCollection": ["PFOsFromJets"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraPFOs"], + "OutputCollection": ["PFOsFromJets"], +} # LCIO to EDM4hep RenameCollectionLCIOConv = Lcio2EDM4hepTool("RenameCollectionLCIOConv") RenameCollectionLCIOConv.convertAll = False RenameCollectionLCIOConv.collNameMapping = { - "PFOsFromJets": "PFOsFromJets", - } + "PFOsFromJets": "PFOsFromJets", +} RenameCollectionLCIOConv.OutputLevel = DEBUG # Add it to RenameCollection Algorithm -RenameCollection.Lcio2EDM4hepTool=RenameCollectionLCIOConv - - +RenameCollection.Lcio2EDM4hepTool = RenameCollectionLCIOConv MyFastJetProcessor = MarlinProcessorWrapper("MyFastJetProcessor") MyFastJetProcessor.OutputLevel = WARNING MyFastJetProcessor.ProcessorType = "FastJetProcessor" MyFastJetProcessor.Parameters = { - "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], - "clusteringMode": ["ExclusiveNJets", "2"], - "jetOut": ["JetsAfterGamGamRemoval"], - "recParticleIn": ["TightSelectedPandoraPFOs"], - "recParticleOut": ["PFOsFromJets"], - "recombinationScheme": ["E_scheme"], - "storeParticlesInJets": ["true"] - } + "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], + "clusteringMode": ["ExclusiveNJets", "2"], + "jetOut": ["JetsAfterGamGamRemoval"], + "recParticleIn": ["TightSelectedPandoraPFOs"], + "recParticleOut": ["PFOsFromJets"], + "recombinationScheme": ["E_scheme"], + "storeParticlesInJets": ["true"], +} JetClusteringAndRefiner = MarlinProcessorWrapper("JetClusteringAndRefiner") JetClusteringAndRefiner.OutputLevel = WARNING JetClusteringAndRefiner.ProcessorType = "LcfiplusProcessor" JetClusteringAndRefiner.Parameters = { - "Algorithms": ["JetClustering", "JetVertexRefiner"], - "JetClustering.AlphaParameter": ["1.0"], - "JetClustering.BetaParameter": ["1.0"], - "JetClustering.GammaParameter": ["1.0"], - "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], - "JetClustering.JetAlgorithm": ["ValenciaVertex"], - "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], - "JetClustering.MuonIDExternal": ["0"], - "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], - "JetClustering.MuonIDMinimumD0Significance": ["5.0"], - "JetClustering.MuonIDMinimumEnergy": ["0"], - "JetClustering.MuonIDMinimumProbability": ["0.5"], - "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], - "JetClustering.NJetsRequested": ["2"], - "JetClustering.OutputJetCollectionName": ["VertexJets"], - "JetClustering.OutputJetStoresVertex": ["0"], - "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetClustering.RParameter": ["1.0"], - "JetClustering.UseBeamJets": ["1"], - "JetClustering.UseMuonID": ["1"], - "JetClustering.VertexSelectionK0MassWidth": ["0.02"], - "JetClustering.VertexSelectionMaximumDistance": ["30."], - "JetClustering.VertexSelectionMinimumDistance": ["0.3"], - "JetClustering.YAddedForJetLeptonLepton": ["100"], - "JetClustering.YAddedForJetLeptonVertex": ["100"], - "JetClustering.YAddedForJetVertexLepton": ["0"], - "JetClustering.YAddedForJetVertexVertex": ["100"], - "JetClustering.YCut": ["0."], - "JetVertexRefiner.BNessCut": ["-0.80"], - "JetVertexRefiner.BNessCutE1": ["-0.15"], - "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], - "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], - "JetVertexRefiner.MaxAngleSingle": ["0.5"], - "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], - "JetVertexRefiner.MaxPosSingle": ["30."], - "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], - "JetVertexRefiner.MinEnergySingle": ["1."], - "JetVertexRefiner.MinPosSingle": ["0.3"], - "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], - "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], - "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], - "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], - "JetVertexRefiner.mind0sigSingle": ["5."], - "JetVertexRefiner.minz0sigSingle": ["5."], - "JetVertexRefiner.useBNess": ["0"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["PFOsFromJets"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["JetClustering", "JetVertexRefiner"], + "JetClustering.AlphaParameter": ["1.0"], + "JetClustering.BetaParameter": ["1.0"], + "JetClustering.GammaParameter": ["1.0"], + "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], + "JetClustering.JetAlgorithm": ["ValenciaVertex"], + "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], + "JetClustering.MuonIDExternal": ["0"], + "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], + "JetClustering.MuonIDMinimumD0Significance": ["5.0"], + "JetClustering.MuonIDMinimumEnergy": ["0"], + "JetClustering.MuonIDMinimumProbability": ["0.5"], + "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], + "JetClustering.NJetsRequested": ["2"], + "JetClustering.OutputJetCollectionName": ["VertexJets"], + "JetClustering.OutputJetStoresVertex": ["0"], + "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetClustering.RParameter": ["1.0"], + "JetClustering.UseBeamJets": ["1"], + "JetClustering.UseMuonID": ["1"], + "JetClustering.VertexSelectionK0MassWidth": ["0.02"], + "JetClustering.VertexSelectionMaximumDistance": ["30."], + "JetClustering.VertexSelectionMinimumDistance": ["0.3"], + "JetClustering.YAddedForJetLeptonLepton": ["100"], + "JetClustering.YAddedForJetLeptonVertex": ["100"], + "JetClustering.YAddedForJetVertexLepton": ["0"], + "JetClustering.YAddedForJetVertexVertex": ["100"], + "JetClustering.YCut": ["0."], + "JetVertexRefiner.BNessCut": ["-0.80"], + "JetVertexRefiner.BNessCutE1": ["-0.15"], + "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], + "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], + "JetVertexRefiner.MaxAngleSingle": ["0.5"], + "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], + "JetVertexRefiner.MaxPosSingle": ["30."], + "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], + "JetVertexRefiner.MinEnergySingle": ["1."], + "JetVertexRefiner.MinPosSingle": ["0.3"], + "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], + "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], + "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], + "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], + "JetVertexRefiner.mind0sigSingle": ["5."], + "JetVertexRefiner.minz0sigSingle": ["5."], + "JetVertexRefiner.useBNess": ["0"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["PFOsFromJets"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} # LCIO to EDM4hep JetClusteringAndRefinerLCIOConv = Lcio2EDM4hepTool("JetClusteringAndRefinerLCIOConv") JetClusteringAndRefinerLCIOConv.convertAll = False JetClusteringAndRefinerLCIOConv.collNameMapping = { - "VertexJets": "VertexJets", - "RefinedVertexJets": "RefinedVertexJets", - "RefinedVertices": "RefinedVertices" - } + "VertexJets": "VertexJets", + "RefinedVertexJets": "RefinedVertexJets", + "RefinedVertices": "RefinedVertices", +} JetClusteringAndRefinerLCIOConv.OutputLevel = DEBUG # Add it to JetClusteringAndRefiner Algorithm -JetClusteringAndRefiner.Lcio2EDM4hepTool=JetClusteringAndRefinerLCIOConv - - - +JetClusteringAndRefiner.Lcio2EDM4hepTool = JetClusteringAndRefinerLCIOConv Output_REC = MarlinProcessorWrapper("Output_REC") Output_REC.OutputLevel = WARNING Output_REC.ProcessorType = "LCIOOutputProcessor" Output_REC.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": [], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], - "KeepCollectionNames": [], - "LCIOOutputFile": ["Output_REC_e4h_input.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [], + "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], + "KeepCollectionNames": [], + "LCIOOutputFile": ["Output_REC_e4h_input.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} Output_DST = MarlinProcessorWrapper("Output_DST") Output_DST.OutputLevel = WARNING Output_DST.ProcessorType = "LCIOOutputProcessor" Output_DST.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": ["MCParticle", "LCRelation", "SimCalorimeterHit", "CalorimeterHit", "SimTrackerHit", "TrackerHit", "TrackerHitPlane", "Track", "ReconstructedParticle", "LCFloatVec", "Clusters"], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles", "MCPhysicsParticles"], - "KeepCollectionNames": ["MCParticlesSkimmed", "MCPhysicsParticles", "RecoMCTruthLink", "SiTracks", "SiTracks_Refitted", "PandoraClusters", "PandoraPFOs", "SelectedPandoraPFOs", "LooseSelectedPandoraPFOs", "TightSelectedPandoraPFOs", "LE_SelectedPandoraPFOs", "LE_LooseSelectedPandoraPFOs", "LE_TightSelectedPandoraPFOs", "LumiCalClusters", "LumiCalRecoParticles", "BeamCalClusters", "BeamCalRecoParticles", "MergedRecoParticles", "MergedClusters", "RefinedVertexJets", "RefinedVertexJets_rel", "RefinedVertexJets_vtx", "RefinedVertexJets_vtx_RP", "BuildUpVertices", "BuildUpVertices_res", "BuildUpVertices_RP", "BuildUpVertices_res_RP", "BuildUpVertices_V0", "BuildUpVertices_V0_res", "BuildUpVertices_V0_RP", "BuildUpVertices_V0_res_RP", "PrimaryVertices", "PrimaryVertices_res", "PrimaryVertices_RP", "PrimaryVertices_res_RP", "RefinedVertices", "RefinedVertices_RP"], - "LCIOOutputFile": ["Output_DST_e4h_input.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [ + "MCParticle", + "LCRelation", + "SimCalorimeterHit", + "CalorimeterHit", + "SimTrackerHit", + "TrackerHit", + "TrackerHitPlane", + "Track", + "ReconstructedParticle", + "LCFloatVec", + "Clusters", + ], + "FullSubsetCollections": [ + "EfficientMCParticles", + "InefficientMCParticles", + "MCPhysicsParticles", + ], + "KeepCollectionNames": [ + "MCParticlesSkimmed", + "MCPhysicsParticles", + "RecoMCTruthLink", + "SiTracks", + "SiTracks_Refitted", + "PandoraClusters", + "PandoraPFOs", + "SelectedPandoraPFOs", + "LooseSelectedPandoraPFOs", + "TightSelectedPandoraPFOs", + "LE_SelectedPandoraPFOs", + "LE_LooseSelectedPandoraPFOs", + "LE_TightSelectedPandoraPFOs", + "LumiCalClusters", + "LumiCalRecoParticles", + "BeamCalClusters", + "BeamCalRecoParticles", + "MergedRecoParticles", + "MergedClusters", + "RefinedVertexJets", + "RefinedVertexJets_rel", + "RefinedVertexJets_vtx", + "RefinedVertexJets_vtx_RP", + "BuildUpVertices", + "BuildUpVertices_res", + "BuildUpVertices_RP", + "BuildUpVertices_res_RP", + "BuildUpVertices_V0", + "BuildUpVertices_V0_res", + "BuildUpVertices_V0_RP", + "BuildUpVertices_V0_res_RP", + "PrimaryVertices", + "PrimaryVertices_res", + "PrimaryVertices_RP", + "PrimaryVertices_res_RP", + "RefinedVertices", + "RefinedVertices_RP", + ], + "LCIOOutputFile": ["Output_DST_e4h_input.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} OverlayFalse = MarlinProcessorWrapper("OverlayFalse") OverlayFalse.OutputLevel = DEBUG OverlayFalse.ProcessorType = "OverlayTimingGeneric" OverlayFalse.Parameters = { - "BackgroundFileNames": [], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["0"], - "NumberBackground": ["0."], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": [], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["0"], + "NumberBackground": ["0."], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} # LCIO to EDM4hep OverlayFalseLCIOConv = Lcio2EDM4hepTool("OverlayFalseLCIOConv") OverlayFalseLCIOConv.convertAll = False -OverlayFalseLCIOConv.collNameMapping = { - "MCPhysicsParticles": "MCPhysicsParticles" - } +OverlayFalseLCIOConv.collNameMapping = {"MCPhysicsParticles": "MCPhysicsParticles"} OverlayFalseLCIOConv.OutputLevel = DEBUG # Add it to OverlayFalse Algorithm -OverlayFalse.Lcio2EDM4hepTool=OverlayFalseLCIOConv - - - +OverlayFalse.Lcio2EDM4hepTool = OverlayFalseLCIOConv Overlay350GeV_CDR = MarlinProcessorWrapper("Overlay350GeV_CDR") Overlay350GeV_CDR.OutputLevel = WARNING Overlay350GeV_CDR.ProcessorType = "OverlayTimingGeneric" Overlay350GeV_CDR.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.0464"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.0464"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay350GeV = MarlinProcessorWrapper("Overlay350GeV") Overlay350GeV.OutputLevel = WARNING Overlay350GeV.ProcessorType = "OverlayTimingGeneric" Overlay350GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.16"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.16"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay350GeV_L6 = MarlinProcessorWrapper("Overlay350GeV_L6") Overlay350GeV_L6.OutputLevel = WARNING Overlay350GeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay350GeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.14"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.14"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay380GeV_CDR = MarlinProcessorWrapper("Overlay380GeV_CDR") Overlay380GeV_CDR.OutputLevel = WARNING Overlay380GeV_CDR.ProcessorType = "OverlayTimingGeneric" Overlay380GeV_CDR.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.0464"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.0464"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay380GeV = MarlinProcessorWrapper("Overlay380GeV") Overlay380GeV.OutputLevel = WARNING Overlay380GeV.ProcessorType = "OverlayTimingGeneric" Overlay380GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.18"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.18"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay380GeV_L6 = MarlinProcessorWrapper("Overlay380GeV_L6") Overlay380GeV_L6.OutputLevel = WARNING Overlay380GeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay380GeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.178"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.178"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay420GeV = MarlinProcessorWrapper("Overlay420GeV") Overlay420GeV.OutputLevel = WARNING Overlay420GeV.ProcessorType = "OverlayTimingGeneric" Overlay420GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.17"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.17"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay500GeV = MarlinProcessorWrapper("Overlay500GeV") Overlay500GeV.OutputLevel = WARNING Overlay500GeV.ProcessorType = "OverlayTimingGeneric" Overlay500GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.3"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.3"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay1_4TeV = MarlinProcessorWrapper("Overlay1.4TeV") Overlay1_4TeV.OutputLevel = WARNING Overlay1_4TeV.ProcessorType = "OverlayTimingGeneric" Overlay1_4TeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["1.3"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["1.3"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay3TeV = MarlinProcessorWrapper("Overlay3TeV") Overlay3TeV.OutputLevel = WARNING Overlay3TeV.ProcessorType = "OverlayTimingGeneric" Overlay3TeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["3.2"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["3.2"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay3TeV_L6 = MarlinProcessorWrapper("Overlay3TeV_L6") Overlay3TeV_L6.OutputLevel = WARNING Overlay3TeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay3TeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["3.12"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["3.12"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} MergeRP = MarlinProcessorWrapper("MergeRP") MergeRP.OutputLevel = WARNING MergeRP.ProcessorType = "MergeCollections" MergeRP.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraPFOs", "LumiCalRecoParticles", "BeamCalRecoParticles"], - "OutputCollection": ["MergedRecoParticles"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraPFOs", "LumiCalRecoParticles", "BeamCalRecoParticles"], + "OutputCollection": ["MergedRecoParticles"], +} # LCIO to EDM4hep MergeRPLCIOConv = Lcio2EDM4hepTool("MergeRPLCIOConv") MergeRPLCIOConv.convertAll = False -MergeRPLCIOConv.collNameMapping = { - "MergedRecoParticles": "MergedRecoParticles" - } +MergeRPLCIOConv.collNameMapping = {"MergedRecoParticles": "MergedRecoParticles"} MergeRPLCIOConv.OutputLevel = DEBUG # Add it to MergeRP Algorithm -MergeRP.Lcio2EDM4hepTool=MergeRPLCIOConv - - +MergeRP.Lcio2EDM4hepTool = MergeRPLCIOConv MergeClusters = MarlinProcessorWrapper("MergeClusters") MergeClusters.OutputLevel = WARNING MergeClusters.ProcessorType = "MergeCollections" MergeClusters.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraClusters", "LumiCalClusterer", "BeamCalClusters"], - "OutputCollection": ["MergedClusters"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraClusters", "LumiCalClusterer", "BeamCalClusters"], + "OutputCollection": ["MergedClusters"], +} # LCIO to EDM4hep MergeClustersLCIOConv = Lcio2EDM4hepTool("MergeClustersLCIOConv") MergeClustersLCIOConv.convertAll = False -MergeClustersLCIOConv.collNameMapping = { - "MergedClusters": "MergedClusters" - } +MergeClustersLCIOConv.collNameMapping = {"MergedClusters": "MergedClusters"} MergeClustersLCIOConv.OutputLevel = DEBUG # Add it to MergeClusters Algorithm -MergeClusters.Lcio2EDM4hepTool=MergeClustersLCIOConv - - +MergeClusters.Lcio2EDM4hepTool = MergeClustersLCIOConv BeamCalReco3TeV = MarlinProcessorWrapper("BeamCalReco3TeV") BeamCalReco3TeV.OutputLevel = WARNING BeamCalReco3TeV.ProcessorType = "BeamCalClusterReco" BeamCalReco3TeV.Parameters = { - "BackgroundMethod": ["Gaussian"], - "BeamCalCollectionName": ["BeamCalCollection"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["BeamCal"], - "DetectorStartingLayerID": ["1"], - "ETCluster": ["5.0", "4.0", "3.0", "2.0", "2.0", "1.0"], - "ETPad": ["0.5", "0.4", "0.3", "0.2", "0.15", "0.1"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": ["BeamCal_BackgroundPars_3TeV.root"], - "LinearCalibrationFactor": ["116.44"], - "MCParticleCollectionName": ["MCParticle"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["3"], - "NumberOfBX": ["40"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["BeamCalClusters"], - "RecoParticleCollectionname": ["BeamCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["10"], - "StartingRing": ["0.0", "1.0", "1.5", "2.5", "3.5", "4.5"], - "SubClusterEnergyID": ["5"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["true"] - } + "BackgroundMethod": ["Gaussian"], + "BeamCalCollectionName": ["BeamCalCollection"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["BeamCal"], + "DetectorStartingLayerID": ["1"], + "ETCluster": ["5.0", "4.0", "3.0", "2.0", "2.0", "1.0"], + "ETPad": ["0.5", "0.4", "0.3", "0.2", "0.15", "0.1"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": ["BeamCal_BackgroundPars_3TeV.root"], + "LinearCalibrationFactor": ["116.44"], + "MCParticleCollectionName": ["MCParticle"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["3"], + "NumberOfBX": ["40"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["BeamCalClusters"], + "RecoParticleCollectionname": ["BeamCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["10"], + "StartingRing": ["0.0", "1.0", "1.5", "2.5", "3.5", "4.5"], + "SubClusterEnergyID": ["5"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["true"], +} BeamCalReco380GeV = MarlinProcessorWrapper("BeamCalReco380GeV") BeamCalReco380GeV.OutputLevel = WARNING BeamCalReco380GeV.ProcessorType = "BeamCalClusterReco" BeamCalReco380GeV.Parameters = { - "BackgroundMethod": ["Gaussian"], - "BeamCalCollectionName": ["BeamCalCollection"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["BeamCal"], - "DetectorStartingLayerID": ["1"], - "ETCluster": ["1.0"], - "ETPad": ["0.01"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": ["BeamCal_BackgroundPars_380GeV.root"], - "LinearCalibrationFactor": ["116.44"], - "MCParticleCollectionName": ["MCParticle"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["3"], - "NumberOfBX": ["40"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["BeamCalClusters"], - "RecoParticleCollectionname": ["BeamCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["2"], - "StartingRing": ["0.0"], - "SubClusterEnergyID": ["5"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["false"] - } + "BackgroundMethod": ["Gaussian"], + "BeamCalCollectionName": ["BeamCalCollection"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["BeamCal"], + "DetectorStartingLayerID": ["1"], + "ETCluster": ["1.0"], + "ETPad": ["0.01"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": ["BeamCal_BackgroundPars_380GeV.root"], + "LinearCalibrationFactor": ["116.44"], + "MCParticleCollectionName": ["MCParticle"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["3"], + "NumberOfBX": ["40"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["BeamCalClusters"], + "RecoParticleCollectionname": ["BeamCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["2"], + "StartingRing": ["0.0"], + "SubClusterEnergyID": ["5"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["false"], +} CLICPfoSelectorDefault_HE = MarlinProcessorWrapper("CLICPfoSelectorDefault_HE") CLICPfoSelectorDefault_HE.OutputLevel = WARNING CLICPfoSelectorDefault_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorDefault_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-1"], - "ChargedPfoNegativeTightTimingCut": ["-0.5"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["0.5"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["SelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-1"], + "ChargedPfoNegativeTightTimingCut": ["-0.5"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["0.5"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["SelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorDefault_HELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorDefault_HELCIOConv") CLICPfoSelectorDefault_HELCIOConv.convertAll = False -CLICPfoSelectorDefault_HELCIOConv.collNameMapping = { - "SelectedPandoraPFOs": "SelectedPandoraPFOs" - } +CLICPfoSelectorDefault_HELCIOConv.collNameMapping = {"SelectedPandoraPFOs": "SelectedPandoraPFOs"} CLICPfoSelectorDefault_HELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorDefault_HE Algorithm -CLICPfoSelectorDefault_HE.Lcio2EDM4hepTool=CLICPfoSelectorDefault_HELCIOConv - - - - +CLICPfoSelectorDefault_HE.Lcio2EDM4hepTool = CLICPfoSelectorDefault_HELCIOConv CLICPfoSelectorLoose_HE = MarlinProcessorWrapper("CLICPfoSelectorLoose_HE") CLICPfoSelectorLoose_HE.OutputLevel = WARNING CLICPfoSelectorLoose_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorLoose_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-2.0"], - "ChargedPfoNegativeTightTimingCut": ["-2.0"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["1000."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.25"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2.5"], - "NeutralFarForwardTightTimingCut": ["1.5"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2."], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["2."], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-2.0"], + "ChargedPfoNegativeTightTimingCut": ["-2.0"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["1000."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.25"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2.5"], + "NeutralFarForwardTightTimingCut": ["1.5"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2."], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["2."], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorLoose_HELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorLoose_HELCIOConv") CLICPfoSelectorLoose_HELCIOConv.convertAll = False CLICPfoSelectorLoose_HELCIOConv.collNameMapping = { - "CLICPfoSelectorLoose_HE": "CLICPfoSelectorLoose_HE" - } + "CLICPfoSelectorLoose_HE": "CLICPfoSelectorLoose_HE" +} CLICPfoSelectorLoose_HELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorLoose_HE Algorithm -CLICPfoSelectorLoose_HE.Lcio2EDM4hepTool=CLICPfoSelectorLoose_HELCIOConv - +CLICPfoSelectorLoose_HE.Lcio2EDM4hepTool = CLICPfoSelectorLoose_HELCIOConv CLICPfoSelectorTight_HE = MarlinProcessorWrapper("CLICPfoSelectorTight_HE") CLICPfoSelectorTight_HE.OutputLevel = WARNING CLICPfoSelectorTight_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorTight_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["2.0"], - "ChargedPfoNegativeLooseTimingCut": ["-0.5"], - "ChargedPfoNegativeTightTimingCut": ["-0.25"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.95"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["1.5"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["1.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["1.5"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0.5"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0.2"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["1.0"], - "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], - "UseClusterLessPfos": ["0"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["2.0"], + "ChargedPfoNegativeLooseTimingCut": ["-0.5"], + "ChargedPfoNegativeTightTimingCut": ["-0.25"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.95"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["1.5"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["1.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["1.5"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0.5"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0.2"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["1.0"], + "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], + "UseClusterLessPfos": ["0"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorTight_HELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorTight_HELCIOConv") CLICPfoSelectorTight_HELCIOConv.convertAll = False CLICPfoSelectorTight_HELCIOConv.collNameMapping = { - "TightSelectedPandoraPFOs": "TightSelectedPandoraPFOs" - } + "TightSelectedPandoraPFOs": "TightSelectedPandoraPFOs" +} CLICPfoSelectorTight_HELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorTight_HE Algorithm -CLICPfoSelectorTight_HE.Lcio2EDM4hepTool=CLICPfoSelectorTight_HELCIOConv - - +CLICPfoSelectorTight_HE.Lcio2EDM4hepTool = CLICPfoSelectorTight_HELCIOConv CLICPfoSelectorDefault_LE = MarlinProcessorWrapper("CLICPfoSelectorDefault_LE") CLICPfoSelectorDefault_LE.OutputLevel = WARNING CLICPfoSelectorDefault_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorDefault_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["10.0"], - "ChargedPfoNegativeLooseTimingCut": ["-5.0"], - "ChargedPfoNegativeTightTimingCut": ["-2.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["4.0"], - "ChargedPfoTightTimingCut": ["3.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["5"], - "HCalBarrelTightTimingCut": ["2.5"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["4.0"], - "NeutralFarForwardTightTimingCut": ["2.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["5.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["2.0"], - "NeutralHadronTightTimingCut": ["2.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["5.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["1.0"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_SelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["10.0"], + "ChargedPfoNegativeLooseTimingCut": ["-5.0"], + "ChargedPfoNegativeTightTimingCut": ["-2.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["4.0"], + "ChargedPfoTightTimingCut": ["3.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["5"], + "HCalBarrelTightTimingCut": ["2.5"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["4.0"], + "NeutralFarForwardTightTimingCut": ["2.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["5.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["2.0"], + "NeutralHadronTightTimingCut": ["2.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["5.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["1.0"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_SelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorDefault_LELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorDefault_LELCIOConv") CLICPfoSelectorDefault_LELCIOConv.convertAll = False CLICPfoSelectorDefault_LELCIOConv.collNameMapping = { - "LE_SelectedPandoraPFOs": "LE_SelectedPandoraPFOs" - } + "LE_SelectedPandoraPFOs": "LE_SelectedPandoraPFOs" +} CLICPfoSelectorDefault_LELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorDefault_LE Algorithm -CLICPfoSelectorDefault_LE.Lcio2EDM4hepTool=CLICPfoSelectorDefault_LELCIOConv - - - +CLICPfoSelectorDefault_LE.Lcio2EDM4hepTool = CLICPfoSelectorDefault_LELCIOConv CLICPfoSelectorLoose_LE = MarlinProcessorWrapper("CLICPfoSelectorLoose_LE") CLICPfoSelectorLoose_LE.OutputLevel = WARNING CLICPfoSelectorLoose_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorLoose_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["10.0"], - "ChargedPfoNegativeLooseTimingCut": ["-20.0"], - "ChargedPfoNegativeTightTimingCut": ["-20.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["4.0"], - "ChargedPfoTightTimingCut": ["5.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["50."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["10"], - "HCalBarrelTightTimingCut": ["5"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["10.0"], - "NeutralFarForwardTightTimingCut": ["5.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["10.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["2.0"], - "NeutralHadronTightTimingCut": ["5.0"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["10.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["2.5"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_LooseSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["10.0"], + "ChargedPfoNegativeLooseTimingCut": ["-20.0"], + "ChargedPfoNegativeTightTimingCut": ["-20.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["4.0"], + "ChargedPfoTightTimingCut": ["5.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["50."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["10"], + "HCalBarrelTightTimingCut": ["5"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["10.0"], + "NeutralFarForwardTightTimingCut": ["5.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["10.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["2.0"], + "NeutralHadronTightTimingCut": ["5.0"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["10.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["2.5"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_LooseSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorLoose_LELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorLoose_LELCIOConv") CLICPfoSelectorLoose_LELCIOConv.convertAll = False CLICPfoSelectorLoose_LELCIOConv.collNameMapping = { - "LE_LooseSelectedPandoraPFOs": "LE_LooseSelectedPandoraPFOs" - } + "LE_LooseSelectedPandoraPFOs": "LE_LooseSelectedPandoraPFOs" +} CLICPfoSelectorLoose_LELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorLoose_LE Algorithm -CLICPfoSelectorLoose_LE.Lcio2EDM4hepTool=CLICPfoSelectorLoose_LELCIOConv - - - +CLICPfoSelectorLoose_LE.Lcio2EDM4hepTool = CLICPfoSelectorLoose_LELCIOConv CLICPfoSelectorTight_LE = MarlinProcessorWrapper("CLICPfoSelectorTight_LE") CLICPfoSelectorTight_LE.OutputLevel = WARNING CLICPfoSelectorTight_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorTight_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["4.0"], - "ChargedPfoNegativeLooseTimingCut": ["-2.0"], - "ChargedPfoNegativeTightTimingCut": ["-1.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["3.0"], - "ChargedPfoTightTimingCut": ["2.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["4"], - "HCalBarrelTightTimingCut": ["2"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.75"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2.0"], - "NeutralFarForwardTightTimingCut": ["2.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["4.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["3.0"], - "NeutralHadronTightTimingCut": ["2.0"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["1.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["1.0"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_TightSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["4.0"], + "ChargedPfoNegativeLooseTimingCut": ["-2.0"], + "ChargedPfoNegativeTightTimingCut": ["-1.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["3.0"], + "ChargedPfoTightTimingCut": ["2.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["4"], + "HCalBarrelTightTimingCut": ["2"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.75"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2.0"], + "NeutralFarForwardTightTimingCut": ["2.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["4.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["3.0"], + "NeutralHadronTightTimingCut": ["2.0"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["1.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["1.0"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_TightSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} # LCIO to EDM4hep CLICPfoSelectorTight_LELCIOConv = Lcio2EDM4hepTool("CLICPfoSelectorTight_LELCIOConv") CLICPfoSelectorTight_LELCIOConv.convertAll = False CLICPfoSelectorTight_LELCIOConv.collNameMapping = { - "LE_TightSelectedPandoraPFOs": "LE_TightSelectedPandoraPFOs" - } + "LE_TightSelectedPandoraPFOs": "LE_TightSelectedPandoraPFOs" +} CLICPfoSelectorTight_LELCIOConv.OutputLevel = DEBUG # Add it to CLICPfoSelectorTight_LE Algorithm -CLICPfoSelectorTight_LE.Lcio2EDM4hepTool=CLICPfoSelectorTight_LELCIOConv - - +CLICPfoSelectorTight_LE.Lcio2EDM4hepTool = CLICPfoSelectorTight_LELCIOConv VertexFinder = MarlinProcessorWrapper("VertexFinder") VertexFinder.OutputLevel = WARNING VertexFinder.ProcessorType = "LcfiplusProcessor" VertexFinder.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["40.E-6"], - "BeamSizeY": ["1.0E-6"], - "BeamSizeZ": ["44E-3"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], - "BuildUpVertexCollectionName": ["BuildUpVertices"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["PFOsFromJets"], - "PrimaryVertexCollectionName": ["PrimaryVertices"], - "PrimaryVertexFinder.BeamspotConstraint": ["1"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["40.E-6"], + "BeamSizeY": ["1.0E-6"], + "BeamSizeZ": ["44E-3"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], + "BuildUpVertexCollectionName": ["BuildUpVertices"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["PFOsFromJets"], + "PrimaryVertexCollectionName": ["PrimaryVertices"], + "PrimaryVertexFinder.BeamspotConstraint": ["1"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} # LCIO to EDM4hep VertexFinderLCIOConv = Lcio2EDM4hepTool("VertexFinderLCIOConv") VertexFinderLCIOConv.convertAll = False VertexFinderLCIOConv.collNameMapping = { - "BuildUpVertices_V0": "BuildUpVertices_V0", - "BuildUpVertices": "BuildUpVertices", - "PrimaryVertices": "PrimaryVertices", - "BuildUpVertices_RP": "BuildUpVertices_RP", - "BuildUpVertices_V0_RP": "BuildUpVertices_V0_RP", - "PrimaryVertices_RP": "PrimaryVertices_RP", - } + "BuildUpVertices_V0": "BuildUpVertices_V0", + "BuildUpVertices": "BuildUpVertices", + "PrimaryVertices": "PrimaryVertices", + "BuildUpVertices_RP": "BuildUpVertices_RP", + "BuildUpVertices_V0_RP": "BuildUpVertices_V0_RP", + "PrimaryVertices_RP": "PrimaryVertices_RP", +} VertexFinderLCIOConv.OutputLevel = DEBUG # Add it to VertexFinder Algorithm -VertexFinder.Lcio2EDM4hepTool=VertexFinderLCIOConv - - +VertexFinder.Lcio2EDM4hepTool = VertexFinderLCIOConv VertexFinderUnconstrained = MarlinProcessorWrapper("VertexFinderUnconstrained") VertexFinderUnconstrained.OutputLevel = WARNING VertexFinderUnconstrained.ProcessorType = "LcfiplusProcessor" VertexFinderUnconstrained.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["40.E-6"], - "BeamSizeY": ["1.0E-6"], - "BeamSizeZ": ["44E-3"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], - "BuildUpVertexCollectionName": ["BuildUpVertices_res"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["TightSelectedPandoraPFOs"], - "PrimaryVertexCollectionName": ["PrimaryVertices_res"], - "PrimaryVertexFinder.BeamspotConstraint": ["0"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["40.E-6"], + "BeamSizeY": ["1.0E-6"], + "BeamSizeZ": ["44E-3"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], + "BuildUpVertexCollectionName": ["BuildUpVertices_res"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["TightSelectedPandoraPFOs"], + "PrimaryVertexCollectionName": ["PrimaryVertices_res"], + "PrimaryVertexFinder.BeamspotConstraint": ["0"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} # Write output to EDM4hep from Configurables import PodioOutput -out = PodioOutput("PodioOutput", filename = "my_output.root") + +out = PodioOutput("PodioOutput", filename="my_output.root") out.outputCommands = ["keep *"] @@ -1811,9 +2489,5 @@ algList.append(out) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 3, - ExtSvc = [evtsvc], - OutputLevel=WARNING - ) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=[evtsvc], OutputLevel=WARNING) diff --git a/k4MarlinWrapper/examples/event_display.py b/k4MarlinWrapper/examples/event_display.py index 36d0a500..bc09d35d 100644 --- a/k4MarlinWrapper/examples/event_display.py +++ b/k4MarlinWrapper/examples/event_display.py @@ -36,7 +36,7 @@ "--compactFile", help="Compact detector file to use", type=str, - default="CLICPerformance/Visualisation/CLIC_o3_v06_CED/CLIC_o3_v06_CED.xml" + default="CLICPerformance/Visualisation/CLIC_o3_v06_CED/CLIC_o3_v06_CED.xml", ) reco_args = parser.parse_known_args()[0] @@ -66,138 +66,463 @@ MyCEDViewer.OutputLevel = INFO MyCEDViewer.ProcessorType = "DDCEDViewer" MyCEDViewer.Parameters = { - "ColorByEnergy": ["false"], - "ColorByEnergyAutoColor": ["false"], - "ColorByEnergyBrightness": ["1.0"], - "ColorByEnergyMax": ["35.0"], - "ColorByEnergyMin": ["0.0"], - "ColorByEnergySaturation": ["1.0"], - "ColorScheme": ["10"], - "DetailledDrawing": ["VXD", "VertexBarrel"], - "DrawDetector": ["true"], - "DrawDetectorID": ["0"], - "DrawHelixForPFOs": ["0"], - "DrawHelixForTrack": ["0"], - "DrawInLayer": [ - "VXDCollection", "0", "5", "1", - "SITCollection", "0", "5", "1", - "FTD_PIXELCollection", "0", "5", "1", - "FTD_STRIPCollection", "0", "5", "1", - "FTDCollection", "0", "5", "1", - "TPCCollection", "0", "3", "1", - "SETCollection", "0", "3", "1", - "ETDCollection", "0", "3", "1", - "VertexBarrelCollection", "0", "5", "1", - "VertexEndcapCollection", "0", "5", "1", - "InnerTrackerBarrelCollection", "0", "5", "1", - "InnerTrackerEndcapCollection", "0", "5", "1", - "OuterTrackerBarrelCollection", "0", "5", "1", - "OuterTrackerEndcapCollection", "0", "5", "1", - "VXDTrackerHits", "0", "5", "11", - "SITTrackerHits", "0", "5", "11", - "TPCTrackerHits", "0", "5", "11", - "FTDTrackerHits", "0", "5", "11", - "FTDStripTrackerHits", "0", "5", "11", - "FTDPixelTrackerHits", "0", "5", "11", - "FTDSpacePoints", "0", "5", "11", - "SETTrackerHits", "0", "5", "11", - "ITrackerEndcapHits", "0", "5", "11", - "ITrackerHits", "0", "5", "11", - "OTrackerEndcapHits", "0", "5", "11", - "OTrackerHits", "0", "5", "11", - "VXDEndcapTrackerHits", "0", "5", "11", - "LHcalCollection", "0", "3", "2", - "LumiCalCollection", "0", "3", "2", - "MuonBarrelCollection", "0", "3", "2", - "MuonEndCapCollection", "0", "3", "2", - "EcalBarrelSiliconCollection", "0", "3", "2", - "EcalBarrelSiliconPreShower", "0", "3", "2", - "EcalEndcapRingCollection", "0", "3", "2", - "EcalEndcapRingPreShower", "0", "3", "2", - "EcalEndcapSiliconCollection", "0", "3", "2", - "EcalEndcapSiliconPreShower", "0", "3", "2", - "HcalBarrelRegCollection", "0", "3", "2", - "HcalEndCapRingCollection", "0", "3", "2", - "HcalEndCapsCollection", "0", "3", "2", - "HcalEndcapRingCollection", "0", "3", "2", - "HcalEndcapsCollection", "0", "3", "2", - "ECalBarrelSiHitsEven", "0", "3", "2", - "ECalBarrelSiHitsOdd", "0", "3", "2", - "ECalEndcapSiHitsEven", "0", "3", "2", - "ECalEndcapSiHitsOdd", "0", "3", "2", - "EcalBarrelCollection", "0", "3", "2", - "EcalEndcapsCollection", "0", "3", "2", - "YokeEndcapsCollection", "0", "3", "2", - "ECalBarrelCollection", "0", "3", "2", - "ECalEndcapCollection", "0", "3", "2", - "ECalPlugCollection", "0", "3", "2", - "EcalBarrelCollection", "0", "3", "2", - "EcalEndcapCollection", "0", "3", "2", - "EcalPlugCollection", "0", "3", "2", - "HCalBarrelCollection", "0", "3", "2", - "HCalEndcapCollection", "0", "3", "2", - "HCalRingCollection", "0", "3", "2", - "YokeBarrelCollection", "0", "3", "2", - "YokeEndcapCollection", "0", "3", "2", - "LumiCalCollection", "0", "3", "2", - "BeamCalCollection", "0", "3", "2", - "HCALEndcap", "0", "5", "12", - "HCALOther", "0", "5", "12", - "MUON", "0", "2", "12", - "LHCAL", "0", "3", "12", - "LCAL", "0", "3", "12", - "BCAL", "0", "3", "12", - "ECALBarrel", "0", "2", "12", - "ECALEndcap", "0", "2", "12", - "ECALOther", "0", "2", "12", - "HCALBarrel", "0", "5", "12", - "EcalBarrelCollectionRec", "0", "5", "12", - "EcalEndcapRingCollectionRec", "0", "5", "12", - "EcalEndcapsCollectionRec", "0", "5", "12", - "HcalBarrelCollectionRec", "0", "5", "12", - "HcalEndcapRingCollectionRec", "0", "5", "12", - "HcalEndcapsCollectionRec", "0", "5", "12", - "TruthTracks", "0", "6", "3", - "ForwardTracks", "0", "6", "4", - "SiTracks", "0", "6", "5", - "ClupatraTracks", "0", "6", "6", - "MarlinTrkTracks", "0", "6", "7", - "PandoraClusters", "0", "3", "8", - "PandoraPFOs", "0", "3", "9", - "MCParticle", "0", "3", "0", - "VertexBarrelHits", "0", "5", "11", - "VertexEndcapHits", "0", "5", "11", - "InnerTrackerBarrelHits", "0", "5", "11", - "InnerTrackerEndcapHits", "0", "5", "11", - "OuterTrackerBarrelHits", "0", "5", "11", - "OuterTrackerEndcapHits", "0", "5", "11", - "ECalBarrelHits", "0", "3", "12", - "ECalEndcapHits", "0", "3", "12", - "ECalPlugHits", "0", "3", "12", - "HCalBarrelHits", "0", "3", "12", - "HCalEndcapHits", "0", "3", "12", - "HCalRingHits", "0", "3", "12", - "YokeBarrelHits", "0", "3", "12", - "YokeEndcapHits", "0", "3", "12", - "LumiCalHits", "0", "3", "12", - "BeamCalHits", "0", "3", "12", - "Tracks", "0", "3", "3", - "SelectedPandoraPFOCollection", "0", "3", "4", - "LooseSelectedPandoraPFOCollection", "0", "3", "5", - "TightSelectedPandoraPFOCollection", "0", "3", "6", - "PandoraPFOCollection", "0", "3", "7", - "JetOut", "0", "0", "3"], - "DrawSurfaces": ["true"], - "HelixMaxR": ["2000"], - "HelixMaxZ": ["2500"], - "MCParticleEnergyCut": ["0.001"], - "ScaleLineThickness": ["1"], - "ScaleMarkerSize": ["1"], - "UseColorForHelixTracks": ["0"], - "UseTPCForLimitsOfHelix": ["true"], - "UsingParticleGun": ["false"], - "WaitForKeyboard": ["1"] - } + "ColorByEnergy": ["false"], + "ColorByEnergyAutoColor": ["false"], + "ColorByEnergyBrightness": ["1.0"], + "ColorByEnergyMax": ["35.0"], + "ColorByEnergyMin": ["0.0"], + "ColorByEnergySaturation": ["1.0"], + "ColorScheme": ["10"], + "DetailledDrawing": ["VXD", "VertexBarrel"], + "DrawDetector": ["true"], + "DrawDetectorID": ["0"], + "DrawHelixForPFOs": ["0"], + "DrawHelixForTrack": ["0"], + "DrawInLayer": [ + "VXDCollection", + "0", + "5", + "1", + "SITCollection", + "0", + "5", + "1", + "FTD_PIXELCollection", + "0", + "5", + "1", + "FTD_STRIPCollection", + "0", + "5", + "1", + "FTDCollection", + "0", + "5", + "1", + "TPCCollection", + "0", + "3", + "1", + "SETCollection", + "0", + "3", + "1", + "ETDCollection", + "0", + "3", + "1", + "VertexBarrelCollection", + "0", + "5", + "1", + "VertexEndcapCollection", + "0", + "5", + "1", + "InnerTrackerBarrelCollection", + "0", + "5", + "1", + "InnerTrackerEndcapCollection", + "0", + "5", + "1", + "OuterTrackerBarrelCollection", + "0", + "5", + "1", + "OuterTrackerEndcapCollection", + "0", + "5", + "1", + "VXDTrackerHits", + "0", + "5", + "11", + "SITTrackerHits", + "0", + "5", + "11", + "TPCTrackerHits", + "0", + "5", + "11", + "FTDTrackerHits", + "0", + "5", + "11", + "FTDStripTrackerHits", + "0", + "5", + "11", + "FTDPixelTrackerHits", + "0", + "5", + "11", + "FTDSpacePoints", + "0", + "5", + "11", + "SETTrackerHits", + "0", + "5", + "11", + "ITrackerEndcapHits", + "0", + "5", + "11", + "ITrackerHits", + "0", + "5", + "11", + "OTrackerEndcapHits", + "0", + "5", + "11", + "OTrackerHits", + "0", + "5", + "11", + "VXDEndcapTrackerHits", + "0", + "5", + "11", + "LHcalCollection", + "0", + "3", + "2", + "LumiCalCollection", + "0", + "3", + "2", + "MuonBarrelCollection", + "0", + "3", + "2", + "MuonEndCapCollection", + "0", + "3", + "2", + "EcalBarrelSiliconCollection", + "0", + "3", + "2", + "EcalBarrelSiliconPreShower", + "0", + "3", + "2", + "EcalEndcapRingCollection", + "0", + "3", + "2", + "EcalEndcapRingPreShower", + "0", + "3", + "2", + "EcalEndcapSiliconCollection", + "0", + "3", + "2", + "EcalEndcapSiliconPreShower", + "0", + "3", + "2", + "HcalBarrelRegCollection", + "0", + "3", + "2", + "HcalEndCapRingCollection", + "0", + "3", + "2", + "HcalEndCapsCollection", + "0", + "3", + "2", + "HcalEndcapRingCollection", + "0", + "3", + "2", + "HcalEndcapsCollection", + "0", + "3", + "2", + "ECalBarrelSiHitsEven", + "0", + "3", + "2", + "ECalBarrelSiHitsOdd", + "0", + "3", + "2", + "ECalEndcapSiHitsEven", + "0", + "3", + "2", + "ECalEndcapSiHitsOdd", + "0", + "3", + "2", + "EcalBarrelCollection", + "0", + "3", + "2", + "EcalEndcapsCollection", + "0", + "3", + "2", + "YokeEndcapsCollection", + "0", + "3", + "2", + "ECalBarrelCollection", + "0", + "3", + "2", + "ECalEndcapCollection", + "0", + "3", + "2", + "ECalPlugCollection", + "0", + "3", + "2", + "EcalBarrelCollection", + "0", + "3", + "2", + "EcalEndcapCollection", + "0", + "3", + "2", + "EcalPlugCollection", + "0", + "3", + "2", + "HCalBarrelCollection", + "0", + "3", + "2", + "HCalEndcapCollection", + "0", + "3", + "2", + "HCalRingCollection", + "0", + "3", + "2", + "YokeBarrelCollection", + "0", + "3", + "2", + "YokeEndcapCollection", + "0", + "3", + "2", + "LumiCalCollection", + "0", + "3", + "2", + "BeamCalCollection", + "0", + "3", + "2", + "HCALEndcap", + "0", + "5", + "12", + "HCALOther", + "0", + "5", + "12", + "MUON", + "0", + "2", + "12", + "LHCAL", + "0", + "3", + "12", + "LCAL", + "0", + "3", + "12", + "BCAL", + "0", + "3", + "12", + "ECALBarrel", + "0", + "2", + "12", + "ECALEndcap", + "0", + "2", + "12", + "ECALOther", + "0", + "2", + "12", + "HCALBarrel", + "0", + "5", + "12", + "EcalBarrelCollectionRec", + "0", + "5", + "12", + "EcalEndcapRingCollectionRec", + "0", + "5", + "12", + "EcalEndcapsCollectionRec", + "0", + "5", + "12", + "HcalBarrelCollectionRec", + "0", + "5", + "12", + "HcalEndcapRingCollectionRec", + "0", + "5", + "12", + "HcalEndcapsCollectionRec", + "0", + "5", + "12", + "TruthTracks", + "0", + "6", + "3", + "ForwardTracks", + "0", + "6", + "4", + "SiTracks", + "0", + "6", + "5", + "ClupatraTracks", + "0", + "6", + "6", + "MarlinTrkTracks", + "0", + "6", + "7", + "PandoraClusters", + "0", + "3", + "8", + "PandoraPFOs", + "0", + "3", + "9", + "MCParticle", + "0", + "3", + "0", + "VertexBarrelHits", + "0", + "5", + "11", + "VertexEndcapHits", + "0", + "5", + "11", + "InnerTrackerBarrelHits", + "0", + "5", + "11", + "InnerTrackerEndcapHits", + "0", + "5", + "11", + "OuterTrackerBarrelHits", + "0", + "5", + "11", + "OuterTrackerEndcapHits", + "0", + "5", + "11", + "ECalBarrelHits", + "0", + "3", + "12", + "ECalEndcapHits", + "0", + "3", + "12", + "ECalPlugHits", + "0", + "3", + "12", + "HCalBarrelHits", + "0", + "3", + "12", + "HCalEndcapHits", + "0", + "3", + "12", + "HCalRingHits", + "0", + "3", + "12", + "YokeBarrelHits", + "0", + "3", + "12", + "YokeEndcapHits", + "0", + "3", + "12", + "LumiCalHits", + "0", + "3", + "12", + "BeamCalHits", + "0", + "3", + "12", + "Tracks", + "0", + "3", + "3", + "SelectedPandoraPFOCollection", + "0", + "3", + "4", + "LooseSelectedPandoraPFOCollection", + "0", + "3", + "5", + "TightSelectedPandoraPFOCollection", + "0", + "3", + "6", + "PandoraPFOCollection", + "0", + "3", + "7", + "JetOut", + "0", + "0", + "3", + ], + "DrawSurfaces": ["true"], + "HelixMaxR": ["2000"], + "HelixMaxZ": ["2500"], + "MCParticleEnergyCut": ["0.001"], + "ScaleLineThickness": ["1"], + "ScaleMarkerSize": ["1"], + "UseColorForHelixTracks": ["0"], + "UseTPCForLimitsOfHelix": ["true"], + "UsingParticleGun": ["false"], + "WaitForKeyboard": ["1"], +} algList.append(MyCEDViewer) @@ -205,9 +530,5 @@ attach_edm4hep2lcio_conversion(algList, read) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 10, - ExtSvc = svcList, - OutputLevel = INFO - ) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=10, ExtSvc=svcList, OutputLevel=INFO) diff --git a/k4MarlinWrapper/examples/runit.py b/k4MarlinWrapper/examples/runit.py index 14f24869..115c5770 100644 --- a/k4MarlinWrapper/examples/runit.py +++ b/k4MarlinWrapper/examples/runit.py @@ -21,6 +21,7 @@ from Gaudi.Configuration import * from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper + algList = [] evtsvc = EventDataSvc() @@ -36,52 +37,53 @@ procA = MarlinProcessorWrapper("AidaProcessor") procA.OutputLevel = DEBUG procA.ProcessorType = "AIDAProcessor" -procA.Parameters = {"FileName": ["histograms"], - "FileType": ["root"], - "Compress": ["1"], - "Verbosity": ["DEBUG"], - } +procA.Parameters = { + "FileName": ["histograms"], + "FileType": ["root"], + "Compress": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(procA) proc0 = MarlinProcessorWrapper("EventNumber") proc0.OutputLevel = DEBUG proc0.ProcessorType = "Statusmonitor" -proc0.Parameters = {"HowOften": ["1"], - "Verbosity": ["DEBUG"], - } +proc0.Parameters = { + "HowOften": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(proc0) proc1 = MarlinProcessorWrapper("InitDD4hep") proc1.OutputLevel = DEBUG proc1.ProcessorType = "InitializeDD4hep" -proc1.Parameters = {#"EncodingStringParameter", "GlobalTrackerReadoutID"}, - #"DD4hepXMLFile", "/cvmfs/clicdp.cern.ch/iLCSoft/builds/nightly/x86_64-slc6-gcc62-opt/lcgeo/HEAD/CLIC/compact/CLIC_o3_v13/CLIC_o3_v13.xml"}, - "DD4hepXMLFile": [os.path.join(os.environ["K4GEO"], "CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml")], - } +proc1.Parameters = { # "EncodingStringParameter", "GlobalTrackerReadoutID"}, + # "DD4hepXMLFile", "/cvmfs/clicdp.cern.ch/iLCSoft/builds/nightly/x86_64-slc6-gcc62-opt/lcgeo/HEAD/CLIC/compact/CLIC_o3_v13/CLIC_o3_v13.xml"}, + "DD4hepXMLFile": [ + os.path.join(os.environ["K4GEO"], "CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml") + ], +} algList.append(proc1) digiVxd = MarlinProcessorWrapper("VXDBarrelDigitiser") digiVxd.OutputLevel = DEBUG digiVxd.ProcessorType = "DDPlanarDigiProcessor" -digiVxd.Parameters = {"SubDetectorName": ["Vertex"], - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexBarrelCollection"], - "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], - "TrackerHitCollectionName": ["VXDTrackerHits"], - "Verbosity": ["DEBUG"], - } +digiVxd.Parameters = { + "SubDetectorName": ["Vertex"], + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexBarrelCollection"], + "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], + "TrackerHitCollectionName": ["VXDTrackerHits"], + "Verbosity": ["DEBUG"], +} algList.append(digiVxd) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 10, - ExtSvc = [evtsvc], - OutputLevel=DEBUG -) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=10, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/k4MarlinWrapper/python/k4MarlinWrapper/inputReader.py b/k4MarlinWrapper/python/k4MarlinWrapper/inputReader.py index 2cec36fc..d2513c09 100644 --- a/k4MarlinWrapper/python/k4MarlinWrapper/inputReader.py +++ b/k4MarlinWrapper/python/k4MarlinWrapper/inputReader.py @@ -20,6 +20,7 @@ import sys from Configurables import LcioEvent, PodioInput, MarlinProcessorWrapper, EDM4hep2LcioTool + def create_reader(input_files, evtSvc): """Create the appropriate reader for the input files""" if input_files[0].endswith(".slcio"): @@ -38,13 +39,14 @@ def create_reader(input_files, evtSvc): return read + def attach_edm4hep2lcio_conversion(algList, read): """Attach the edm4hep to lcio conversion if necessary e.g. when using create_reader. Should only be run after algList is complete.""" if not isinstance(read, PodioInput): # nothing to convert :) return - # find first wrapper + # find first wrapper for alg in algList: if isinstance(alg, MarlinProcessorWrapper): break diff --git a/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py b/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py index 88c5d918..03bc8a0d 100644 --- a/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py +++ b/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py @@ -18,20 +18,21 @@ # import re + def parseConstants(constants): - """Keeps looping over constants dictionary, - replacing constants until no more are found - """ - again = True - while again: - again = False - for key, value in constants.items(): - if isinstance(value, list): - for idx, val in enumerate(value): - value[idx] = val % constants - again = again or (value[idx] != val) - constants[key] = " ".join(value) - elif value: - if (value): - constants[key] = value % constants - again = again or (constants[key] != value) + """Keeps looping over constants dictionary, + replacing constants until no more are found + """ + again = True + while again: + again = False + for key, value in constants.items(): + if isinstance(value, list): + for idx, val in enumerate(value): + value[idx] = val % constants + again = again or (value[idx] != val) + constants[key] = " ".join(value) + elif value: + if value: + constants[key] = value % constants + again = again or (constants[key] != value) diff --git a/k4MarlinWrapper/scripts/convertMarlinSteeringToGaudi.py b/k4MarlinWrapper/scripts/convertMarlinSteeringToGaudi.py index 78722530..6c1dbb15 100755 --- a/k4MarlinWrapper/scripts/convertMarlinSteeringToGaudi.py +++ b/k4MarlinWrapper/scripts/convertMarlinSteeringToGaudi.py @@ -27,275 +27,293 @@ def getProcessors(tree): - """ return a dict of all processors and their parameters """ - processors = dict() - - procElements = tree.findall('processor') - for proc in procElements: - procName = proc.attrib.get("name") - paramDict = dict() - paramDict["type"] = proc.attrib.get("type") - - parameters = proc.findall('parameter') - for param in parameters: - paramName = param.attrib.get('name') - paramDict[paramName] = getValue(param, "") - processors[procName] = paramDict - - groupElements = tree.findall('group') - for group in groupElements: - groupParam = dict() - parameters = group.findall('parameter') - for param in parameters: - paramName = param.attrib.get('name') - groupParam[paramName] = getValue(param, "") - - procElements = group.findall("processor") - for proc in procElements: - procName = proc.attrib.get("name") - paramDict = deepcopy(groupParam) - paramDict["type"] = proc.attrib.get("type") + """return a dict of all processors and their parameters""" + processors = dict() - parameters = proc.findall('parameter') - for param in parameters: - paramName = param.attrib.get('name') - paramDict[paramName] = getValue(param, "") + procElements = tree.findall("processor") + for proc in procElements: + procName = proc.attrib.get("name") + paramDict = dict() + paramDict["type"] = proc.attrib.get("type") - processors[procName] = paramDict + parameters = proc.findall("parameter") + for param in parameters: + paramName = param.attrib.get("name") + paramDict[paramName] = getValue(param, "") + processors[procName] = paramDict - return processors + groupElements = tree.findall("group") + for group in groupElements: + groupParam = dict() + parameters = group.findall("parameter") + for param in parameters: + paramName = param.attrib.get("name") + groupParam[paramName] = getValue(param, "") + procElements = group.findall("processor") + for proc in procElements: + procName = proc.attrib.get("name") + paramDict = deepcopy(groupParam) + paramDict["type"] = proc.attrib.get("type") -def replaceConstants(value, constants): - """Replace with constants if pattern found in value(s) """ - formatted_array = [] - split_values = value.split() - for val in split_values: - captured_patterns = re.findall('\$\{\w*\}', val) - if not captured_patterns: - formatted_array.append('\"{}\"'.format(val)) - elif captured_patterns: - val_format = re.sub(r'\$\{(\w*)\}', r'%(\1)s', val) - val_format = '\"{}\" % CONSTANTS'.format(val_format) - formatted_array.append(val_format) + parameters = proc.findall("parameter") + for param in parameters: + paramName = param.attrib.get("name") + paramDict[paramName] = getValue(param, "") - return ", ".join(formatted_array) + processors[procName] = paramDict + return processors -def convertConstants(lines, tree): - """ Find constant tags, write them to python and replace constants within themselves """ - constants = dict() - constElements = tree.findall('constants/constant') - for const in constElements: - constants[const.attrib.get('name')] = getValue(const) - - for key, value in constants.items(): - if not value: - continue +def replaceConstants(value, constants): + """Replace with constants if pattern found in value(s)""" formatted_array = [] split_values = value.split() - if len(split_values) == 1: - """ capture all ${constant} """ - captured_patterns = re.findall('\$\{\w*\}', value) - for pattern in captured_patterns: - """ replace every ${constant} for %(constant)s """ - constants[key] = re.sub(r'\$\{(\w*)\}', r'%(\1)s', constants[key]) - constants[key] = "\"{}\"".format(constants[key]) - elif len(split_values) > 1: - for val in split_values: - """ capture all ${constant} """ - captured_patterns = re.findall('\$\{\w*\}', val) - if len(captured_patterns) == 0: - formatted_array.append("\"{}\"".format(val)) - elif len(captured_patterns) >= 1: - """ replace every ${constant} for %(constant)s """ - val_format = re.sub(r'\$\{(\w*)\}', r'%(\1)s', val) - val_format = "\"{}\"".format(val_format) - formatted_array.append(val_format) - constants[key] = '[{}]'.format(", ".join(formatted_array)) - - lines.append("\nCONSTANTS = {") - for key in constants: - lines.append(' ' * len('CONSTANTS = {') + "'{}': {},".format(key, constants[key])) - lines.append("}\n") - - lines.append("parseConstants(CONSTANTS)\n") - - return constants + for val in split_values: + captured_patterns = re.findall("\$\{\w*\}", val) + if not captured_patterns: + formatted_array.append('"{}"'.format(val)) + elif captured_patterns: + val_format = re.sub(r"\$\{(\w*)\}", r"%(\1)s", val) + val_format = '"{}" % CONSTANTS'.format(val_format) + formatted_array.append(val_format) + + return ", ".join(formatted_array) + + +def convertConstants(lines, tree): + """Find constant tags, write them to python and replace constants within themselves""" + constants = dict() + + constElements = tree.findall("constants/constant") + for const in constElements: + constants[const.attrib.get("name")] = getValue(const) + + for key, value in constants.items(): + if not value: + continue + formatted_array = [] + split_values = value.split() + if len(split_values) == 1: + """ capture all ${constant} """ + captured_patterns = re.findall("\$\{\w*\}", value) + for pattern in captured_patterns: + """ replace every ${constant} for %(constant)s """ + constants[key] = re.sub(r"\$\{(\w*)\}", r"%(\1)s", constants[key]) + constants[key] = '"{}"'.format(constants[key]) + elif len(split_values) > 1: + for val in split_values: + """ capture all ${constant} """ + captured_patterns = re.findall("\$\{\w*\}", val) + if len(captured_patterns) == 0: + formatted_array.append('"{}"'.format(val)) + elif len(captured_patterns) >= 1: + """ replace every ${constant} for %(constant)s """ + val_format = re.sub(r"\$\{(\w*)\}", r"%(\1)s", val) + val_format = '"{}"'.format(val_format) + formatted_array.append(val_format) + constants[key] = "[{}]".format(", ".join(formatted_array)) + + lines.append("\nCONSTANTS = {") + for key in constants: + lines.append(" " * len("CONSTANTS = {") + "'{}': {},".format(key, constants[key])) + lines.append("}\n") + + lines.append("parseConstants(CONSTANTS)\n") + + return constants def getValue(element, default=None): - if element.get('value'): - return element.get('value').strip() - if element.text: - return element.text.strip() - return default + if element.get("value"): + return element.get("value").strip() + if element.text: + return element.text.strip() + return default def getGlobalDict(globalElements): - """return dict of global parameters and values """ - pars = dict() - for param in globalElements: - name = param.get('name') - value = getValue(param) - pars[name] = value + """return dict of global parameters and values""" + pars = dict() + for param in globalElements: + name = param.get("name") + value = getValue(param) + pars[name] = value - return pars + return pars def getGlobalParameters(tree): - """ compare the global parameters in the marlin steering files """ - return getGlobalDict(tree.findall('global/parameter')) + """compare the global parameters in the marlin steering files""" + return getGlobalDict(tree.findall("global/parameter")) def resolveGroup(lines, proc, execGroup): - for member in execGroup: - if member.get('name') == proc: - for child in member: - if child.tag == "processor": - lines.append("algList.append(%s)" % child.get('name').replace(".", "_")) + for member in execGroup: + if member.get("name") == proc: + for child in member: + if child.tag == "processor": + lines.append("algList.append(%s)" % child.get("name").replace(".", "_")) def getExecutingProcessors(lines, tree): - """ compare the list of processors to execute, order matters """ - execProc = tree.findall('execute/*') - execGroup = tree.findall('group') - optProcessors = False - - for proc in execProc: - if proc.tag == "if": - for child in proc: - if child.tag == "processor": - optProcessors = True - lines.append("# algList.append(%s) # %s" % (child.get('name').replace(".", "_"), proc.get('condition'))) - if proc.tag == "processor": - lines.append("algList.append(%s)" % proc.get('name')) - if proc.tag == "group": - resolveGroup(lines, proc.get('name'), execGroup) - return optProcessors + """compare the list of processors to execute, order matters""" + execProc = tree.findall("execute/*") + execGroup = tree.findall("group") + optProcessors = False + + for proc in execProc: + if proc.tag == "if": + for child in proc: + if child.tag == "processor": + optProcessors = True + lines.append( + "# algList.append(%s) # %s" + % (child.get("name").replace(".", "_"), proc.get("condition")) + ) + if proc.tag == "processor": + lines.append("algList.append(%s)" % proc.get("name")) + if proc.tag == "group": + resolveGroup(lines, proc.get("name"), execGroup) + return optProcessors def createHeader(lines): - lines.append("from Gaudi.Configuration import *\n") - lines.append("from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper") - lines.append("from k4MarlinWrapper.parseConstants import *") - lines.append("algList = []") - lines.append("evtsvc = EventDataSvc()\n") - # lines.append("END_TAG = \"END_TAG\"\n") + lines.append("from Gaudi.Configuration import *\n") + lines.append("from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper") + lines.append("from k4MarlinWrapper.parseConstants import *") + lines.append("algList = []") + lines.append("evtsvc = EventDataSvc()\n") + # lines.append("END_TAG = \"END_TAG\"\n") def createLcioReader(lines, glob): - lines.append("read = LcioEvent()") - lines.append("read.OutputLevel = %s" % verbosityTranslator(glob.get("Verbosity", "DEBUG"))) - lines.append("read.Files = [\"%s\"]" % glob.get("LCIOInputFiles")) - lines.append("algList.append(read)\n") + lines.append("read = LcioEvent()") + lines.append("read.OutputLevel = %s" % verbosityTranslator(glob.get("Verbosity", "DEBUG"))) + lines.append('read.Files = ["%s"]' % glob.get("LCIOInputFiles")) + lines.append("algList.append(read)\n") def createFooter(lines, glob): - lines.append("\nfrom Configurables import ApplicationMgr") - lines.append("ApplicationMgr( TopAlg = algList,") - lines.append(" EvtSel = 'NONE',") - lines.append(" EvtMax = 10,") - lines.append(" ExtSvc = [evtsvc],") - lines.append(" OutputLevel=%s" % verbosityTranslator(glob.get("Verbosity", "DEBUG"))) - lines.append(" )\n") + lines.append("\nfrom Configurables import ApplicationMgr") + lines.append("ApplicationMgr( TopAlg = algList,") + lines.append(" EvtSel = 'NONE',") + lines.append(" EvtMax = 10,") + lines.append(" ExtSvc = [evtsvc],") + lines.append( + " OutputLevel=%s" % verbosityTranslator(glob.get("Verbosity", "DEBUG")) + ) + lines.append(" )\n") def verbosityTranslator(marlinLogLevel): - """Translate the verbosity level from Marlin to a Gaudi level. - - Marlin log level can end with numbers, e.g., MESSAGE4 - """ - logLevelDict = {'DEBUG': 'DEBUG', - 'MESSAGE': 'INFO', - 'WARNING': 'WARNING', - 'ERROR': 'ERROR', - 'SILENT': 'FATAL', - } - for level, trans in logLevelDict.items(): - if marlinLogLevel.startswith(level): - return trans + """Translate the verbosity level from Marlin to a Gaudi level. + + Marlin log level can end with numbers, e.g., MESSAGE4 + """ + logLevelDict = { + "DEBUG": "DEBUG", + "MESSAGE": "INFO", + "WARNING": "WARNING", + "ERROR": "ERROR", + "SILENT": "FATAL", + } + for level, trans in logLevelDict.items(): + if marlinLogLevel.startswith(level): + return trans def convertParameters(params, proc, globParams, constants): - """ convert json of parameters to gaudi """ - lines = [] - if "Verbosity" in params: - lines.append("%s.OutputLevel = %s" % (proc.replace(".", "_"), verbosityTranslator(params["Verbosity"]))) - - lines.append("%s.ProcessorType = \"%s\"" % (proc.replace(".", "_"), params.get("type"))) - lines.append("%s.Parameters = {" % proc.replace(".", "_")) - for para in sorted(params): - if para not in ["type", "Verbosity"]: - value = params[para].replace('\n', ' ') - value = " ".join(value.split()) - lines.append("%s\"%s\": [%s]," % \ - (' ' * (len(proc) + 15), para, replaceConstants(value, constants))) - - lines[-1] = lines[-1][:-1] - lines.append("%s}\n" % (' ' * (len(proc) + 15))) - return lines + """convert json of parameters to gaudi""" + lines = [] + if "Verbosity" in params: + lines.append( + "%s.OutputLevel = %s" + % (proc.replace(".", "_"), verbosityTranslator(params["Verbosity"])) + ) + + lines.append('%s.ProcessorType = "%s"' % (proc.replace(".", "_"), params.get("type"))) + lines.append("%s.Parameters = {" % proc.replace(".", "_")) + for para in sorted(params): + if para not in ["type", "Verbosity"]: + value = params[para].replace("\n", " ") + value = " ".join(value.split()) + lines.append( + '%s"%s": [%s],' + % (" " * (len(proc) + 15), para, replaceConstants(value, constants)) + ) + + lines[-1] = lines[-1][:-1] + lines.append("%s}\n" % (" " * (len(proc) + 15))) + return lines def convertProcessors(lines, tree, globParams, constants): - """ convert XML tree to list of strings """ - processors = getProcessors(tree) - for proc in processors: - lines.append("%s = MarlinProcessorWrapper(\"%s\")" % (proc.replace(".", "_"), proc)) - lines += convertParameters(processors[proc], proc, globParams, constants) - return lines + """convert XML tree to list of strings""" + processors = getProcessors(tree) + for proc in processors: + lines.append('%s = MarlinProcessorWrapper("%s")' % (proc.replace(".", "_"), proc)) + lines += convertParameters(processors[proc], proc, globParams, constants) + return lines def findWarnIncludes(tree): - """Check the parsed XML structure for include statments and issue a warning""" - if any(True for _ in tree.iter("include")): - print("ERROR: Found at least one statement in the Marlin steering file") - print(" These cannot be handled by the conversion script.") - print(" Use Marlin -n to resolve these includes and convert the output of that") + """Check the parsed XML structure for include statments and issue a warning""" + if any(True for _ in tree.iter("include")): + print( + 'ERROR: Found at least one statement in the Marlin steering file' + ) + print(" These cannot be handled by the conversion script.") + print( + " Use Marlin -n to resolve these includes and convert the output of that" + ) - sys.exit(1) + sys.exit(1) def generateGaudiSteering(tree): - findWarnIncludes(tree) - globParams = getGlobalParameters(tree) - lines = [] - createHeader(lines) - constants = convertConstants(lines, tree) - createLcioReader(lines, globParams) - convertProcessors(lines, tree, globParams, constants) - optProcessors = getExecutingProcessors(lines, tree) - if optProcessors: - print('Optional Processors were found!') - print('Please uncomment the desired ones at the bottom of the resulting file\n') - createFooter(lines, globParams) - return lines + findWarnIncludes(tree) + globParams = getGlobalParameters(tree) + lines = [] + createHeader(lines) + constants = convertConstants(lines, tree) + createLcioReader(lines, globParams) + convertProcessors(lines, tree, globParams, constants) + optProcessors = getExecutingProcessors(lines, tree) + if optProcessors: + print("Optional Processors were found!") + print("Please uncomment the desired ones at the bottom of the resulting file\n") + createFooter(lines, globParams) + return lines def escapeIllegalChars(file_str): - return file_str.replace("&&", "&&") + return file_str.replace("&&", "&&") def run(inputfile, outputfile): - with open(inputfile, "r+") as infile: - escaped_str = escapeIllegalChars(infile.read()) + with open(inputfile, "r+") as infile: + escaped_str = escapeIllegalChars(infile.read()) - try: - tree = ElementTree(fromstring(escaped_str)) - except Exception as ex: - print("Exception when getting trees: %r " % ex) - sys.exit(1) + try: + tree = ElementTree(fromstring(escaped_str)) + except Exception as ex: + print("Exception when getting trees: %r " % ex) + sys.exit(1) - with open(outputfile, 'w') as wf_file: - wf_file.write("\n".join(generateGaudiSteering(tree))) + with open(outputfile, "w") as wf_file: + wf_file.write("\n".join(generateGaudiSteering(tree))) if __name__ == "__main__": - import argparse - parser = argparse.ArgumentParser(description='Script to convert Marlin XML steering files into Gaudi python option files') - parser.add_argument('inputfile', help='Input Marlin XML steering file to convert') - parser.add_argument('outputfile', help='Output Gaudi options python file') + import argparse + + parser = argparse.ArgumentParser( + description="Script to convert Marlin XML steering files into Gaudi python option files" + ) + parser.add_argument("inputfile", help="Input Marlin XML steering file to convert") + parser.add_argument("outputfile", help="Output Gaudi options python file") - args = parser.parse_args() - run(args.inputfile, args.outputfile) + args = parser.parse_args() + run(args.inputfile, args.outputfile) diff --git a/test/gaudi_opts/clicReconstruction_mt.py b/test/gaudi_opts/clicReconstruction_mt.py index 05d75612..30265e2f 100644 --- a/test/gaudi_opts/clicReconstruction_mt.py +++ b/test/gaudi_opts/clicReconstruction_mt.py @@ -21,7 +21,12 @@ from Gaudi.Configuration import * # Parallel stuff -from Configurables import (HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc, Gaudi__Sequencer as Sequencer) +from Configurables import ( + HiveWhiteBoard, + HiveSlimEventLoopMgr, + AvalancheSchedulerSvc, + Gaudi__Sequencer as Sequencer, +) evtslots = 4 @@ -35,11 +40,12 @@ from Configurables import LcioEvent, MarlinProcessorWrapper from k4MarlinWrapper.parseConstants import * + algList = [] CONSTANTS = { - 'BCReco': "3TeV", + "BCReco": "3TeV", } parseConstants(CONSTANTS) @@ -49,1343 +55,2151 @@ read.Files = ["$TEST_DIR/inputFiles/testSimulation.slcio"] - CLICPfoSelectorTight_HE = MarlinProcessorWrapper("CLICPfoSelectorTight_HE") CLICPfoSelectorTight_HE.OutputLevel = WARNING CLICPfoSelectorTight_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorTight_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["2.0"], - "ChargedPfoNegativeLooseTimingCut": ["-0.5"], - "ChargedPfoNegativeTightTimingCut": ["-0.25"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.95"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["1.5"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["1.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["1.5"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0.5"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0.2"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["1.0"], - "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], - "UseClusterLessPfos": ["0"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["2.0"], + "ChargedPfoNegativeLooseTimingCut": ["-0.5"], + "ChargedPfoNegativeTightTimingCut": ["-0.25"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.95"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["1.5"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["1.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["1.5"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0.5"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0.2"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["1.0"], + "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], + "UseClusterLessPfos": ["0"], + "UseNeutronTiming": ["0"], +} MyRecoMCTruthLinker = MarlinProcessorWrapper("MyRecoMCTruthLinker") MyRecoMCTruthLinker.OutputLevel = WARNING MyRecoMCTruthLinker.ProcessorType = "RecoMCTruthLinker" MyRecoMCTruthLinker.Parameters = { - "BremsstrahlungEnergyCut": ["1"], - "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], - "ClusterCollection": ["MergedClusters"], - "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], - "FullRecoRelation": ["false"], - "InvertedNonDestructiveInteractionLogic": ["false"], - "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], - "MCParticleCollection": ["MCPhysicsParticles"], - "MCParticlesSkimmedName": ["MCParticlesSkimmed"], - "MCTruthClusterLinkName": [], - "MCTruthRecoLinkName": [], - "MCTruthTrackLinkName": [], - "RecoMCTruthLinkName": ["RecoMCTruthLink"], - "RecoParticleCollection": ["MergedRecoParticles"], - "SaveBremsstrahlungPhotons": ["false"], - "SimCaloHitCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection", "HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection", "YokeBarrelCollection", "YokeEndcapCollection", "LumiCalCollection", "BeamCalCollection"], - "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], - "SimTrackerHitCollections": ["VertexBarrelCollection", "VertexEndcapCollection", "InnerTrackerBarrelCollection", "OuterTrackerBarrelCollection", "InnerTrackerEndcapCollection", "OuterTrackerEndcapCollection"], - "TrackCollection": ["SiTracks_Refitted"], - "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], - "TrackerHitsRelInputCollections": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "UseTrackerHitRelations": ["true"], - "UsingParticleGun": ["false"], - "daughtersECutMeV": ["10"] - } + "BremsstrahlungEnergyCut": ["1"], + "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], + "ClusterCollection": ["MergedClusters"], + "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], + "FullRecoRelation": ["false"], + "InvertedNonDestructiveInteractionLogic": ["false"], + "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], + "MCParticleCollection": ["MCPhysicsParticles"], + "MCParticlesSkimmedName": ["MCParticlesSkimmed"], + "MCTruthClusterLinkName": [], + "MCTruthRecoLinkName": [], + "MCTruthTrackLinkName": [], + "RecoMCTruthLinkName": ["RecoMCTruthLink"], + "RecoParticleCollection": ["MergedRecoParticles"], + "SaveBremsstrahlungPhotons": ["false"], + "SimCaloHitCollections": [ + "ECalBarrelCollection", + "ECalEndcapCollection", + "ECalPlugCollection", + "HCalBarrelCollection", + "HCalEndcapCollection", + "HCalRingCollection", + "YokeBarrelCollection", + "YokeEndcapCollection", + "LumiCalCollection", + "BeamCalCollection", + ], + "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], + "SimTrackerHitCollections": [ + "VertexBarrelCollection", + "VertexEndcapCollection", + "InnerTrackerBarrelCollection", + "OuterTrackerBarrelCollection", + "InnerTrackerEndcapCollection", + "OuterTrackerEndcapCollection", + ], + "TrackCollection": ["SiTracks_Refitted"], + "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], + "TrackerHitsRelInputCollections": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "UseTrackerHitRelations": ["true"], + "UsingParticleGun": ["false"], + "daughtersECutMeV": ["10"], +} Overlay380GeV_L6 = MarlinProcessorWrapper("Overlay380GeV_L6") Overlay380GeV_L6.OutputLevel = WARNING Overlay380GeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay380GeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.178"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.178"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay350GeV = MarlinProcessorWrapper("Overlay350GeV") Overlay350GeV.OutputLevel = WARNING Overlay350GeV.ProcessorType = "OverlayTimingGeneric" Overlay350GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.16"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.16"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} EventNumber = MarlinProcessorWrapper("EventNumber") EventNumber.OutputLevel = WARNING EventNumber.ProcessorType = "Statusmonitor" -EventNumber.Parameters = { - "HowOften": ["1"] - } +EventNumber.Parameters = {"HowOften": ["1"]} InitDD4hep = MarlinProcessorWrapper("InitDD4hep") InitDD4hep.OutputLevel = WARNING InitDD4hep.ProcessorType = "InitializeDD4hep" InitDD4hep.Parameters = { - "DD4hepXMLFile": [os.environ["K4GEO"]+"/CLIC/compact/CLIC_o3_v14/CLIC_o3_v14.xml"], - "EncodingStringParameter": ["GlobalTrackerReadoutID"] - } + "DD4hepXMLFile": [os.environ["K4GEO"] + "/CLIC/compact/CLIC_o3_v14/CLIC_o3_v14.xml"], + "EncodingStringParameter": ["GlobalTrackerReadoutID"], +} Overlay1_4TeV = MarlinProcessorWrapper("Overlay1.4TeV") Overlay1_4TeV.OutputLevel = WARNING Overlay1_4TeV.ProcessorType = "OverlayTimingGeneric" Overlay1_4TeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["1.3"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["1.3"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay380GeV_CDR = MarlinProcessorWrapper("Overlay380GeV_CDR") Overlay380GeV_CDR.OutputLevel = WARNING Overlay380GeV_CDR.ProcessorType = "OverlayTimingGeneric" Overlay380GeV_CDR.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.0464"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.0464"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} OverlayFalse = MarlinProcessorWrapper("OverlayFalse") OverlayFalse.OutputLevel = WARNING OverlayFalse.ProcessorType = "OverlayTimingGeneric" OverlayFalse.Parameters = { - "BackgroundFileNames": [], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["0"], - "NumberBackground": ["0."], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": [], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["0"], + "NumberBackground": ["0."], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} BeamCalReco380GeV = MarlinProcessorWrapper("BeamCalReco380GeV") BeamCalReco380GeV.OutputLevel = WARNING BeamCalReco380GeV.ProcessorType = "BeamCalClusterReco" BeamCalReco380GeV.Parameters = { - "BackgroundMethod": ["Gaussian"], - "BeamCalCollectionName": ["BeamCalCollection"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["BeamCal"], - "DetectorStartingLayerID": ["1"], - "ETCluster": ["1.0"], - "ETPad": ["0.01"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": ["BeamCal_BackgroundPars_380GeV.root"], - "LinearCalibrationFactor": ["116.44"], - "MCParticleCollectionName": ["MCParticle"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["3"], - "NumberOfBX": ["40"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["BeamCalClusters"], - "RecoParticleCollectionname": ["BeamCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["2"], - "StartingRing": ["0.0"], - "SubClusterEnergyID": ["5"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["false"] - } + "BackgroundMethod": ["Gaussian"], + "BeamCalCollectionName": ["BeamCalCollection"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["BeamCal"], + "DetectorStartingLayerID": ["1"], + "ETCluster": ["1.0"], + "ETPad": ["0.01"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": ["BeamCal_BackgroundPars_380GeV.root"], + "LinearCalibrationFactor": ["116.44"], + "MCParticleCollectionName": ["MCParticle"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["3"], + "NumberOfBX": ["40"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["BeamCalClusters"], + "RecoParticleCollectionname": ["BeamCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["2"], + "StartingRing": ["0.0"], + "SubClusterEnergyID": ["5"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["false"], +} CLICPfoSelectorTight_LE = MarlinProcessorWrapper("CLICPfoSelectorTight_LE") CLICPfoSelectorTight_LE.OutputLevel = WARNING CLICPfoSelectorTight_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorTight_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["4.0"], - "ChargedPfoNegativeLooseTimingCut": ["-2.0"], - "ChargedPfoNegativeTightTimingCut": ["-1.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["3.0"], - "ChargedPfoTightTimingCut": ["2.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["4"], - "HCalBarrelTightTimingCut": ["2"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.75"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2.0"], - "NeutralFarForwardTightTimingCut": ["2.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["4.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["3.0"], - "NeutralHadronTightTimingCut": ["2.0"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["1.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["1.0"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_TightSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["4.0"], + "ChargedPfoNegativeLooseTimingCut": ["-2.0"], + "ChargedPfoNegativeTightTimingCut": ["-1.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["3.0"], + "ChargedPfoTightTimingCut": ["2.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["4"], + "HCalBarrelTightTimingCut": ["2"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.75"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2.0"], + "NeutralFarForwardTightTimingCut": ["2.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["4.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["3.0"], + "NeutralHadronTightTimingCut": ["2.0"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["1.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["1.0"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_TightSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} CLICPfoSelectorDefault_LE = MarlinProcessorWrapper("CLICPfoSelectorDefault_LE") CLICPfoSelectorDefault_LE.OutputLevel = WARNING CLICPfoSelectorDefault_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorDefault_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["10.0"], - "ChargedPfoNegativeLooseTimingCut": ["-5.0"], - "ChargedPfoNegativeTightTimingCut": ["-2.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["4.0"], - "ChargedPfoTightTimingCut": ["3.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["5"], - "HCalBarrelTightTimingCut": ["2.5"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["4.0"], - "NeutralFarForwardTightTimingCut": ["2.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["5.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["2.0"], - "NeutralHadronTightTimingCut": ["2.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["5.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["1.0"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_SelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["10.0"], + "ChargedPfoNegativeLooseTimingCut": ["-5.0"], + "ChargedPfoNegativeTightTimingCut": ["-2.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["4.0"], + "ChargedPfoTightTimingCut": ["3.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["5"], + "HCalBarrelTightTimingCut": ["2.5"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["4.0"], + "NeutralFarForwardTightTimingCut": ["2.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["5.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["2.0"], + "NeutralHadronTightTimingCut": ["2.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["5.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["1.0"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_SelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} Config = MarlinProcessorWrapper("Config") Config.OutputLevel = WARNING Config.ProcessorType = "CLICRecoConfig" Config.Parameters = { - "BeamCal": ["3TeV"], - "BeamCalChoices": ["3TeV", "380GeV"], - "Overlay": ["False"], - "OverlayChoices": ["False", "350GeV_CDR", "350GeV", "350GeV_L6", "380GeV", "380GeV_CDR", "380GeV_L6", "420GeV", "500GeV", "1.4TeV", "3TeV", "3TeV_L6"], - "Tracking": ["Conformal"], - "TrackingChoices": ["Truth", "Conformal"], - "VertexUnconstrained": ["OFF"], - "VertexUnconstrainedChoices": ["ON", "OFF"] - } + "BeamCal": ["3TeV"], + "BeamCalChoices": ["3TeV", "380GeV"], + "Overlay": ["False"], + "OverlayChoices": [ + "False", + "350GeV_CDR", + "350GeV", + "350GeV_L6", + "380GeV", + "380GeV_CDR", + "380GeV_L6", + "420GeV", + "500GeV", + "1.4TeV", + "3TeV", + "3TeV_L6", + ], + "Tracking": ["Conformal"], + "TrackingChoices": ["Truth", "Conformal"], + "VertexUnconstrained": ["OFF"], + "VertexUnconstrainedChoices": ["ON", "OFF"], +} OuterEndcapPlanarDigiProcessor = MarlinProcessorWrapper("OuterEndcapPlanarDigiProcessor") OuterEndcapPlanarDigiProcessor.OutputLevel = WARNING OuterEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerEndcapHits"], +} MyAIDAProcessor = MarlinProcessorWrapper("MyAIDAProcessor") MyAIDAProcessor.OutputLevel = WARNING MyAIDAProcessor.ProcessorType = "AIDAProcessor" -MyAIDAProcessor.Parameters = { - "Compress": ["1"], - "FileName": ["histograms"], - "FileType": ["root"] - } +MyAIDAProcessor.Parameters = {"Compress": ["1"], "FileName": ["histograms"], "FileType": ["root"]} MyTrackChecker = MarlinProcessorWrapper("MyTrackChecker") MyTrackChecker.OutputLevel = WARNING MyTrackChecker.ProcessorType = "TrackChecker" MyTrackChecker.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackRelationCollectionName": ["SiTracksMCTruthLink"], - "TreeName": ["checktree"], - "UseOnlyTree": ["true"] - } + "MCParticleCollectionName": ["MCParticle"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackRelationCollectionName": ["SiTracksMCTruthLink"], + "TreeName": ["checktree"], + "UseOnlyTree": ["true"], +} LumiCalReco = MarlinProcessorWrapper("LumiCalReco") LumiCalReco.OutputLevel = WARNING LumiCalReco.ProcessorType = "BeamCalClusterReco" LumiCalReco.Parameters = { - "BackgroundMethod": ["Empty"], - "BeamCalCollectionName": ["LumiCalCollection"], - "BeamCalHitsOutCollection": ["LumiCal_Hits"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["LumiCal"], - "DetectorStartingLayerID": ["0"], - "ETCluster": ["0.2"], - "ETPad": ["20e-06"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": [], - "LinearCalibrationFactor": ["82.377"], - "LogWeightingConstant": ["6.1"], - "MCParticleCollectionName": ["MCParticle"], - "MaxPadDistance": ["62"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["30"], - "NumberOfBX": ["0"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["LumiCalClusters"], - "RecoParticleCollectionname": ["LumiCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["1"], - "StartingRing": ["0.0"], - "SubClusterEnergyID": ["3"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["false"] - } + "BackgroundMethod": ["Empty"], + "BeamCalCollectionName": ["LumiCalCollection"], + "BeamCalHitsOutCollection": ["LumiCal_Hits"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["LumiCal"], + "DetectorStartingLayerID": ["0"], + "ETCluster": ["0.2"], + "ETPad": ["20e-06"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": [], + "LinearCalibrationFactor": ["82.377"], + "LogWeightingConstant": ["6.1"], + "MCParticleCollectionName": ["MCParticle"], + "MaxPadDistance": ["62"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["30"], + "NumberOfBX": ["0"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["LumiCalClusters"], + "RecoParticleCollectionname": ["LumiCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["1"], + "StartingRing": ["0.0"], + "SubClusterEnergyID": ["3"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["false"], +} Refit = MarlinProcessorWrapper("Refit") Refit.OutputLevel = WARNING Refit.ProcessorType = "RefitFinal" Refit.Parameters = { - "EnergyLossOn": ["true"], - "InputRelationCollectionName": ["SiTrackRelations"], - "InputTrackCollectionName": ["SiTracks"], - "Max_Chi2_Incr": ["1.79769e+30"], - "MinClustersOnTrackAfterFit": ["3"], - "MultipleScatteringOn": ["true"], - "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], - "OutputTrackCollectionName": ["SiTracks_Refitted"], - "ReferencePoint": ["-1"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"] - } + "EnergyLossOn": ["true"], + "InputRelationCollectionName": ["SiTrackRelations"], + "InputTrackCollectionName": ["SiTracks"], + "Max_Chi2_Incr": ["1.79769e+30"], + "MinClustersOnTrackAfterFit": ["3"], + "MultipleScatteringOn": ["true"], + "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], + "OutputTrackCollectionName": ["SiTracks_Refitted"], + "ReferencePoint": ["-1"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], +} MyConformalTracking = MarlinProcessorWrapper("MyConformalTracking") MyConformalTracking.OutputLevel = INFO MyConformalTracking.ProcessorType = "ConformalTrackingV2" MyConformalTracking.Parameters = { - "DebugHits": ["DebugHits"], - "DebugPlots": ["false"], - "DebugTiming": ["false"], - "MCParticleCollectionName": ["MCParticle"], - "MaxHitInvertedFit": ["0"], - "MinClustersOnTrackAfterFit": ["3"], - "RelationsNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "RetryTooManyTracks": ["false"], - "SiTrackCollectionName": ["SiTracksCT"], - "SortTreeResults": ["true"], - "Steps": ["[VXDBarrel]", "@Collections", ":", "VXDTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.005;", "MaxCellAngleRZ", ":", "0.005;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[VXDEncap]", "@Collections", ":", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.005;", "MaxCellAngleRZ", ":", "0.005;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "0.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[LowerCellAngle1]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.025;", "MaxCellAngleRZ", ":", "0.025;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[LowerCellAngle2]", "@Collections", ":", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "BuildNewTracks,", "SortTracks", "[Tracker]", "@Collections", ":", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.02;", "SlopeZRange:", "10.0;", "HighPTCut:", "0.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[Displaced]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits,", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "1000;", "MinClustersOnTrack", ":", "5;", "MaxDistance", ":", "0.015;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "OnlyZSchi2cut,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks"], - "ThetaRange": ["0.05"], - "TooManyTracks": ["100000"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "trackPurity": ["0.7"] - } + "DebugHits": ["DebugHits"], + "DebugPlots": ["false"], + "DebugTiming": ["false"], + "MCParticleCollectionName": ["MCParticle"], + "MaxHitInvertedFit": ["0"], + "MinClustersOnTrackAfterFit": ["3"], + "RelationsNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "RetryTooManyTracks": ["false"], + "SiTrackCollectionName": ["SiTracksCT"], + "SortTreeResults": ["true"], + "Steps": [ + "[VXDBarrel]", + "@Collections", + ":", + "VXDTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.005;", + "MaxCellAngleRZ", + ":", + "0.005;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[VXDEncap]", + "@Collections", + ":", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.005;", + "MaxCellAngleRZ", + ":", + "0.005;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "0.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[LowerCellAngle1]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.025;", + "MaxCellAngleRZ", + ":", + "0.025;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[LowerCellAngle2]", + "@Collections", + ":", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "BuildNewTracks,", + "SortTracks", + "[Tracker]", + "@Collections", + ":", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.02;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "0.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[Displaced]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits,", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "1000;", + "MinClustersOnTrack", + ":", + "5;", + "MaxDistance", + ":", + "0.015;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "OnlyZSchi2cut,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + ], + "ThetaRange": ["0.05"], + "TooManyTracks": ["100000"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "trackPurity": ["0.7"], +} MergeClusters = MarlinProcessorWrapper("MergeClusters") MergeClusters.OutputLevel = WARNING MergeClusters.ProcessorType = "MergeCollections" MergeClusters.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraClusters", "LumiCalClusters", "BeamCalClusters"], - "OutputCollection": ["MergedClusters"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraClusters", "LumiCalClusters", "BeamCalClusters"], + "OutputCollection": ["MergedClusters"], +} InnerPlanarDigiProcessor = MarlinProcessorWrapper("InnerPlanarDigiProcessor") InnerPlanarDigiProcessor.OutputLevel = WARNING InnerPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007"], - "ResolutionV": ["0.09"], - "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007"], + "ResolutionV": ["0.09"], + "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerHits"], +} BeamCalReco3TeV = MarlinProcessorWrapper("BeamCalReco3TeV") BeamCalReco3TeV.OutputLevel = WARNING BeamCalReco3TeV.ProcessorType = "BeamCalClusterReco" BeamCalReco3TeV.Parameters = { - "BackgroundMethod": ["Gaussian"], - "BeamCalCollectionName": ["BeamCalCollection"], - "CreateEfficiencyFile": ["false"], - "DetectorName": ["BeamCal"], - "DetectorStartingLayerID": ["1"], - "ETCluster": ["5.0", "4.0", "3.0", "2.0", "2.0", "1.0"], - "ETPad": ["0.5", "0.4", "0.3", "0.2", "0.15", "0.1"], - "EfficiencyFilename": ["TaggingEfficiency.root"], - "InputFileBackgrounds": ["BeamCal_BackgroundPars_3TeV.root"], - "LinearCalibrationFactor": ["116.44"], - "MCParticleCollectionName": ["MCParticle"], - "MinimumTowerSize": ["4"], - "NShowerCountingLayers": ["3"], - "NumberOfBX": ["40"], - "PrintThisEvent": ["-1"], - "RecoClusterCollectionname": ["BeamCalClusters"], - "RecoParticleCollectionname": ["BeamCalRecoParticles"], - "SigmaCut": ["1"], - "StartLookingInLayer": ["10"], - "StartingRing": ["0.0", "1.0", "1.5", "2.5", "3.5", "4.5"], - "SubClusterEnergyID": ["5"], - "TowerChi2ndfLimit": ["5"], - "UseChi2Selection": ["false"], - "UseConstPadCuts": ["true"] - } + "BackgroundMethod": ["Gaussian"], + "BeamCalCollectionName": ["BeamCalCollection"], + "CreateEfficiencyFile": ["false"], + "DetectorName": ["BeamCal"], + "DetectorStartingLayerID": ["1"], + "ETCluster": ["5.0", "4.0", "3.0", "2.0", "2.0", "1.0"], + "ETPad": ["0.5", "0.4", "0.3", "0.2", "0.15", "0.1"], + "EfficiencyFilename": ["TaggingEfficiency.root"], + "InputFileBackgrounds": ["BeamCal_BackgroundPars_3TeV.root"], + "LinearCalibrationFactor": ["116.44"], + "MCParticleCollectionName": ["MCParticle"], + "MinimumTowerSize": ["4"], + "NShowerCountingLayers": ["3"], + "NumberOfBX": ["40"], + "PrintThisEvent": ["-1"], + "RecoClusterCollectionname": ["BeamCalClusters"], + "RecoParticleCollectionname": ["BeamCalRecoParticles"], + "SigmaCut": ["1"], + "StartLookingInLayer": ["10"], + "StartingRing": ["0.0", "1.0", "1.5", "2.5", "3.5", "4.5"], + "SubClusterEnergyID": ["5"], + "TowerChi2ndfLimit": ["5"], + "UseChi2Selection": ["false"], + "UseConstPadCuts": ["true"], +} Overlay420GeV = MarlinProcessorWrapper("Overlay420GeV") Overlay420GeV.OutputLevel = WARNING Overlay420GeV.ProcessorType = "OverlayTimingGeneric" Overlay420GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.17"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.17"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} MyTruthTrackFinder = MarlinProcessorWrapper("MyTruthTrackFinder") MyTruthTrackFinder.OutputLevel = WARNING MyTruthTrackFinder.ProcessorType = "TruthTrackFinder" MyTruthTrackFinder.Parameters = { - "FitForward": ["true"], - "MCParticleCollectionName": ["MCParticle"], - "SiTrackCollectionName": ["SiTracks"], - "SiTrackRelationCollectionName": ["SiTrackRelations"], - "SimTrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "ITrackerHits", "OTrackerHits", "VXDEndcapTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "UseTruthInPrefit": ["false"] - } + "FitForward": ["true"], + "MCParticleCollectionName": ["MCParticle"], + "SiTrackCollectionName": ["SiTracks"], + "SiTrackRelationCollectionName": ["SiTrackRelations"], + "SimTrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "ITrackerHits", + "OTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "UseTruthInPrefit": ["false"], +} MyHitResiduals = MarlinProcessorWrapper("MyHitResiduals") MyHitResiduals.OutputLevel = WARNING MyHitResiduals.ProcessorType = "HitResiduals" MyHitResiduals.Parameters = { - "EnergyLossOn": ["true"], - "MaxChi2Increment": ["1000"], - "MultipleScatteringOn": ["true"], - "SmoothOn": ["false"], - "TrackCollectionName": ["SiTracks_Refitted"], - "outFileName": ["residuals.root"], - "treeName": ["restree"] - } + "EnergyLossOn": ["true"], + "MaxChi2Increment": ["1000"], + "MultipleScatteringOn": ["true"], + "SmoothOn": ["false"], + "TrackCollectionName": ["SiTracks_Refitted"], + "outFileName": ["residuals.root"], + "treeName": ["restree"], +} Overlay350GeV_L6 = MarlinProcessorWrapper("Overlay350GeV_L6") Overlay350GeV_L6.OutputLevel = WARNING Overlay350GeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay350GeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.14"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.14"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay500GeV = MarlinProcessorWrapper("Overlay500GeV") Overlay500GeV.OutputLevel = WARNING Overlay500GeV.ProcessorType = "OverlayTimingGeneric" Overlay500GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.3"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.3"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} RenameCollection = MarlinProcessorWrapper("RenameCollection") RenameCollection.OutputLevel = WARNING RenameCollection.ProcessorType = "MergeCollections" RenameCollection.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraPFOs"], - "OutputCollection": ["PFOsFromJets"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraPFOs"], + "OutputCollection": ["PFOsFromJets"], +} Overlay380GeV = MarlinProcessorWrapper("Overlay380GeV") Overlay380GeV.OutputLevel = WARNING Overlay380GeV.ProcessorType = "OverlayTimingGeneric" Overlay380GeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.18"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.18"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} VXDEndcapDigitiser = MarlinProcessorWrapper("VXDEndcapDigitiser") VXDEndcapDigitiser.OutputLevel = WARNING VXDEndcapDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDEndcapDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexEndcapCollection"], - "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDEndcapTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexEndcapCollection"], + "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDEndcapTrackerHits"], +} InnerEndcapPlanarDigiProcessor = MarlinProcessorWrapper("InnerEndcapPlanarDigiProcessor") InnerEndcapPlanarDigiProcessor.OutputLevel = WARNING InnerEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerEndcapHits"], +} Overlay350GeV_CDR = MarlinProcessorWrapper("Overlay350GeV_CDR") Overlay350GeV_CDR.OutputLevel = WARNING Overlay350GeV_CDR.ProcessorType = "OverlayTimingGeneric" Overlay350GeV_CDR.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["0.0464"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["0.0464"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} MyClicEfficiencyCalculator = MarlinProcessorWrapper("MyClicEfficiencyCalculator") MyClicEfficiencyCalculator.OutputLevel = WARNING MyClicEfficiencyCalculator.ProcessorType = "ClicEfficiencyCalculator" MyClicEfficiencyCalculator.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "MCParticleNotReco": ["MCParticleNotReco"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "TrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "efficiencyTreeName": ["trktree"], - "mcTreeName": ["mctree"], - "morePlots": ["false"], - "purityTreeName": ["puritytree"], - "reconstructableDefinition": ["ILDLike"], - "vertexBarrelID": ["1"] - } + "MCParticleCollectionName": ["MCParticle"], + "MCParticleNotReco": ["MCParticleNotReco"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "TrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "efficiencyTreeName": ["trktree"], + "mcTreeName": ["mctree"], + "morePlots": ["false"], + "purityTreeName": ["puritytree"], + "reconstructableDefinition": ["ILDLike"], + "vertexBarrelID": ["1"], +} LumiCalReco_Obs = MarlinProcessorWrapper("LumiCalReco_Obs") LumiCalReco_Obs.OutputLevel = WARNING LumiCalReco_Obs.ProcessorType = "MarlinLumiCalClusterer" LumiCalReco_Obs.Parameters = { - "ClusterMinNumHits": ["15"], - "ElementsPercentInShowerPeakLayer": ["0.03"], - "EnergyCalibConst": ["0.01213"], - "LogWeigthConstant": ["6.5"], - "LumiCal_Clusters": ["LumiCalClusters"], - "LumiCal_Collection": ["LumiCalCollection"], - "LumiCal_RecoParticles": ["LumiCalRecoParticles"], - "MaxRecordNumber": ["10"], - "MemoryResidentTree": ["0"], - "MiddleEnergyHitBoundFrac": ["0.01"], - "MinClusterEngy": ["2.0"], - "MinHitEnergy": ["20e-06"], - "MoliereRadius": ["20"], - "NumEventsTree": ["500"], - "NumOfNearNeighbor": ["6"], - "OutDirName": ["rootOut"], - "OutRootFileName": [], - "SkipNEvents": ["0"], - "WeightingMethod": ["LogMethod"], - "ZLayerPhiOffset": ["0.0"] - } + "ClusterMinNumHits": ["15"], + "ElementsPercentInShowerPeakLayer": ["0.03"], + "EnergyCalibConst": ["0.01213"], + "LogWeigthConstant": ["6.5"], + "LumiCal_Clusters": ["LumiCalClusters"], + "LumiCal_Collection": ["LumiCalCollection"], + "LumiCal_RecoParticles": ["LumiCalRecoParticles"], + "MaxRecordNumber": ["10"], + "MemoryResidentTree": ["0"], + "MiddleEnergyHitBoundFrac": ["0.01"], + "MinClusterEngy": ["2.0"], + "MinHitEnergy": ["20e-06"], + "MoliereRadius": ["20"], + "NumEventsTree": ["500"], + "NumOfNearNeighbor": ["6"], + "OutDirName": ["rootOut"], + "OutRootFileName": [], + "SkipNEvents": ["0"], + "WeightingMethod": ["LogMethod"], + "ZLayerPhiOffset": ["0.0"], +} ClonesAndSplitTracksFinder = MarlinProcessorWrapper("ClonesAndSplitTracksFinder") ClonesAndSplitTracksFinder.OutputLevel = WARNING ClonesAndSplitTracksFinder.ProcessorType = "ClonesAndSplitTracksFinder" ClonesAndSplitTracksFinder.Parameters = { - "EnergyLossOn": ["true"], - "InputTrackCollectionName": ["SiTracksCT"], - "MultipleScatteringOn": ["true"], - "OutputTrackCollectionName": ["SiTracks"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"], - "maxSignificancePhi": ["3"], - "maxSignificancePt": ["2"], - "maxSignificanceTheta": ["3"], - "mergeSplitTracks": ["true"], - "minTrackPt": ["1"] - } + "EnergyLossOn": ["true"], + "InputTrackCollectionName": ["SiTracksCT"], + "MultipleScatteringOn": ["true"], + "OutputTrackCollectionName": ["SiTracks"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], + "maxSignificancePhi": ["3"], + "maxSignificancePt": ["2"], + "maxSignificanceTheta": ["3"], + "mergeSplitTracks": ["true"], + "minTrackPt": ["1"], +} VertexFinder = MarlinProcessorWrapper("VertexFinder") VertexFinder.OutputLevel = WARNING VertexFinder.ProcessorType = "LcfiplusProcessor" VertexFinder.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["40.E-6"], - "BeamSizeY": ["1.0E-6"], - "BeamSizeZ": ["44E-3"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], - "BuildUpVertexCollectionName": ["BuildUpVertices"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["PFOsFromJets"], - "PrimaryVertexCollectionName": ["PrimaryVertices"], - "PrimaryVertexFinder.BeamspotConstraint": ["1"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["40.E-6"], + "BeamSizeY": ["1.0E-6"], + "BeamSizeZ": ["44E-3"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], + "BuildUpVertexCollectionName": ["BuildUpVertices"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["PFOsFromJets"], + "PrimaryVertexCollectionName": ["PrimaryVertices"], + "PrimaryVertexFinder.BeamspotConstraint": ["1"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} Overlay3TeV = MarlinProcessorWrapper("Overlay3TeV") Overlay3TeV.OutputLevel = WARNING Overlay3TeV.ProcessorType = "OverlayTimingGeneric" Overlay3TeV.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["3.2"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["3.2"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} MergeRP = MarlinProcessorWrapper("MergeRP") MergeRP.OutputLevel = WARNING MergeRP.ProcessorType = "MergeCollections" MergeRP.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraPFOs", "LumiCalRecoParticles", "BeamCalRecoParticles"], - "OutputCollection": ["MergedRecoParticles"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraPFOs", "LumiCalRecoParticles", "BeamCalRecoParticles"], + "OutputCollection": ["MergedRecoParticles"], +} OuterPlanarDigiProcessor = MarlinProcessorWrapper("OuterPlanarDigiProcessor") OuterPlanarDigiProcessor.OutputLevel = WARNING OuterPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerHits"], +} CLICPfoSelectorLoose_HE = MarlinProcessorWrapper("CLICPfoSelectorLoose_HE") CLICPfoSelectorLoose_HE.OutputLevel = WARNING CLICPfoSelectorLoose_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorLoose_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-2.0"], - "ChargedPfoNegativeTightTimingCut": ["-2.0"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["1000."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.25"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2.5"], - "NeutralFarForwardTightTimingCut": ["1.5"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2."], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["2."], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-2.0"], + "ChargedPfoNegativeTightTimingCut": ["-2.0"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["1000."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.25"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2.5"], + "NeutralFarForwardTightTimingCut": ["1.5"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2."], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["2."], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} MyDDCaloDigi = MarlinProcessorWrapper("MyDDCaloDigi") MyDDCaloDigi.OutputLevel = WARNING MyDDCaloDigi.ProcessorType = "DDCaloDigi" MyDDCaloDigi.Parameters = { - "CalibECALMIP": ["0.0001"], - "CalibHCALMIP": ["0.0001"], - "CalibrECAL": ["35.8411424188", "35.8411424188"], - "CalibrHCALBarrel": ["49.2031079063"], - "CalibrHCALEndcap": ["53.6263377733"], - "CalibrHCALOther": ["62.2125698179"], - "ECALBarrelTimeWindowMax": ["10"], - "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection"], - "ECALCorrectTimesForPropagation": ["1"], - "ECALDeltaTimeHitResolution": ["10"], - "ECALEndcapCorrectionFactor": ["1.0672142727"], - "ECALEndcapTimeWindowMax": ["10"], - "ECALGapCorrection": ["1"], - "ECALGapCorrectionFactor": ["1"], - "ECALLayers": ["41", "100"], - "ECALModuleGapCorrectionFactor": ["0.0"], - "ECALOutputCollection0": ["ECALBarrel"], - "ECALOutputCollection1": ["ECALEndcap"], - "ECALOutputCollection2": ["ECALOther"], - "ECALSimpleTimingCut": ["true"], - "ECALThreshold": ["5e-05"], - "ECALThresholdUnit": ["GeV"], - "ECALTimeResolution": ["10"], - "ECALTimeWindowMin": ["-1"], - "ECAL_PPD_N_Pixels": ["10000"], - "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], - "ECAL_PPD_PE_per_MIP": ["7"], - "ECAL_apply_realistic_digi": ["0"], - "ECAL_deadCellRate": ["0"], - "ECAL_deadCell_memorise": ["false"], - "ECAL_default_layerConfig": ["000000000000000"], - "ECAL_elec_noise_mips": ["0"], - "ECAL_maxDynamicRange_MIP": ["2500"], - "ECAL_miscalibration_correl": ["0"], - "ECAL_miscalibration_uncorrel": ["0"], - "ECAL_miscalibration_uncorrel_memorise": ["false"], - "ECAL_pixel_spread": ["0.05"], - "ECAL_strip_absorbtionLength": ["1e+06"], - "HCALBarrelTimeWindowMax": ["10"], - "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], - "HCALCorrectTimesForPropagation": ["1"], - "HCALDeltaTimeHitResolution": ["10"], - "HCALEndcapCorrectionFactor": ["1.000"], - "HCALEndcapTimeWindowMax": ["10"], - "HCALGapCorrection": ["1"], - "HCALLayers": ["100"], - "HCALModuleGapCorrectionFactor": ["0.5"], - "HCALOutputCollection0": ["HCALBarrel"], - "HCALOutputCollection1": ["HCALEndcap"], - "HCALOutputCollection2": ["HCALOther"], - "HCALSimpleTimingCut": ["true"], - "HCALThreshold": ["0.00025"], - "HCALThresholdUnit": ["GeV"], - "HCALTimeResolution": ["10"], - "HCALTimeWindowMin": ["-1"], - "HCAL_PPD_N_Pixels": ["400"], - "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], - "HCAL_PPD_PE_per_MIP": ["10"], - "HCAL_apply_realistic_digi": ["0"], - "HCAL_deadCellRate": ["0"], - "HCAL_deadCell_memorise": ["false"], - "HCAL_elec_noise_mips": ["0"], - "HCAL_maxDynamicRange_MIP": ["200"], - "HCAL_miscalibration_correl": ["0"], - "HCAL_miscalibration_uncorrel": ["0"], - "HCAL_miscalibration_uncorrel_memorise": ["false"], - "HCAL_pixel_spread": ["0"], - "Histograms": ["0"], - "IfDigitalEcal": ["0"], - "IfDigitalHcal": ["0"], - "MapsEcalCorrection": ["0"], - "RelationOutputCollection": ["RelationCaloHit"], - "RootFile": ["Digi_SiW.root"], - "StripEcal_default_nVirtualCells": ["9"], - "UseEcalTiming": ["1"], - "UseHcalTiming": ["1"], - "energyPerEHpair": ["3.6"] - } + "CalibECALMIP": ["0.0001"], + "CalibHCALMIP": ["0.0001"], + "CalibrECAL": ["35.8411424188", "35.8411424188"], + "CalibrHCALBarrel": ["49.2031079063"], + "CalibrHCALEndcap": ["53.6263377733"], + "CalibrHCALOther": ["62.2125698179"], + "ECALBarrelTimeWindowMax": ["10"], + "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "ECalPlugCollection"], + "ECALCorrectTimesForPropagation": ["1"], + "ECALDeltaTimeHitResolution": ["10"], + "ECALEndcapCorrectionFactor": ["1.0672142727"], + "ECALEndcapTimeWindowMax": ["10"], + "ECALGapCorrection": ["1"], + "ECALGapCorrectionFactor": ["1"], + "ECALLayers": ["41", "100"], + "ECALModuleGapCorrectionFactor": ["0.0"], + "ECALOutputCollection0": ["ECALBarrel"], + "ECALOutputCollection1": ["ECALEndcap"], + "ECALOutputCollection2": ["ECALOther"], + "ECALSimpleTimingCut": ["true"], + "ECALThreshold": ["5e-05"], + "ECALThresholdUnit": ["GeV"], + "ECALTimeResolution": ["10"], + "ECALTimeWindowMin": ["-1"], + "ECAL_PPD_N_Pixels": ["10000"], + "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], + "ECAL_PPD_PE_per_MIP": ["7"], + "ECAL_apply_realistic_digi": ["0"], + "ECAL_deadCellRate": ["0"], + "ECAL_deadCell_memorise": ["false"], + "ECAL_default_layerConfig": ["000000000000000"], + "ECAL_elec_noise_mips": ["0"], + "ECAL_maxDynamicRange_MIP": ["2500"], + "ECAL_miscalibration_correl": ["0"], + "ECAL_miscalibration_uncorrel": ["0"], + "ECAL_miscalibration_uncorrel_memorise": ["false"], + "ECAL_pixel_spread": ["0.05"], + "ECAL_strip_absorbtionLength": ["1e+06"], + "HCALBarrelTimeWindowMax": ["10"], + "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], + "HCALCorrectTimesForPropagation": ["1"], + "HCALDeltaTimeHitResolution": ["10"], + "HCALEndcapCorrectionFactor": ["1.000"], + "HCALEndcapTimeWindowMax": ["10"], + "HCALGapCorrection": ["1"], + "HCALLayers": ["100"], + "HCALModuleGapCorrectionFactor": ["0.5"], + "HCALOutputCollection0": ["HCALBarrel"], + "HCALOutputCollection1": ["HCALEndcap"], + "HCALOutputCollection2": ["HCALOther"], + "HCALSimpleTimingCut": ["true"], + "HCALThreshold": ["0.00025"], + "HCALThresholdUnit": ["GeV"], + "HCALTimeResolution": ["10"], + "HCALTimeWindowMin": ["-1"], + "HCAL_PPD_N_Pixels": ["400"], + "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], + "HCAL_PPD_PE_per_MIP": ["10"], + "HCAL_apply_realistic_digi": ["0"], + "HCAL_deadCellRate": ["0"], + "HCAL_deadCell_memorise": ["false"], + "HCAL_elec_noise_mips": ["0"], + "HCAL_maxDynamicRange_MIP": ["200"], + "HCAL_miscalibration_correl": ["0"], + "HCAL_miscalibration_uncorrel": ["0"], + "HCAL_miscalibration_uncorrel_memorise": ["false"], + "HCAL_pixel_spread": ["0"], + "Histograms": ["0"], + "IfDigitalEcal": ["0"], + "IfDigitalHcal": ["0"], + "MapsEcalCorrection": ["0"], + "RelationOutputCollection": ["RelationCaloHit"], + "RootFile": ["Digi_SiW.root"], + "StripEcal_default_nVirtualCells": ["9"], + "UseEcalTiming": ["1"], + "UseHcalTiming": ["1"], + "energyPerEHpair": ["3.6"], +} CLICPfoSelectorDefault_HE = MarlinProcessorWrapper("CLICPfoSelectorDefault_HE") CLICPfoSelectorDefault_HE.OutputLevel = WARNING CLICPfoSelectorDefault_HE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorDefault_HE.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-1"], - "ChargedPfoNegativeTightTimingCut": ["-0.5"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["0.5"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["SelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-1"], + "ChargedPfoNegativeTightTimingCut": ["-0.5"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["0.5"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["SelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} MyFastJetProcessor = MarlinProcessorWrapper("MyFastJetProcessor") MyFastJetProcessor.OutputLevel = WARNING MyFastJetProcessor.ProcessorType = "FastJetProcessor" MyFastJetProcessor.Parameters = { - "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], - "clusteringMode": ["ExclusiveNJets", "2"], - "jetOut": ["JetsAfterGamGamRemoval"], - "recParticleIn": ["TightSelectedPandoraPFOs"], - "recParticleOut": ["PFOsFromJets"], - "recombinationScheme": ["E_scheme"], - "storeParticlesInJets": ["true"] - } + "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], + "clusteringMode": ["ExclusiveNJets", "2"], + "jetOut": ["JetsAfterGamGamRemoval"], + "recParticleIn": ["TightSelectedPandoraPFOs"], + "recParticleOut": ["PFOsFromJets"], + "recombinationScheme": ["E_scheme"], + "storeParticlesInJets": ["true"], +} MyDDMarlinPandora = MarlinProcessorWrapper("MyDDMarlinPandora") MyDDMarlinPandora.OutputLevel = WARNING MyDDMarlinPandora.ProcessorType = "DDPandoraPFANewProcessor" MyDDMarlinPandora.Parameters = { - "ClusterCollectionName": ["PandoraClusters"], - "CreateGaps": ["false"], - "CurvatureToMomentumFactor": ["0.00015"], - "D0TrackCut": ["200"], - "D0UnmatchedVertexTrackCut": ["5"], - "DigitalMuonHits": ["0"], - "ECalBarrelNormalVector": ["0", "0", "1"], - "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], - "ECalMipThreshold": ["0.5"], - "ECalScMipThreshold": ["0"], - "ECalScToEMGeVCalibration": ["1"], - "ECalScToHadGeVCalibrationBarrel": ["1"], - "ECalScToHadGeVCalibrationEndCap": ["1"], - "ECalScToMipCalibration": ["1"], - "ECalSiMipThreshold": ["0"], - "ECalSiToEMGeVCalibration": ["1"], - "ECalSiToHadGeVCalibrationBarrel": ["1"], - "ECalSiToHadGeVCalibrationEndCap": ["1"], - "ECalSiToMipCalibration": ["1"], - "ECalToEMGeVCalibration": ["1.02373335516"], - "ECalToHadGeVCalibrationBarrel": ["1.24223718397"], - "ECalToHadGeVCalibrationEndCap": ["1.24223718397"], - "ECalToMipCalibration": ["181.818"], - "EMConstantTerm": ["0.01"], - "EMStochasticTerm": ["0.17"], - "FinalEnergyDensityBin": ["110."], - "HCalBarrelNormalVector": ["0", "0", "1"], - "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], - "HCalMipThreshold": ["0.3"], - "HCalToEMGeVCalibration": ["1.02373335516"], - "HCalToHadGeVCalibration": ["1.01799349172"], - "HCalToMipCalibration": ["40.8163"], - "HadConstantTerm": ["0.03"], - "HadStochasticTerm": ["0.6"], - "InputEnergyCorrectionPoints": [], - "KinkVertexCollections": ["KinkVertices"], - "LCalCaloHitCollections": [], - "LHCalCaloHitCollections": [], - "LayersFromEdgeMaxRearDistance": ["250"], - "MCParticleCollections": ["MCParticle"], - "MaxBarrelTrackerInnerRDistance": ["200"], - "MaxClusterEnergyToApplySoftComp": ["2000."], - "MaxHCalHitHadronicEnergy": ["1000000"], - "MaxTrackHits": ["5000"], - "MaxTrackSigmaPOverP": ["0.15"], - "MinBarrelTrackerHitFractionOfExpected": ["0"], - "MinCleanCorrectedHitEnergy": ["0.1"], - "MinCleanHitEnergy": ["0.5"], - "MinCleanHitEnergyFraction": ["0.01"], - "MinFtdHitsForBarrelTrackerHitFraction": ["0"], - "MinFtdTrackHits": ["0"], - "MinMomentumForTrackHitChecks": ["0"], - "MinTpcHitFractionOfExpected": ["0"], - "MinTrackECalDistanceFromIp": ["0"], - "MinTrackHits": ["0"], - "MuonBarrelBField": ["-1.5"], - "MuonCaloHitCollections": ["MUON"], - "MuonEndCapBField": ["0.01"], - "MuonHitEnergy": ["0.5"], - "MuonToMipCalibration": ["19607.8"], - "NEventsToSkip": ["0"], - "NOuterSamplingLayers": ["3"], - "OutputEnergyCorrectionPoints": [], - "PFOCollectionName": ["PandoraPFOs"], - "PandoraSettingsXmlFile": ["PandoraSettings/PandoraSettingsDefault.xml"], - "ProngVertexCollections": ["ProngVertices"], - "ReachesECalBarrelTrackerOuterDistance": ["-100"], - "ReachesECalBarrelTrackerZMaxDistance": ["-50"], - "ReachesECalFtdZMaxDistance": ["1"], - "ReachesECalMinFtdLayer": ["0"], - "ReachesECalNBarrelTrackerHits": ["0"], - "ReachesECalNFtdHits": ["0"], - "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], - "RelTrackCollections": ["SiTracks_Refitted_Relation"], - "ShouldFormTrackRelationships": ["1"], - "SoftwareCompensationEnergyDensityBins": ["0", "2.", "5.", "7.5", "9.5", "13.", "16.", "20.", "23.5", "28.", "33.", "40.", "50.", "75.", "100."], - "SoftwareCompensationWeights": ["1.61741", "-0.00444385", "2.29683e-05", "-0.0731236", "-0.00157099", "-7.09546e-07", "0.868443", "1.0561", "-0.0238574"], - "SplitVertexCollections": ["SplitVertices"], - "StartVertexAlgorithmName": ["PandoraPFANew"], - "StartVertexCollectionName": ["PandoraStartVertices"], - "StripSplittingOn": ["0"], - "TrackCollections": ["SiTracks_Refitted"], - "TrackCreatorName": ["DDTrackCreatorCLIC"], - "TrackStateTolerance": ["0"], - "TrackSystemName": ["DDKalTest"], - "UnmatchedVertexTrackMaxEnergy": ["5"], - "UseEcalScLayers": ["0"], - "UseNonVertexTracks": ["1"], - "UseOldTrackStateCalculation": ["0"], - "UseUnmatchedNonVertexTracks": ["0"], - "UseUnmatchedVertexTracks": ["1"], - "V0VertexCollections": ["V0Vertices"], - "YokeBarrelNormalVector": ["0", "0", "1"], - "Z0TrackCut": ["200"], - "Z0UnmatchedVertexTrackCut": ["5"], - "ZCutForNonVertexTracks": ["250"] - } + "ClusterCollectionName": ["PandoraClusters"], + "CreateGaps": ["false"], + "CurvatureToMomentumFactor": ["0.00015"], + "D0TrackCut": ["200"], + "D0UnmatchedVertexTrackCut": ["5"], + "DigitalMuonHits": ["0"], + "ECalBarrelNormalVector": ["0", "0", "1"], + "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], + "ECalMipThreshold": ["0.5"], + "ECalScMipThreshold": ["0"], + "ECalScToEMGeVCalibration": ["1"], + "ECalScToHadGeVCalibrationBarrel": ["1"], + "ECalScToHadGeVCalibrationEndCap": ["1"], + "ECalScToMipCalibration": ["1"], + "ECalSiMipThreshold": ["0"], + "ECalSiToEMGeVCalibration": ["1"], + "ECalSiToHadGeVCalibrationBarrel": ["1"], + "ECalSiToHadGeVCalibrationEndCap": ["1"], + "ECalSiToMipCalibration": ["1"], + "ECalToEMGeVCalibration": ["1.02373335516"], + "ECalToHadGeVCalibrationBarrel": ["1.24223718397"], + "ECalToHadGeVCalibrationEndCap": ["1.24223718397"], + "ECalToMipCalibration": ["181.818"], + "EMConstantTerm": ["0.01"], + "EMStochasticTerm": ["0.17"], + "FinalEnergyDensityBin": ["110."], + "HCalBarrelNormalVector": ["0", "0", "1"], + "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], + "HCalMipThreshold": ["0.3"], + "HCalToEMGeVCalibration": ["1.02373335516"], + "HCalToHadGeVCalibration": ["1.01799349172"], + "HCalToMipCalibration": ["40.8163"], + "HadConstantTerm": ["0.03"], + "HadStochasticTerm": ["0.6"], + "InputEnergyCorrectionPoints": [], + "KinkVertexCollections": ["KinkVertices"], + "LCalCaloHitCollections": [], + "LHCalCaloHitCollections": [], + "LayersFromEdgeMaxRearDistance": ["250"], + "MCParticleCollections": ["MCParticle"], + "MaxBarrelTrackerInnerRDistance": ["200"], + "MaxClusterEnergyToApplySoftComp": ["2000."], + "MaxHCalHitHadronicEnergy": ["1000000"], + "MaxTrackHits": ["5000"], + "MaxTrackSigmaPOverP": ["0.15"], + "MinBarrelTrackerHitFractionOfExpected": ["0"], + "MinCleanCorrectedHitEnergy": ["0.1"], + "MinCleanHitEnergy": ["0.5"], + "MinCleanHitEnergyFraction": ["0.01"], + "MinFtdHitsForBarrelTrackerHitFraction": ["0"], + "MinFtdTrackHits": ["0"], + "MinMomentumForTrackHitChecks": ["0"], + "MinTpcHitFractionOfExpected": ["0"], + "MinTrackECalDistanceFromIp": ["0"], + "MinTrackHits": ["0"], + "MuonBarrelBField": ["-1.5"], + "MuonCaloHitCollections": ["MUON"], + "MuonEndCapBField": ["0.01"], + "MuonHitEnergy": ["0.5"], + "MuonToMipCalibration": ["19607.8"], + "NEventsToSkip": ["0"], + "NOuterSamplingLayers": ["3"], + "OutputEnergyCorrectionPoints": [], + "PFOCollectionName": ["PandoraPFOs"], + "PandoraSettingsXmlFile": ["PandoraSettings/PandoraSettingsDefault.xml"], + "ProngVertexCollections": ["ProngVertices"], + "ReachesECalBarrelTrackerOuterDistance": ["-100"], + "ReachesECalBarrelTrackerZMaxDistance": ["-50"], + "ReachesECalFtdZMaxDistance": ["1"], + "ReachesECalMinFtdLayer": ["0"], + "ReachesECalNBarrelTrackerHits": ["0"], + "ReachesECalNFtdHits": ["0"], + "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], + "RelTrackCollections": ["SiTracks_Refitted_Relation"], + "ShouldFormTrackRelationships": ["1"], + "SoftwareCompensationEnergyDensityBins": [ + "0", + "2.", + "5.", + "7.5", + "9.5", + "13.", + "16.", + "20.", + "23.5", + "28.", + "33.", + "40.", + "50.", + "75.", + "100.", + ], + "SoftwareCompensationWeights": [ + "1.61741", + "-0.00444385", + "2.29683e-05", + "-0.0731236", + "-0.00157099", + "-7.09546e-07", + "0.868443", + "1.0561", + "-0.0238574", + ], + "SplitVertexCollections": ["SplitVertices"], + "StartVertexAlgorithmName": ["PandoraPFANew"], + "StartVertexCollectionName": ["PandoraStartVertices"], + "StripSplittingOn": ["0"], + "TrackCollections": ["SiTracks_Refitted"], + "TrackCreatorName": ["DDTrackCreatorCLIC"], + "TrackStateTolerance": ["0"], + "TrackSystemName": ["DDKalTest"], + "UnmatchedVertexTrackMaxEnergy": ["5"], + "UseEcalScLayers": ["0"], + "UseNonVertexTracks": ["1"], + "UseOldTrackStateCalculation": ["0"], + "UseUnmatchedNonVertexTracks": ["0"], + "UseUnmatchedVertexTracks": ["1"], + "V0VertexCollections": ["V0Vertices"], + "YokeBarrelNormalVector": ["0", "0", "1"], + "Z0TrackCut": ["200"], + "Z0UnmatchedVertexTrackCut": ["5"], + "ZCutForNonVertexTracks": ["250"], +} CLICPfoSelectorLoose_LE = MarlinProcessorWrapper("CLICPfoSelectorLoose_LE") CLICPfoSelectorLoose_LE.OutputLevel = WARNING CLICPfoSelectorLoose_LE.ProcessorType = "CLICPfoSelector" CLICPfoSelectorLoose_LE.Parameters = { - "ChargedPfoLooseTimingCut": ["10.0"], - "ChargedPfoNegativeLooseTimingCut": ["-20.0"], - "ChargedPfoNegativeTightTimingCut": ["-20.0"], - "ChargedPfoPtCut": ["0.0"], - "ChargedPfoPtCutForLooseTiming": ["4.0"], - "ChargedPfoTightTimingCut": ["5.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["50."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["10"], - "HCalBarrelTightTimingCut": ["5"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["5.0"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["10.0"], - "NeutralFarForwardTightTimingCut": ["5.0"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["10.0"], - "NeutralHadronPtCut": ["0.0"], - "NeutralHadronPtCutForLooseTiming": ["2.0"], - "NeutralHadronTightTimingCut": ["5.0"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["10.0"], - "PhotonPtCut": ["0.0"], - "PhotonPtCutForLooseTiming": ["2.0"], - "PhotonTightTimingCut": ["2.5"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LE_LooseSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["10.0"], + "ChargedPfoNegativeLooseTimingCut": ["-20.0"], + "ChargedPfoNegativeTightTimingCut": ["-20.0"], + "ChargedPfoPtCut": ["0.0"], + "ChargedPfoPtCutForLooseTiming": ["4.0"], + "ChargedPfoTightTimingCut": ["5.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["50."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["10"], + "HCalBarrelTightTimingCut": ["5"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["5.0"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["10.0"], + "NeutralFarForwardTightTimingCut": ["5.0"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["10.0"], + "NeutralHadronPtCut": ["0.0"], + "NeutralHadronPtCutForLooseTiming": ["2.0"], + "NeutralHadronTightTimingCut": ["5.0"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["10.0"], + "PhotonPtCut": ["0.0"], + "PhotonPtCutForLooseTiming": ["2.0"], + "PhotonTightTimingCut": ["2.5"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LE_LooseSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} JetClusteringAndRefiner = MarlinProcessorWrapper("JetClusteringAndRefiner") JetClusteringAndRefiner.OutputLevel = WARNING JetClusteringAndRefiner.ProcessorType = "LcfiplusProcessor" JetClusteringAndRefiner.Parameters = { - "Algorithms": ["JetClustering", "JetVertexRefiner"], - "JetClustering.AlphaParameter": ["1.0"], - "JetClustering.BetaParameter": ["1.0"], - "JetClustering.GammaParameter": ["1.0"], - "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], - "JetClustering.JetAlgorithm": ["ValenciaVertex"], - "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], - "JetClustering.MuonIDExternal": ["0"], - "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], - "JetClustering.MuonIDMinimumD0Significance": ["5.0"], - "JetClustering.MuonIDMinimumEnergy": ["0"], - "JetClustering.MuonIDMinimumProbability": ["0.5"], - "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], - "JetClustering.NJetsRequested": ["2"], - "JetClustering.OutputJetCollectionName": ["VertexJets"], - "JetClustering.OutputJetStoresVertex": ["0"], - "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetClustering.RParameter": ["1.0"], - "JetClustering.UseBeamJets": ["1"], - "JetClustering.UseMuonID": ["1"], - "JetClustering.VertexSelectionK0MassWidth": ["0.02"], - "JetClustering.VertexSelectionMaximumDistance": ["30."], - "JetClustering.VertexSelectionMinimumDistance": ["0.3"], - "JetClustering.YAddedForJetLeptonLepton": ["100"], - "JetClustering.YAddedForJetLeptonVertex": ["100"], - "JetClustering.YAddedForJetVertexLepton": ["0"], - "JetClustering.YAddedForJetVertexVertex": ["100"], - "JetClustering.YCut": ["0."], - "JetVertexRefiner.BNessCut": ["-0.80"], - "JetVertexRefiner.BNessCutE1": ["-0.15"], - "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], - "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], - "JetVertexRefiner.MaxAngleSingle": ["0.5"], - "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], - "JetVertexRefiner.MaxPosSingle": ["30."], - "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], - "JetVertexRefiner.MinEnergySingle": ["1."], - "JetVertexRefiner.MinPosSingle": ["0.3"], - "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], - "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], - "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], - "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], - "JetVertexRefiner.mind0sigSingle": ["5."], - "JetVertexRefiner.minz0sigSingle": ["5."], - "JetVertexRefiner.useBNess": ["0"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["PFOsFromJets"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["JetClustering", "JetVertexRefiner"], + "JetClustering.AlphaParameter": ["1.0"], + "JetClustering.BetaParameter": ["1.0"], + "JetClustering.GammaParameter": ["1.0"], + "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], + "JetClustering.JetAlgorithm": ["ValenciaVertex"], + "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], + "JetClustering.MuonIDExternal": ["0"], + "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], + "JetClustering.MuonIDMinimumD0Significance": ["5.0"], + "JetClustering.MuonIDMinimumEnergy": ["0"], + "JetClustering.MuonIDMinimumProbability": ["0.5"], + "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], + "JetClustering.NJetsRequested": ["2"], + "JetClustering.OutputJetCollectionName": ["VertexJets"], + "JetClustering.OutputJetStoresVertex": ["0"], + "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetClustering.RParameter": ["1.0"], + "JetClustering.UseBeamJets": ["1"], + "JetClustering.UseMuonID": ["1"], + "JetClustering.VertexSelectionK0MassWidth": ["0.02"], + "JetClustering.VertexSelectionMaximumDistance": ["30."], + "JetClustering.VertexSelectionMinimumDistance": ["0.3"], + "JetClustering.YAddedForJetLeptonLepton": ["100"], + "JetClustering.YAddedForJetLeptonVertex": ["100"], + "JetClustering.YAddedForJetVertexLepton": ["0"], + "JetClustering.YAddedForJetVertexVertex": ["100"], + "JetClustering.YCut": ["0."], + "JetVertexRefiner.BNessCut": ["-0.80"], + "JetVertexRefiner.BNessCutE1": ["-0.15"], + "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], + "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], + "JetVertexRefiner.MaxAngleSingle": ["0.5"], + "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], + "JetVertexRefiner.MaxPosSingle": ["30."], + "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], + "JetVertexRefiner.MinEnergySingle": ["1."], + "JetVertexRefiner.MinPosSingle": ["0.3"], + "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], + "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], + "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], + "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], + "JetVertexRefiner.mind0sigSingle": ["5."], + "JetVertexRefiner.minz0sigSingle": ["5."], + "JetVertexRefiner.useBNess": ["0"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["PFOsFromJets"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} VXDBarrelDigitiser = MarlinProcessorWrapper("VXDBarrelDigitiser") VXDBarrelDigitiser.OutputLevel = WARNING VXDBarrelDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDBarrelDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexBarrelCollection"], - "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexBarrelCollection"], + "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDTrackerHits"], +} Overlay3TeV_L6 = MarlinProcessorWrapper("Overlay3TeV_L6") Overlay3TeV_L6.OutputLevel = WARNING Overlay3TeV_L6.ProcessorType = "OverlayTimingGeneric" Overlay3TeV_L6.Parameters = { - "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "10", "VertexEndcapCollection", "10", "InnerTrackerBarrelCollection", "10", "InnerTrackerEndcapCollection", "10", "OuterTrackerBarrelCollection", "10", "OuterTrackerEndcapCollection", "10", "ECalBarrelCollection", "10", "ECalEndcapCollection", "10", "ECalPlugCollection", "10", "HCalBarrelCollection", "10", "HCalEndcapCollection", "10", "HCalRingCollection", "10", "YokeBarrelCollection", "10", "YokeEndcapCollection", "10", "LumiCalCollection", "10", "BeamCalCollection", "10"], - "Delta_t": ["0.5"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["30"], - "NumberBackground": ["3.12"], - "PhysicsBX": ["10"], - "Poisson_random_NOverlay": ["true"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["gghad_01.slcio", "gghad_02.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "10", + "VertexEndcapCollection", + "10", + "InnerTrackerBarrelCollection", + "10", + "InnerTrackerEndcapCollection", + "10", + "OuterTrackerBarrelCollection", + "10", + "OuterTrackerEndcapCollection", + "10", + "ECalBarrelCollection", + "10", + "ECalEndcapCollection", + "10", + "ECalPlugCollection", + "10", + "HCalBarrelCollection", + "10", + "HCalEndcapCollection", + "10", + "HCalRingCollection", + "10", + "YokeBarrelCollection", + "10", + "YokeEndcapCollection", + "10", + "LumiCalCollection", + "10", + "BeamCalCollection", + "10", + ], + "Delta_t": ["0.5"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["30"], + "NumberBackground": ["3.12"], + "PhysicsBX": ["10"], + "Poisson_random_NOverlay": ["true"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} VertexFinderUnconstrained = MarlinProcessorWrapper("VertexFinderUnconstrained") VertexFinderUnconstrained.OutputLevel = WARNING VertexFinderUnconstrained.ProcessorType = "LcfiplusProcessor" VertexFinderUnconstrained.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["40.E-6"], - "BeamSizeY": ["1.0E-6"], - "BeamSizeZ": ["44E-3"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], - "BuildUpVertexCollectionName": ["BuildUpVertices_res"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["4.0"], - "PFOCollection": ["TightSelectedPandoraPFOs"], - "PrimaryVertexCollectionName": ["PrimaryVertices_res"], - "PrimaryVertexFinder.BeamspotConstraint": ["0"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["40.E-6"], + "BeamSizeY": ["1.0E-6"], + "BeamSizeZ": ["44E-3"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], + "BuildUpVertexCollectionName": ["BuildUpVertices_res"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["4.0"], + "PFOCollection": ["TightSelectedPandoraPFOs"], + "PrimaryVertexCollectionName": ["PrimaryVertices_res"], + "PrimaryVertexFinder.BeamspotConstraint": ["0"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} MyDDSimpleMuonDigi = MarlinProcessorWrapper("MyDDSimpleMuonDigi") MyDDSimpleMuonDigi.OutputLevel = WARNING MyDDSimpleMuonDigi.ProcessorType = "DDSimpleMuonDigi" MyDDSimpleMuonDigi.Parameters = { - "CalibrMUON": ["70.1"], - "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], - "MUONOutputCollection": ["MUON"], - "MaxHitEnergyMUON": ["2.0"], - "MuonThreshold": ["1e-06"], - "RelationOutputCollection": ["RelationMuonHit"] - } - - + "CalibrMUON": ["70.1"], + "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], + "MUONOutputCollection": ["MUON"], + "MaxHitEnergyMUON": ["2.0"], + "MuonThreshold": ["1e-06"], + "RelationOutputCollection": ["RelationMuonHit"], +} Output_DST = MarlinProcessorWrapper("Output_DST") Output_DST.OutputLevel = WARNING Output_DST.ProcessorType = "LCIOOutputProcessor" Output_DST.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": ["MCParticle", "LCRelation", "SimCalorimeterHit", "CalorimeterHit", "SimTrackerHit", "TrackerHit", "TrackerHitPlane", "Track", "ReconstructedParticle", "LCFloatVec", "Clusters"], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles", "MCPhysicsParticles"], - "KeepCollectionNames": ["MCParticlesSkimmed", "MCPhysicsParticles", "RecoMCTruthLink", "SiTracks", "SiTracks_Refitted", "PandoraClusters", "PandoraPFOs", "SelectedPandoraPFOs", "LooseSelectedPandoraPFOs", "TightSelectedPandoraPFOs", "LE_SelectedPandoraPFOs", "LE_LooseSelectedPandoraPFOs", "LE_TightSelectedPandoraPFOs", "LumiCalClusters", "LumiCalRecoParticles", "BeamCalClusters", "BeamCalRecoParticles", "MergedRecoParticles", "MergedClusters", "RefinedVertexJets", "RefinedVertexJets_rel", "RefinedVertexJets_vtx", "RefinedVertexJets_vtx_RP", "BuildUpVertices", "BuildUpVertices_res", "BuildUpVertices_RP", "BuildUpVertices_res_RP", "BuildUpVertices_V0", "BuildUpVertices_V0_res", "BuildUpVertices_V0_RP", "BuildUpVertices_V0_res_RP", "PrimaryVertices", "PrimaryVertices_res", "PrimaryVertices_RP", "PrimaryVertices_res_RP", "RefinedVertices", "RefinedVertices_RP"], - "LCIOOutputFile": ["Output_DST_mt_wrapper.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [ + "MCParticle", + "LCRelation", + "SimCalorimeterHit", + "CalorimeterHit", + "SimTrackerHit", + "TrackerHit", + "TrackerHitPlane", + "Track", + "ReconstructedParticle", + "LCFloatVec", + "Clusters", + ], + "FullSubsetCollections": [ + "EfficientMCParticles", + "InefficientMCParticles", + "MCPhysicsParticles", + ], + "KeepCollectionNames": [ + "MCParticlesSkimmed", + "MCPhysicsParticles", + "RecoMCTruthLink", + "SiTracks", + "SiTracks_Refitted", + "PandoraClusters", + "PandoraPFOs", + "SelectedPandoraPFOs", + "LooseSelectedPandoraPFOs", + "TightSelectedPandoraPFOs", + "LE_SelectedPandoraPFOs", + "LE_LooseSelectedPandoraPFOs", + "LE_TightSelectedPandoraPFOs", + "LumiCalClusters", + "LumiCalRecoParticles", + "BeamCalClusters", + "BeamCalRecoParticles", + "MergedRecoParticles", + "MergedClusters", + "RefinedVertexJets", + "RefinedVertexJets_rel", + "RefinedVertexJets_vtx", + "RefinedVertexJets_vtx_RP", + "BuildUpVertices", + "BuildUpVertices_res", + "BuildUpVertices_RP", + "BuildUpVertices_res_RP", + "BuildUpVertices_V0", + "BuildUpVertices_V0_res", + "BuildUpVertices_V0_RP", + "BuildUpVertices_V0_res_RP", + "PrimaryVertices", + "PrimaryVertices_res", + "PrimaryVertices_RP", + "PrimaryVertices_res_RP", + "RefinedVertices", + "RefinedVertices_RP", + ], + "LCIOOutputFile": ["Output_DST_mt_wrapper.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} Output_REC = MarlinProcessorWrapper("Output_REC") Output_REC.OutputLevel = WARNING Output_REC.ProcessorType = "LCIOOutputProcessor" Output_REC.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": [], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], - "KeepCollectionNames": [], - "LCIOOutputFile": ["Output_REC_mt_wrapper.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } - - + "DropCollectionNames": [], + "DropCollectionTypes": [], + "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], + "KeepCollectionNames": [], + "LCIOOutputFile": ["Output_REC_mt_wrapper.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} from Configurables import LcioEventOutput MyLcioEventOutput_DST = LcioEventOutput("MyLcioEventOutput_DST") MyLcioEventOutput_DST.DropCollectionNames = [] -MyLcioEventOutput_DST.DropCollectionTypes = ["MCParticle", "LCRelation", "SimCalorimeterHit", "CalorimeterHit", "SimTrackerHit", "TrackerHit", "TrackerHitPlane", "Track", "ReconstructedParticle", "LCFloatVec", "Clusters"] -MyLcioEventOutput_DST.FullSubsetCollections = ["EfficientMCParticles", "InefficientMCParticles", "MCPhysicsParticles"] -MyLcioEventOutput_DST.KeepCollectionNames = ["MCParticlesSkimmed", "MCPhysicsParticles", "RecoMCTruthLink", "SiTracks", "SiTracks_Refitted", "PandoraClusters", "PandoraPFOs", "SelectedPandoraPFOs", "LooseSelectedPandoraPFOs", "TightSelectedPandoraPFOs", "LE_SelectedPandoraPFOs", "LE_LooseSelectedPandoraPFOs", "LE_TightSelectedPandoraPFOs", "LumiCalClusters", "LumiCalRecoParticles", "BeamCalClusters", "BeamCalRecoParticles", "MergedRecoParticles", "MergedClusters", "RefinedVertexJets", "RefinedVertexJets_rel", "RefinedVertexJets_vtx", "RefinedVertexJets_vtx_RP", "BuildUpVertices", "BuildUpVertices_res", "BuildUpVertices_RP", "BuildUpVertices_res_RP", "BuildUpVertices_V0", "BuildUpVertices_V0_res", "BuildUpVertices_V0_RP", "BuildUpVertices_V0_res_RP", "PrimaryVertices", "PrimaryVertices_res", "PrimaryVertices_RP", "PrimaryVertices_res_RP", "RefinedVertices", "RefinedVertices_RP"] +MyLcioEventOutput_DST.DropCollectionTypes = [ + "MCParticle", + "LCRelation", + "SimCalorimeterHit", + "CalorimeterHit", + "SimTrackerHit", + "TrackerHit", + "TrackerHitPlane", + "Track", + "ReconstructedParticle", + "LCFloatVec", + "Clusters", +] +MyLcioEventOutput_DST.FullSubsetCollections = [ + "EfficientMCParticles", + "InefficientMCParticles", + "MCPhysicsParticles", +] +MyLcioEventOutput_DST.KeepCollectionNames = [ + "MCParticlesSkimmed", + "MCPhysicsParticles", + "RecoMCTruthLink", + "SiTracks", + "SiTracks_Refitted", + "PandoraClusters", + "PandoraPFOs", + "SelectedPandoraPFOs", + "LooseSelectedPandoraPFOs", + "TightSelectedPandoraPFOs", + "LE_SelectedPandoraPFOs", + "LE_LooseSelectedPandoraPFOs", + "LE_TightSelectedPandoraPFOs", + "LumiCalClusters", + "LumiCalRecoParticles", + "BeamCalClusters", + "BeamCalRecoParticles", + "MergedRecoParticles", + "MergedClusters", + "RefinedVertexJets", + "RefinedVertexJets_rel", + "RefinedVertexJets_vtx", + "RefinedVertexJets_vtx_RP", + "BuildUpVertices", + "BuildUpVertices_res", + "BuildUpVertices_RP", + "BuildUpVertices_res_RP", + "BuildUpVertices_V0", + "BuildUpVertices_V0_res", + "BuildUpVertices_V0_RP", + "BuildUpVertices_V0_res_RP", + "PrimaryVertices", + "PrimaryVertices_res", + "PrimaryVertices_RP", + "PrimaryVertices_res_RP", + "RefinedVertices", + "RefinedVertices_RP", +] MyLcioEventOutput_DST.OutputFileName = "Output_DST_mt_lcio.slcio" MyLcioEventOutput_DST.WriteMode = "WRITE_NEW" - MyLcioEventOutput_REC = LcioEventOutput("MyLcioEventOutput_REC") MyLcioEventOutput_REC.DropCollectionNames = [] MyLcioEventOutput_REC.DropCollectionTypes = [] @@ -1395,8 +2209,6 @@ MyLcioEventOutput_REC.WriteMode = "WRITE_NEW" - - ########################################################### # Add all algorithms ########################################################### @@ -1455,7 +2267,6 @@ algList.append(MyLcioEventOutput_DST) - ########################################################### # Gaudi Sequencer ########################################################### @@ -1463,22 +2274,19 @@ algo.Cardinality = cardinality algo.OutputLevel = DEBUG -seq = Sequencer( - "createViewSeq", - Members=algList, - Sequential=True, - OutputLevel=VERBOSE) +seq = Sequencer("createViewSeq", Members=algList, Sequential=True, OutputLevel=VERBOSE) ########################################################### # Application Manager configuration ########################################################### from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = [seq], - EvtSel = 'NONE', - EvtMax = 4, - ExtSvc = [whiteboard], - EventLoop=slimeventloopmgr, - MessageSvcType="InertMessageSvc" - ) +ApplicationMgr( + TopAlg=[seq], + EvtSel="NONE", + EvtMax=4, + ExtSvc=[whiteboard], + EventLoop=slimeventloopmgr, + MessageSvcType="InertMessageSvc", +) diff --git a/test/gaudi_opts/converterConstants.py b/test/gaudi_opts/converterConstants.py index 06801d2d..6e87df92 100644 --- a/test/gaudi_opts/converterConstants.py +++ b/test/gaudi_opts/converterConstants.py @@ -20,18 +20,19 @@ from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper from k4MarlinWrapper.parseConstants import * + algList = [] evtsvc = EventDataSvc() CONSTANTS = { - 'DetectorModel': "CLIC_o2_v04", - 'MyCompact': "compact", - 'DD4hepXMLFile_subPath': "$K4GEO/CLIC/%(MyCompact)s/%(DetectorModel)s/%(DetectorModel)s.xml", - 'MyResTest': "0.003", - 'MyResTest2': "003", - 'MyResTest3': "0.", - 'MyResArrayTest': ["0.002", "%(MyResTest)s", "0.004", "0.005"], + "DetectorModel": "CLIC_o2_v04", + "MyCompact": "compact", + "DD4hepXMLFile_subPath": "$K4GEO/CLIC/%(MyCompact)s/%(DetectorModel)s/%(DetectorModel)s.xml", + "MyResTest": "0.003", + "MyResTest2": "003", + "MyResTest3": "0.", + "MyResArrayTest": ["0.002", "%(MyResTest)s", "0.004", "0.005"], } parseConstants(CONSTANTS) @@ -44,38 +45,37 @@ AidaProcessor = MarlinProcessorWrapper("AidaProcessor") AidaProcessor.OutputLevel = DEBUG AidaProcessor.ProcessorType = "AIDAProcessor" -AidaProcessor.Parameters = { - "Compress": ["1"], - "FileName": ["histograms"], - "FileType": ["root"] - } +AidaProcessor.Parameters = {"Compress": ["1"], "FileName": ["histograms"], "FileType": ["root"]} EventNumber = MarlinProcessorWrapper("EventNumber") EventNumber.OutputLevel = DEBUG EventNumber.ProcessorType = "Statusmonitor" -EventNumber.Parameters = { - "HowOften": ["1"] - } +EventNumber.Parameters = {"HowOften": ["1"]} InitDD4hep = MarlinProcessorWrapper("InitDD4hep") InitDD4hep.OutputLevel = DEBUG InitDD4hep.ProcessorType = "InitializeDD4hep" -InitDD4hep.Parameters = { - "DD4hepXMLFile": ["%(DD4hepXMLFile_subPath)s" % CONSTANTS] - } +InitDD4hep.Parameters = {"DD4hepXMLFile": ["%(DD4hepXMLFile_subPath)s" % CONSTANTS]} VXDBarrelDigitiser = MarlinProcessorWrapper("VXDBarrelDigitiser") VXDBarrelDigitiser.OutputLevel = DEBUG VXDBarrelDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDBarrelDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["%(MyResTest)s" % CONSTANTS, "0.%(MyResTest2)s" % CONSTANTS, "0.003", "%(MyResTest3)s%(MyResTest2)s" % CONSTANTS, "%(MyResTest)s" % CONSTANTS, "%(MyResTest)s" % CONSTANTS], - "ResolutionV": ["0.003", "%(MyResArrayTest)s" % CONSTANTS, "0.003"], - "SimTrackHitCollectionName": ["VertexBarrelCollection"], - "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": [ + "%(MyResTest)s" % CONSTANTS, + "0.%(MyResTest2)s" % CONSTANTS, + "0.003", + "%(MyResTest3)s%(MyResTest2)s" % CONSTANTS, + "%(MyResTest)s" % CONSTANTS, + "%(MyResTest)s" % CONSTANTS, + ], + "ResolutionV": ["0.003", "%(MyResArrayTest)s" % CONSTANTS, "0.003"], + "SimTrackHitCollectionName": ["VertexBarrelCollection"], + "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDTrackerHits"], +} algList.append(AidaProcessor) algList.append(EventNumber) @@ -83,9 +83,5 @@ algList.append(VXDBarrelDigitiser) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 10, - ExtSvc = [evtsvc], - OutputLevel=DEBUG - ) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=10, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/test/gaudi_opts/fccRec_e4h_input.py b/test/gaudi_opts/fccRec_e4h_input.py index 8e6e9e80..43c44a2c 100644 --- a/test/gaudi_opts/fccRec_e4h_input.py +++ b/test/gaudi_opts/fccRec_e4h_input.py @@ -22,11 +22,12 @@ from Configurables import LcioEvent, k4DataSvc, MarlinProcessorWrapper from k4MarlinWrapper.parseConstants import * + algList = [] CONSTANTS = { - 'CalorimeterIntegrationTimeWindow': "10", + "CalorimeterIntegrationTimeWindow": "10", } parseConstants(CONSTANTS) @@ -36,34 +37,35 @@ from Configurables import ToolSvc, Lcio2EDM4hepTool, EDM4hep2LcioTool from Configurables import k4DataSvc, PodioInput -evtsvc = k4DataSvc('EventDataSvc') -evtsvc.input = 'tops_edm4hep.root' -inp = PodioInput('InputReader') +evtsvc = k4DataSvc("EventDataSvc") +evtsvc.input = "tops_edm4hep.root" + +inp = PodioInput("InputReader") inp.collections = [ - 'MCParticles', - 'VertexBarrelCollection', - 'VertexEndcapCollection', - 'InnerTrackerBarrelCollection', - 'OuterTrackerBarrelCollection', - 'ECalEndcapCollection', - 'ECalEndcapCollectionContributions', - 'ECalBarrelCollection', - 'ECalBarrelCollectionContributions', - 'HCalBarrelCollection', - 'HCalBarrelCollectionContributions', - 'InnerTrackerEndcapCollection', - 'OuterTrackerEndcapCollection', - 'HCalEndcapCollection', - 'HCalEndcapCollectionContributions', - 'HCalRingCollection', - 'HCalRingCollectionContributions', - 'YokeBarrelCollection', - 'YokeBarrelCollectionContributions', - 'YokeEndcapCollection', - 'YokeEndcapCollectionContributions', - 'LumiCalCollection', - 'LumiCalCollectionContributions', + "MCParticles", + "VertexBarrelCollection", + "VertexEndcapCollection", + "InnerTrackerBarrelCollection", + "OuterTrackerBarrelCollection", + "ECalEndcapCollection", + "ECalEndcapCollectionContributions", + "ECalBarrelCollection", + "ECalBarrelCollectionContributions", + "HCalBarrelCollection", + "HCalBarrelCollectionContributions", + "InnerTrackerEndcapCollection", + "OuterTrackerEndcapCollection", + "HCalEndcapCollection", + "HCalEndcapCollectionContributions", + "HCalRingCollection", + "HCalRingCollectionContributions", + "YokeBarrelCollection", + "YokeBarrelCollectionContributions", + "YokeEndcapCollection", + "YokeEndcapCollectionContributions", + "LumiCalCollection", + "LumiCalCollectionContributions", ] inp.OutputLevel = WARNING @@ -71,480 +73,876 @@ MyAIDAProcessor = MarlinProcessorWrapper("MyAIDAProcessor") MyAIDAProcessor.OutputLevel = WARNING MyAIDAProcessor.ProcessorType = "AIDAProcessor" -MyAIDAProcessor.Parameters = { - "Compress": ["1"], - "FileName": ["histograms"], - "FileType": ["root"] - } +MyAIDAProcessor.Parameters = {"Compress": ["1"], "FileName": ["histograms"], "FileType": ["root"]} # EDM4hep to LCIO converter edmConvTool = EDM4hep2LcioTool("EDM4hep2lcio") edmConvTool.convertAll = False edmConvTool.collNameMapping = { - 'MCParticles': 'MCParticles', - 'VertexBarrelCollection': 'VertexBarrelCollection', - 'VertexEndcapCollection': 'VertexEndcapCollection', - 'InnerTrackerBarrelCollection': 'InnerTrackerBarrelCollection', - 'OuterTrackerBarrelCollection': 'OuterTrackerBarrelCollection', - 'InnerTrackerEndcapCollection': 'InnerTrackerEndcapCollection', - 'OuterTrackerEndcapCollection': 'OuterTrackerEndcapCollection', - 'ECalEndcapCollection': 'ECalEndcapCollection', - 'ECalBarrelCollection': 'ECalBarrelCollection', - 'HCalBarrelCollection': 'HCalBarrelCollection', - 'HCalEndcapCollection': 'HCalEndcapCollection', - 'HCalRingCollection': 'HCalRingCollection', - 'YokeBarrelCollection': 'YokeBarrelCollection', - 'YokeEndcapCollection': 'YokeEndcapCollection', - 'LumiCalCollection': 'LumiCalCollection', + "MCParticles": "MCParticles", + "VertexBarrelCollection": "VertexBarrelCollection", + "VertexEndcapCollection": "VertexEndcapCollection", + "InnerTrackerBarrelCollection": "InnerTrackerBarrelCollection", + "OuterTrackerBarrelCollection": "OuterTrackerBarrelCollection", + "InnerTrackerEndcapCollection": "InnerTrackerEndcapCollection", + "OuterTrackerEndcapCollection": "OuterTrackerEndcapCollection", + "ECalEndcapCollection": "ECalEndcapCollection", + "ECalBarrelCollection": "ECalBarrelCollection", + "HCalBarrelCollection": "HCalBarrelCollection", + "HCalEndcapCollection": "HCalEndcapCollection", + "HCalRingCollection": "HCalRingCollection", + "YokeBarrelCollection": "YokeBarrelCollection", + "YokeEndcapCollection": "YokeEndcapCollection", + "LumiCalCollection": "LumiCalCollection", } edmConvTool.OutputLevel = DEBUG -MyAIDAProcessor.EDM4hep2LcioTool=edmConvTool - +MyAIDAProcessor.EDM4hep2LcioTool = edmConvTool InitDD4hep = MarlinProcessorWrapper("InitDD4hep") InitDD4hep.OutputLevel = WARNING InitDD4hep.ProcessorType = "InitializeDD4hep" InitDD4hep.Parameters = { - "DD4hepXMLFile": [os.environ["K4GEO"]+"/FCCee/CLD/compact/FCCee_o1_v04/FCCee_o1_v04.xml"], - "EncodingStringParameter": ["GlobalTrackerReadoutID"] - } + "DD4hepXMLFile": [os.environ["K4GEO"] + "/FCCee/CLD/compact/FCCee_o1_v04/FCCee_o1_v04.xml"], + "EncodingStringParameter": ["GlobalTrackerReadoutID"], +} VXDBarrelDigitiser = MarlinProcessorWrapper("VXDBarrelDigitiser") VXDBarrelDigitiser.OutputLevel = WARNING VXDBarrelDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDBarrelDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexBarrelCollection"], - "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexBarrelCollection"], + "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDTrackerHits"], +} VXDEndcapDigitiser = MarlinProcessorWrapper("VXDEndcapDigitiser") VXDEndcapDigitiser.OutputLevel = WARNING VXDEndcapDigitiser.ProcessorType = "DDPlanarDigiProcessor" VXDEndcapDigitiser.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], - "SimTrackHitCollectionName": ["VertexEndcapCollection"], - "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], - "SubDetectorName": ["Vertex"], - "TrackerHitCollectionName": ["VXDEndcapTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"], + "SimTrackHitCollectionName": ["VertexEndcapCollection"], + "SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"], + "SubDetectorName": ["Vertex"], + "TrackerHitCollectionName": ["VXDEndcapTrackerHits"], +} InnerPlanarDigiProcessor = MarlinProcessorWrapper("InnerPlanarDigiProcessor") InnerPlanarDigiProcessor.OutputLevel = WARNING InnerPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007"], - "ResolutionV": ["0.09"], - "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007"], + "ResolutionV": ["0.09"], + "SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerHits"], +} InnerEndcapPlanarDigiProcessor = MarlinProcessorWrapper("InnerEndcapPlanarDigiProcessor") InnerEndcapPlanarDigiProcessor.OutputLevel = WARNING InnerEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" InnerEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], - "SubDetectorName": ["InnerTrackers"], - "TrackerHitCollectionName": ["ITrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.005", "0.007", "0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.005", "0.09", "0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["InnerTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["InnerTrackerEndcapHitsRelations"], + "SubDetectorName": ["InnerTrackers"], + "TrackerHitCollectionName": ["ITrackerEndcapHits"], +} OuterPlanarDigiProcessor = MarlinProcessorWrapper("OuterPlanarDigiProcessor") OuterPlanarDigiProcessor.OutputLevel = WARNING OuterPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], - "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerBarrelCollection"], + "SimTrkHitRelCollection": ["OuterTrackerBarrelHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerHits"], +} OuterEndcapPlanarDigiProcessor = MarlinProcessorWrapper("OuterEndcapPlanarDigiProcessor") OuterEndcapPlanarDigiProcessor.OutputLevel = WARNING OuterEndcapPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor" OuterEndcapPlanarDigiProcessor.Parameters = { - "IsStrip": ["false"], - "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], - "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], - "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], - "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], - "SubDetectorName": ["OuterTrackers"], - "TrackerHitCollectionName": ["OTrackerEndcapHits"] - } + "IsStrip": ["false"], + "ResolutionU": ["0.007", "0.007", "0.007", "0.007", "0.007"], + "ResolutionV": ["0.09", "0.09", "0.09", "0.09", "0.09"], + "SimTrackHitCollectionName": ["OuterTrackerEndcapCollection"], + "SimTrkHitRelCollection": ["OuterTrackerEndcapHitsRelations"], + "SubDetectorName": ["OuterTrackers"], + "TrackerHitCollectionName": ["OTrackerEndcapHits"], +} MyTruthTrackFinder = MarlinProcessorWrapper("MyTruthTrackFinder") MyTruthTrackFinder.OutputLevel = WARNING MyTruthTrackFinder.ProcessorType = "TruthTrackFinder" MyTruthTrackFinder.Parameters = { - "FitForward": ["true"], - "MCParticleCollectionName": ["MCParticle"], - "SiTrackCollectionName": ["SiTracks"], - "SiTrackRelationCollectionName": ["SiTrackRelations"], - "SimTrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "ITrackerHits", "OTrackerHits", "VXDEndcapTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "UseTruthInPrefit": ["false"] - } + "FitForward": ["true"], + "MCParticleCollectionName": ["MCParticle"], + "SiTrackCollectionName": ["SiTracks"], + "SiTrackRelationCollectionName": ["SiTrackRelations"], + "SimTrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "ITrackerHits", + "OTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "UseTruthInPrefit": ["false"], +} MyConformalTracking = MarlinProcessorWrapper("MyConformalTracking") MyConformalTracking.OutputLevel = WARNING MyConformalTracking.ProcessorType = "ConformalTrackingV2" MyConformalTracking.Parameters = { - "DebugHits": ["DebugHits"], - "DebugPlots": ["false"], - "DebugTiming": ["false"], - "MCParticleCollectionName": ["MCParticle"], - "MaxHitInvertedFit": ["0"], - "MinClustersOnTrackAfterFit": ["3"], - "RelationsNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "RetryTooManyTracks": ["false"], - "SiTrackCollectionName": ["SiTracksCT"], - "SortTreeResults": ["true"], - "Steps": ["[VXDBarrel]", "@Collections", ":", "VXDTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.01;", "MaxCellAngleRZ", ":", "0.01;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.03;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[VXDEncap]", "@Collections", ":", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.01;", "MaxCellAngleRZ", ":", "0.01;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.03;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[LowerCellAngle1]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits", "@Parameters", ":", "MaxCellAngle", ":", "0.05;", "MaxCellAngleRZ", ":", "0.05;", "Chi2Cut", ":", "100;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.03;", "SlopeZRange:", "10.0;HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks", "[LowerCellAngle2]", "@Collections", ":", "@Parameters", ":", "MaxCellAngle", ":", "0.1;", "MaxCellAngleRZ", ":", "0.1;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.03;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "BuildNewTracks,", "SortTracks", "[Tracker]", "@Collections", ":", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.1;", "MaxCellAngleRZ", ":", "0.1;", "Chi2Cut", ":", "2000;", "MinClustersOnTrack", ":", "4;", "MaxDistance", ":", "0.03;", "SlopeZRange:", "10.0;", "HighPTCut:", "1.0;", "@Flags", ":", "HighPTFit,", "VertexToTracker,", "RadialSearch", "@Functions", ":", "CombineCollections,", "ExtendTracks", "[Displaced]", "@Collections", ":", "VXDTrackerHits,", "VXDEndcapTrackerHits,", "ITrackerHits,", "OTrackerHits,", "ITrackerEndcapHits,", "OTrackerEndcapHits", "@Parameters", ":", "MaxCellAngle", ":", "0.1;", "MaxCellAngleRZ", ":", "0.1;", "Chi2Cut", ":", "1000;", "MinClustersOnTrack", ":", "5;", "MaxDistance", ":", "0.015;", "SlopeZRange:", "10.0;", "HighPTCut:", "10.0;", "@Flags", ":", "OnlyZSchi2cut,", "RadialSearch", "@Functions", ":", "CombineCollections,", "BuildNewTracks"], - "ThetaRange": ["0.05"], - "TooManyTracks": ["100000"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "trackPurity": ["0.7"] - } + "DebugHits": ["DebugHits"], + "DebugPlots": ["false"], + "DebugTiming": ["false"], + "MCParticleCollectionName": ["MCParticle"], + "MaxHitInvertedFit": ["0"], + "MinClustersOnTrackAfterFit": ["3"], + "RelationsNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "RetryTooManyTracks": ["false"], + "SiTrackCollectionName": ["SiTracksCT"], + "SortTreeResults": ["true"], + "Steps": [ + "[VXDBarrel]", + "@Collections", + ":", + "VXDTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.01;", + "MaxCellAngleRZ", + ":", + "0.01;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.03;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[VXDEncap]", + "@Collections", + ":", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.01;", + "MaxCellAngleRZ", + ":", + "0.01;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.03;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[LowerCellAngle1]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.05;", + "MaxCellAngleRZ", + ":", + "0.05;", + "Chi2Cut", + ":", + "100;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.03;", + "SlopeZRange:", + "10.0;HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + "[LowerCellAngle2]", + "@Collections", + ":", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.1;", + "MaxCellAngleRZ", + ":", + "0.1;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.03;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "BuildNewTracks,", + "SortTracks", + "[Tracker]", + "@Collections", + ":", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.1;", + "MaxCellAngleRZ", + ":", + "0.1;", + "Chi2Cut", + ":", + "2000;", + "MinClustersOnTrack", + ":", + "4;", + "MaxDistance", + ":", + "0.03;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "1.0;", + "@Flags", + ":", + "HighPTFit,", + "VertexToTracker,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "ExtendTracks", + "[Displaced]", + "@Collections", + ":", + "VXDTrackerHits,", + "VXDEndcapTrackerHits,", + "ITrackerHits,", + "OTrackerHits,", + "ITrackerEndcapHits,", + "OTrackerEndcapHits", + "@Parameters", + ":", + "MaxCellAngle", + ":", + "0.1;", + "MaxCellAngleRZ", + ":", + "0.1;", + "Chi2Cut", + ":", + "1000;", + "MinClustersOnTrack", + ":", + "5;", + "MaxDistance", + ":", + "0.015;", + "SlopeZRange:", + "10.0;", + "HighPTCut:", + "10.0;", + "@Flags", + ":", + "OnlyZSchi2cut,", + "RadialSearch", + "@Functions", + ":", + "CombineCollections,", + "BuildNewTracks", + ], + "ThetaRange": ["0.05"], + "TooManyTracks": ["100000"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "trackPurity": ["0.7"], +} ClonesAndSplitTracksFinder = MarlinProcessorWrapper("ClonesAndSplitTracksFinder") ClonesAndSplitTracksFinder.OutputLevel = WARNING ClonesAndSplitTracksFinder.ProcessorType = "ClonesAndSplitTracksFinder" ClonesAndSplitTracksFinder.Parameters = { - "EnergyLossOn": ["true"], - "InputTrackCollectionName": ["SiTracksCT"], - "MultipleScatteringOn": ["true"], - "OutputTrackCollectionName": ["SiTracks"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"], - "maxSignificancePhi": ["3"], - "maxSignificancePt": ["2"], - "maxSignificanceTheta": ["3"], - "mergeSplitTracks": ["false"], - "minTrackPt": ["1"] - } + "EnergyLossOn": ["true"], + "InputTrackCollectionName": ["SiTracksCT"], + "MultipleScatteringOn": ["true"], + "OutputTrackCollectionName": ["SiTracks"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], + "maxSignificancePhi": ["3"], + "maxSignificancePt": ["2"], + "maxSignificanceTheta": ["3"], + "mergeSplitTracks": ["false"], + "minTrackPt": ["1"], +} Refit = MarlinProcessorWrapper("Refit") Refit.OutputLevel = WARNING Refit.ProcessorType = "RefitFinal" Refit.Parameters = { - "EnergyLossOn": ["true"], - "InputRelationCollectionName": ["SiTrackRelations"], - "InputTrackCollectionName": ["SiTracks"], - "Max_Chi2_Incr": ["1.79769e+30"], - "MinClustersOnTrackAfterFit": ["3"], - "MultipleScatteringOn": ["true"], - "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], - "OutputTrackCollectionName": ["SiTracks_Refitted"], - "ReferencePoint": ["-1"], - "SmoothOn": ["false"], - "extrapolateForward": ["true"] - } + "EnergyLossOn": ["true"], + "InputRelationCollectionName": ["SiTrackRelations"], + "InputTrackCollectionName": ["SiTracks"], + "Max_Chi2_Incr": ["1.79769e+30"], + "MinClustersOnTrackAfterFit": ["3"], + "MultipleScatteringOn": ["true"], + "OutputRelationCollectionName": ["SiTracks_Refitted_Relation"], + "OutputTrackCollectionName": ["SiTracks_Refitted"], + "ReferencePoint": ["-1"], + "SmoothOn": ["false"], + "extrapolateForward": ["true"], +} MyClicEfficiencyCalculator = MarlinProcessorWrapper("MyClicEfficiencyCalculator") MyClicEfficiencyCalculator.OutputLevel = WARNING MyClicEfficiencyCalculator.ProcessorType = "ClicEfficiencyCalculator" MyClicEfficiencyCalculator.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "MCParticleNotReco": ["MCParticleNotReco"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackerHitCollectionNames": ["VXDTrackerHits", "VXDEndcapTrackerHits", "ITrackerHits", "OTrackerHits", "ITrackerEndcapHits", "OTrackerEndcapHits"], - "TrackerHitRelCollectionNames": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "efficiencyTreeName": ["trktree"], - "mcTreeName": ["mctree"], - "morePlots": ["false"], - "purityTreeName": ["puritytree"], - "reconstructableDefinition": ["ILDLike"], - "vertexBarrelID": ["1"] - } + "MCParticleCollectionName": ["MCParticle"], + "MCParticleNotReco": ["MCParticleNotReco"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackerHitCollectionNames": [ + "VXDTrackerHits", + "VXDEndcapTrackerHits", + "ITrackerHits", + "OTrackerHits", + "ITrackerEndcapHits", + "OTrackerEndcapHits", + ], + "TrackerHitRelCollectionNames": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "efficiencyTreeName": ["trktree"], + "mcTreeName": ["mctree"], + "morePlots": ["false"], + "purityTreeName": ["puritytree"], + "reconstructableDefinition": ["ILDLike"], + "vertexBarrelID": ["1"], +} MyTrackChecker = MarlinProcessorWrapper("MyTrackChecker") MyTrackChecker.OutputLevel = WARNING MyTrackChecker.ProcessorType = "TrackChecker" MyTrackChecker.Parameters = { - "MCParticleCollectionName": ["MCParticle"], - "TrackCollectionName": ["SiTracks_Refitted"], - "TrackRelationCollectionName": ["SiTracksMCTruthLink"], - "TreeName": ["checktree"], - "UseOnlyTree": ["true"] - } + "MCParticleCollectionName": ["MCParticle"], + "TrackCollectionName": ["SiTracks_Refitted"], + "TrackRelationCollectionName": ["SiTracksMCTruthLink"], + "TreeName": ["checktree"], + "UseOnlyTree": ["true"], +} EventNumber = MarlinProcessorWrapper("EventNumber") EventNumber.OutputLevel = WARNING EventNumber.ProcessorType = "Statusmonitor" -EventNumber.Parameters = { - "HowOften": ["1"] - } +EventNumber.Parameters = {"HowOften": ["1"]} MyDDSimpleMuonDigi = MarlinProcessorWrapper("MyDDSimpleMuonDigi") MyDDSimpleMuonDigi.OutputLevel = WARNING MyDDSimpleMuonDigi.ProcessorType = "DDSimpleMuonDigi" MyDDSimpleMuonDigi.Parameters = { - "CalibrMUON": ["70.1"], - "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], - "MUONOutputCollection": ["MUON"], - "MaxHitEnergyMUON": ["2.0"], - "MuonThreshold": ["1e-06"], - "RelationOutputCollection": ["RelationMuonHit"] - } + "CalibrMUON": ["70.1"], + "MUONCollections": ["YokeBarrelCollection", "YokeEndcapCollection"], + "MUONOutputCollection": ["MUON"], + "MaxHitEnergyMUON": ["2.0"], + "MuonThreshold": ["1e-06"], + "RelationOutputCollection": ["RelationMuonHit"], +} MyStatusmonitor = MarlinProcessorWrapper("MyStatusmonitor") MyStatusmonitor.OutputLevel = WARNING MyStatusmonitor.ProcessorType = "Statusmonitor" -MyStatusmonitor.Parameters = { - "HowOften": ["100"] - } +MyStatusmonitor.Parameters = {"HowOften": ["100"]} MyRecoMCTruthLinker = MarlinProcessorWrapper("MyRecoMCTruthLinker") MyRecoMCTruthLinker.OutputLevel = WARNING MyRecoMCTruthLinker.ProcessorType = "RecoMCTruthLinker" MyRecoMCTruthLinker.Parameters = { - "BremsstrahlungEnergyCut": ["1"], - "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], - "ClusterCollection": ["PandoraClusters"], - "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], - "FullRecoRelation": ["false"], - "InvertedNonDestructiveInteractionLogic": ["false"], - "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], - "MCParticleCollection": ["MCPhysicsParticles"], - "MCParticlesSkimmedName": ["MCParticlesSkimmed"], - "MCTruthClusterLinkName": [], - "MCTruthRecoLinkName": [], - "MCTruthTrackLinkName": [], - "RecoMCTruthLinkName": ["RecoMCTruthLink"], - "RecoParticleCollection": ["PandoraPFOs"], - "SaveBremsstrahlungPhotons": ["false"], - "SimCaloHitCollections": ["ECalBarrelCollection", "ECalEndcapCollection", "HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection", "YokeBarrelCollection", "YokeEndcapCollection", "LumiCalCollection"], - "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], - "SimTrackerHitCollections": ["VertexBarrelCollection", "VertexEndcapCollection", "InnerTrackerBarrelCollection", "OuterTrackerBarrelCollection", "InnerTrackerEndcapCollection", "OuterTrackerEndcapCollection"], - "TrackCollection": ["SiTracks_Refitted"], - "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], - "TrackerHitsRelInputCollections": ["VXDTrackerHitRelations", "VXDEndcapTrackerHitRelations", "InnerTrackerBarrelHitsRelations", "OuterTrackerBarrelHitsRelations", "InnerTrackerEndcapHitsRelations", "OuterTrackerEndcapHitsRelations"], - "UseTrackerHitRelations": ["true"], - "UsingParticleGun": ["false"], - "daughtersECutMeV": ["10"] - } + "BremsstrahlungEnergyCut": ["1"], + "CalohitMCTruthLinkName": ["CalohitMCTruthLink"], + "ClusterCollection": ["PandoraClusters"], + "ClusterMCTruthLinkName": ["ClusterMCTruthLink"], + "FullRecoRelation": ["false"], + "InvertedNonDestructiveInteractionLogic": ["false"], + "KeepDaughtersPDG": ["22", "111", "310", "13", "211", "321", "3120"], + "MCParticleCollection": ["MCPhysicsParticles"], + "MCParticlesSkimmedName": ["MCParticlesSkimmed"], + "MCTruthClusterLinkName": [], + "MCTruthRecoLinkName": [], + "MCTruthTrackLinkName": [], + "RecoMCTruthLinkName": ["RecoMCTruthLink"], + "RecoParticleCollection": ["PandoraPFOs"], + "SaveBremsstrahlungPhotons": ["false"], + "SimCaloHitCollections": [ + "ECalBarrelCollection", + "ECalEndcapCollection", + "HCalBarrelCollection", + "HCalEndcapCollection", + "HCalRingCollection", + "YokeBarrelCollection", + "YokeEndcapCollection", + "LumiCalCollection", + ], + "SimCalorimeterHitRelationNames": ["RelationCaloHit", "RelationMuonHit"], + "SimTrackerHitCollections": [ + "VertexBarrelCollection", + "VertexEndcapCollection", + "InnerTrackerBarrelCollection", + "OuterTrackerBarrelCollection", + "InnerTrackerEndcapCollection", + "OuterTrackerEndcapCollection", + ], + "TrackCollection": ["SiTracks_Refitted"], + "TrackMCTruthLinkName": ["SiTracksMCTruthLink"], + "TrackerHitsRelInputCollections": [ + "VXDTrackerHitRelations", + "VXDEndcapTrackerHitRelations", + "InnerTrackerBarrelHitsRelations", + "OuterTrackerBarrelHitsRelations", + "InnerTrackerEndcapHitsRelations", + "OuterTrackerEndcapHitsRelations", + ], + "UseTrackerHitRelations": ["true"], + "UsingParticleGun": ["false"], + "daughtersECutMeV": ["10"], +} MyHitResiduals = MarlinProcessorWrapper("MyHitResiduals") MyHitResiduals.OutputLevel = WARNING MyHitResiduals.ProcessorType = "HitResiduals" MyHitResiduals.Parameters = { - "EnergyLossOn": ["true"], - "MaxChi2Increment": ["1000"], - "MultipleScatteringOn": ["true"], - "SmoothOn": ["false"], - "TrackCollectionName": ["SiTracks_Refitted"], - "outFileName": ["residuals.root"], - "treeName": ["restree"] - } + "EnergyLossOn": ["true"], + "MaxChi2Increment": ["1000"], + "MultipleScatteringOn": ["true"], + "SmoothOn": ["false"], + "TrackCollectionName": ["SiTracks_Refitted"], + "outFileName": ["residuals.root"], + "treeName": ["restree"], +} LumiCalReco = MarlinProcessorWrapper("LumiCalReco") LumiCalReco.OutputLevel = WARNING LumiCalReco.ProcessorType = "MarlinLumiCalClusterer" LumiCalReco.Parameters = { - "ClusterMinNumHits": ["15"], - "ElementsPercentInShowerPeakLayer": ["0.03"], - "EnergyCalibConst": ["0.01213"], - "LogWeigthConstant": ["6.5"], - "LumiCal_Clusters": ["LumiCalClusters"], - "LumiCal_Collection": ["LumiCalCollection"], - "LumiCal_RecoParticles": ["LumiCalRecoParticles"], - "MaxRecordNumber": ["10"], - "MemoryResidentTree": ["0"], - "MiddleEnergyHitBoundFrac": ["0.01"], - "MinClusterEngy": ["2.0"], - "MinHitEnergy": ["20e-06"], - "MoliereRadius": ["20"], - "NumEventsTree": ["500"], - "NumOfNearNeighbor": ["6"], - "OutDirName": ["rootOut"], - "OutRootFileName": [], - "SkipNEvents": ["0"], - "WeightingMethod": ["LogMethod"], - "ZLayerPhiOffset": ["0.0"] - } + "ClusterMinNumHits": ["15"], + "ElementsPercentInShowerPeakLayer": ["0.03"], + "EnergyCalibConst": ["0.01213"], + "LogWeigthConstant": ["6.5"], + "LumiCal_Clusters": ["LumiCalClusters"], + "LumiCal_Collection": ["LumiCalCollection"], + "LumiCal_RecoParticles": ["LumiCalRecoParticles"], + "MaxRecordNumber": ["10"], + "MemoryResidentTree": ["0"], + "MiddleEnergyHitBoundFrac": ["0.01"], + "MinClusterEngy": ["2.0"], + "MinHitEnergy": ["20e-06"], + "MoliereRadius": ["20"], + "NumEventsTree": ["500"], + "NumOfNearNeighbor": ["6"], + "OutDirName": ["rootOut"], + "OutRootFileName": [], + "SkipNEvents": ["0"], + "WeightingMethod": ["LogMethod"], + "ZLayerPhiOffset": ["0.0"], +} RenameCollection = MarlinProcessorWrapper("RenameCollection") RenameCollection.OutputLevel = WARNING RenameCollection.ProcessorType = "MergeCollections" RenameCollection.Parameters = { - "CollectionParameterIndex": ["0"], - "InputCollectionIDs": [], - "InputCollections": ["PandoraPFOs"], - "OutputCollection": ["PFOsFromJets"] - } + "CollectionParameterIndex": ["0"], + "InputCollectionIDs": [], + "InputCollections": ["PandoraPFOs"], + "OutputCollection": ["PFOsFromJets"], +} MyFastJetProcessor = MarlinProcessorWrapper("MyFastJetProcessor") MyFastJetProcessor.OutputLevel = WARNING MyFastJetProcessor.ProcessorType = "FastJetProcessor" MyFastJetProcessor.Parameters = { - "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], - "clusteringMode": ["ExclusiveNJets", "2"], - "jetOut": ["JetsAfterGamGamRemoval"], - "recParticleIn": ["TightSelectedPandoraPFOs"], - "recParticleOut": ["PFOsFromJets"], - "recombinationScheme": ["E_scheme"], - "storeParticlesInJets": ["true"] - } + "algorithm": ["ValenciaPlugin", "1.2", "1.0", "0.7"], + "clusteringMode": ["ExclusiveNJets", "2"], + "jetOut": ["JetsAfterGamGamRemoval"], + "recParticleIn": ["TightSelectedPandoraPFOs"], + "recParticleOut": ["PFOsFromJets"], + "recombinationScheme": ["E_scheme"], + "storeParticlesInJets": ["true"], +} JetClusteringAndRefiner = MarlinProcessorWrapper("JetClusteringAndRefiner") JetClusteringAndRefiner.OutputLevel = WARNING JetClusteringAndRefiner.ProcessorType = "LcfiplusProcessor" JetClusteringAndRefiner.Parameters = { - "Algorithms": ["JetClustering", "JetVertexRefiner"], - "JetClustering.AlphaParameter": ["1.0"], - "JetClustering.BetaParameter": ["1.0"], - "JetClustering.GammaParameter": ["1.0"], - "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], - "JetClustering.JetAlgorithm": ["ValenciaVertex"], - "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], - "JetClustering.MuonIDExternal": ["0"], - "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], - "JetClustering.MuonIDMinimumD0Significance": ["5.0"], - "JetClustering.MuonIDMinimumEnergy": ["0"], - "JetClustering.MuonIDMinimumProbability": ["0.5"], - "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], - "JetClustering.NJetsRequested": ["2"], - "JetClustering.OutputJetCollectionName": ["VertexJets"], - "JetClustering.OutputJetStoresVertex": ["0"], - "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetClustering.RParameter": ["1.0"], - "JetClustering.UseBeamJets": ["1"], - "JetClustering.UseMuonID": ["1"], - "JetClustering.VertexSelectionK0MassWidth": ["0.02"], - "JetClustering.VertexSelectionMaximumDistance": ["30."], - "JetClustering.VertexSelectionMinimumDistance": ["0.3"], - "JetClustering.YAddedForJetLeptonLepton": ["100"], - "JetClustering.YAddedForJetLeptonVertex": ["100"], - "JetClustering.YAddedForJetVertexLepton": ["0"], - "JetClustering.YAddedForJetVertexVertex": ["100"], - "JetClustering.YCut": ["0."], - "JetVertexRefiner.BNessCut": ["-0.80"], - "JetVertexRefiner.BNessCutE1": ["-0.15"], - "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], - "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], - "JetVertexRefiner.MaxAngleSingle": ["0.5"], - "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], - "JetVertexRefiner.MaxPosSingle": ["30."], - "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], - "JetVertexRefiner.MinEnergySingle": ["1."], - "JetVertexRefiner.MinPosSingle": ["0.3"], - "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], - "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], - "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], - "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], - "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], - "JetVertexRefiner.mind0sigSingle": ["5."], - "JetVertexRefiner.minz0sigSingle": ["5."], - "JetVertexRefiner.useBNess": ["0"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["2.0"], - "PFOCollection": ["PFOsFromJets"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["JetClustering", "JetVertexRefiner"], + "JetClustering.AlphaParameter": ["1.0"], + "JetClustering.BetaParameter": ["1.0"], + "JetClustering.GammaParameter": ["1.0"], + "JetClustering.InputVertexCollectionName": ["BuildUpVertices"], + "JetClustering.JetAlgorithm": ["ValenciaVertex"], + "JetClustering.MaxNumberOfJetsForYThreshold": ["10"], + "JetClustering.MuonIDExternal": ["0"], + "JetClustering.MuonIDMaximum3DImpactParameter": ["5.0"], + "JetClustering.MuonIDMinimumD0Significance": ["5.0"], + "JetClustering.MuonIDMinimumEnergy": ["0"], + "JetClustering.MuonIDMinimumProbability": ["0.5"], + "JetClustering.MuonIDMinimumZ0Significance": ["5.0"], + "JetClustering.NJetsRequested": ["2"], + "JetClustering.OutputJetCollectionName": ["VertexJets"], + "JetClustering.OutputJetStoresVertex": ["0"], + "JetClustering.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetClustering.RParameter": ["1.0"], + "JetClustering.UseBeamJets": ["1"], + "JetClustering.UseMuonID": ["1"], + "JetClustering.VertexSelectionK0MassWidth": ["0.02"], + "JetClustering.VertexSelectionMaximumDistance": ["30."], + "JetClustering.VertexSelectionMinimumDistance": ["0.3"], + "JetClustering.YAddedForJetLeptonLepton": ["100"], + "JetClustering.YAddedForJetLeptonVertex": ["100"], + "JetClustering.YAddedForJetVertexLepton": ["0"], + "JetClustering.YAddedForJetVertexVertex": ["100"], + "JetClustering.YCut": ["0."], + "JetVertexRefiner.BNessCut": ["-0.80"], + "JetVertexRefiner.BNessCutE1": ["-0.15"], + "JetVertexRefiner.InputJetCollectionName": ["VertexJets"], + "JetVertexRefiner.InputVertexCollectionName": ["BuildUpVertices"], + "JetVertexRefiner.MaxAngleSingle": ["0.5"], + "JetVertexRefiner.MaxCharmFlightLengthPerJetEnergy": ["0.1"], + "JetVertexRefiner.MaxPosSingle": ["30."], + "JetVertexRefiner.MaxSeparationPerPosSingle": ["0.1"], + "JetVertexRefiner.MinEnergySingle": ["1."], + "JetVertexRefiner.MinPosSingle": ["0.3"], + "JetVertexRefiner.OneVertexProbThreshold": ["0.001"], + "JetVertexRefiner.OutputJetCollectionName": ["RefinedVertexJets"], + "JetVertexRefiner.OutputVertexCollectionName": ["RefinedVertices"], + "JetVertexRefiner.PrimaryVertexCollectionName": ["PrimaryVertices"], + "JetVertexRefiner.V0VertexCollectionName": ["BuildUpVertices_V0"], + "JetVertexRefiner.mind0sigSingle": ["5."], + "JetVertexRefiner.minz0sigSingle": ["5."], + "JetVertexRefiner.useBNess": ["0"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["2.0"], + "PFOCollection": ["PFOsFromJets"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} Output_REC = MarlinProcessorWrapper("Output_REC") Output_REC.OutputLevel = WARNING Output_REC.ProcessorType = "LCIOOutputProcessor" Output_REC.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": [], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], - "KeepCollectionNames": [], - "LCIOOutputFile": ["Output_REC.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [], + "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles"], + "KeepCollectionNames": [], + "LCIOOutputFile": ["Output_REC.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} # LCIO to EDM4hep converter lcioConvTool = Lcio2EDM4hepTool("lcio2EDM4hep") lcioConvTool.convertAll = True lcioConvTool.OutputLevel = DEBUG -Output_REC.Lcio2EDM4hepTool=lcioConvTool +Output_REC.Lcio2EDM4hepTool = lcioConvTool Output_DST = MarlinProcessorWrapper("Output_DST") Output_DST.OutputLevel = WARNING Output_DST.ProcessorType = "LCIOOutputProcessor" Output_DST.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": ["MCParticle", "LCRelation", "SimCalorimeterHit", "CalorimeterHit", "SimTrackerHit", "TrackerHit", "TrackerHitPlane", "Track", "ReconstructedParticle", "LCFloatVec"], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles", "MCPhysicsParticles"], - "KeepCollectionNames": ["MCParticlesSkimmed", "MCPhysicsParticles", "RecoMCTruthLink", "SiTracks", "SiTracks_Refitted", "PandoraClusters", "PandoraPFOs", "SelectedPandoraPFOs", "LooseSelectedPandoraPFOs", "TightSelectedPandoraPFOs", "RefinedVertexJets", "RefinedVertexJets_rel", "RefinedVertexJets_vtx", "RefinedVertexJets_vtx_RP", "BuildUpVertices", "BuildUpVertices_res", "BuildUpVertices_RP", "BuildUpVertices_res_RP", "BuildUpVertices_V0", "BuildUpVertices_V0_res", "BuildUpVertices_V0_RP", "BuildUpVertices_V0_res_RP", "PrimaryVertices", "PrimaryVertices_res", "PrimaryVertices_RP", "PrimaryVertices_res_RP", "RefinedVertices", "RefinedVertices_RP"], - "LCIOOutputFile": ["Output_DST.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [ + "MCParticle", + "LCRelation", + "SimCalorimeterHit", + "CalorimeterHit", + "SimTrackerHit", + "TrackerHit", + "TrackerHitPlane", + "Track", + "ReconstructedParticle", + "LCFloatVec", + ], + "FullSubsetCollections": [ + "EfficientMCParticles", + "InefficientMCParticles", + "MCPhysicsParticles", + ], + "KeepCollectionNames": [ + "MCParticlesSkimmed", + "MCPhysicsParticles", + "RecoMCTruthLink", + "SiTracks", + "SiTracks_Refitted", + "PandoraClusters", + "PandoraPFOs", + "SelectedPandoraPFOs", + "LooseSelectedPandoraPFOs", + "TightSelectedPandoraPFOs", + "RefinedVertexJets", + "RefinedVertexJets_rel", + "RefinedVertexJets_vtx", + "RefinedVertexJets_vtx_RP", + "BuildUpVertices", + "BuildUpVertices_res", + "BuildUpVertices_RP", + "BuildUpVertices_res_RP", + "BuildUpVertices_V0", + "BuildUpVertices_V0_res", + "BuildUpVertices_V0_RP", + "BuildUpVertices_V0_res_RP", + "PrimaryVertices", + "PrimaryVertices_res", + "PrimaryVertices_RP", + "PrimaryVertices_res_RP", + "RefinedVertices", + "RefinedVertices_RP", + ], + "LCIOOutputFile": ["Output_DST.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} OverlayFalse = MarlinProcessorWrapper("OverlayFalse") OverlayFalse.OutputLevel = WARNING OverlayFalse.ProcessorType = "OverlayTimingGeneric" OverlayFalse.Parameters = { - "BackgroundFileNames": [], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "380", "VertexEndcapCollection", "380", "InnerTrackerBarrelCollection", "380", "InnerTrackerEndcapCollection", "380", "OuterTrackerBarrelCollection", "380", "OuterTrackerEndcapCollection", "380", "ECalBarrelCollection", "380", "ECalEndcapCollection", "380", "HCalBarrelCollection", "380", "HCalEndcapCollection", "380", "HCalRingCollection", "380", "YokeBarrelCollection", "380", "YokeEndcapCollection", "380", "LumiCalCollection", "380"], - "Delta_t": ["20"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["0"], - "NumberBackground": ["0."], - "PhysicsBX": ["1"], - "Poisson_random_NOverlay": ["false"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": [], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "380", + "VertexEndcapCollection", + "380", + "InnerTrackerBarrelCollection", + "380", + "InnerTrackerEndcapCollection", + "380", + "OuterTrackerBarrelCollection", + "380", + "OuterTrackerEndcapCollection", + "380", + "ECalBarrelCollection", + "380", + "ECalEndcapCollection", + "380", + "HCalBarrelCollection", + "380", + "HCalEndcapCollection", + "380", + "HCalRingCollection", + "380", + "YokeBarrelCollection", + "380", + "YokeEndcapCollection", + "380", + "LumiCalCollection", + "380", + ], + "Delta_t": ["20"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["0"], + "NumberBackground": ["0."], + "PhysicsBX": ["1"], + "Poisson_random_NOverlay": ["false"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay91GeV = MarlinProcessorWrapper("Overlay91GeV") Overlay91GeV.OutputLevel = WARNING Overlay91GeV.ProcessorType = "OverlayTimingGeneric" Overlay91GeV.Parameters = { - "BackgroundFileNames": ["pairs_Z_sim.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "380", "VertexEndcapCollection", "380", "InnerTrackerBarrelCollection", "380", "InnerTrackerEndcapCollection", "380", "OuterTrackerBarrelCollection", "380", "OuterTrackerEndcapCollection", "380", "ECalBarrelCollection", "380", "ECalEndcapCollection", "380", "HCalBarrelCollection", "380", "HCalEndcapCollection", "380", "HCalRingCollection", "380", "YokeBarrelCollection", "380", "YokeEndcapCollection", "380", "LumiCalCollection", "380"], - "Delta_t": ["20"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["20"], - "NumberBackground": ["1."], - "PhysicsBX": ["1"], - "Poisson_random_NOverlay": ["false"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["pairs_Z_sim.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "380", + "VertexEndcapCollection", + "380", + "InnerTrackerBarrelCollection", + "380", + "InnerTrackerEndcapCollection", + "380", + "OuterTrackerBarrelCollection", + "380", + "OuterTrackerEndcapCollection", + "380", + "ECalBarrelCollection", + "380", + "ECalEndcapCollection", + "380", + "HCalBarrelCollection", + "380", + "HCalEndcapCollection", + "380", + "HCalRingCollection", + "380", + "YokeBarrelCollection", + "380", + "YokeEndcapCollection", + "380", + "LumiCalCollection", + "380", + ], + "Delta_t": ["20"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["20"], + "NumberBackground": ["1."], + "PhysicsBX": ["1"], + "Poisson_random_NOverlay": ["false"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} Overlay365GeV = MarlinProcessorWrapper("Overlay365GeV") Overlay365GeV.OutputLevel = WARNING Overlay365GeV.ProcessorType = "OverlayTimingGeneric" Overlay365GeV.Parameters = { - "BackgroundFileNames": ["pairs_Z_sim.slcio"], - "Collection_IntegrationTimes": ["VertexBarrelCollection", "380", "VertexEndcapCollection", "380", "InnerTrackerBarrelCollection", "380", "InnerTrackerEndcapCollection", "380", "OuterTrackerBarrelCollection", "380", "OuterTrackerEndcapCollection", "380", "ECalBarrelCollection", "380", "ECalEndcapCollection", "380", "HCalBarrelCollection", "380", "HCalEndcapCollection", "380", "HCalRingCollection", "380", "YokeBarrelCollection", "380", "YokeEndcapCollection", "380", "LumiCalCollection", "380"], - "Delta_t": ["3396"], - "MCParticleCollectionName": ["MCParticle"], - "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], - "NBunchtrain": ["3"], - "NumberBackground": ["1."], - "PhysicsBX": ["1"], - "Poisson_random_NOverlay": ["false"], - "RandomBx": ["false"], - "TPCDriftvelocity": ["0.05"] - } + "BackgroundFileNames": ["pairs_Z_sim.slcio"], + "Collection_IntegrationTimes": [ + "VertexBarrelCollection", + "380", + "VertexEndcapCollection", + "380", + "InnerTrackerBarrelCollection", + "380", + "InnerTrackerEndcapCollection", + "380", + "OuterTrackerBarrelCollection", + "380", + "OuterTrackerEndcapCollection", + "380", + "ECalBarrelCollection", + "380", + "ECalEndcapCollection", + "380", + "HCalBarrelCollection", + "380", + "HCalEndcapCollection", + "380", + "HCalRingCollection", + "380", + "YokeBarrelCollection", + "380", + "YokeEndcapCollection", + "380", + "LumiCalCollection", + "380", + ], + "Delta_t": ["3396"], + "MCParticleCollectionName": ["MCParticle"], + "MCPhysicsParticleCollectionName": ["MCPhysicsParticles"], + "NBunchtrain": ["3"], + "NumberBackground": ["1."], + "PhysicsBX": ["1"], + "Poisson_random_NOverlay": ["false"], + "RandomBx": ["false"], + "TPCDriftvelocity": ["0.05"], +} MyDDCaloDigi = {} @@ -552,251 +950,251 @@ MyDDCaloDigi["10"].OutputLevel = WARNING MyDDCaloDigi["10"].ProcessorType = "DDCaloDigi" MyDDCaloDigi["10"].Parameters = { - "CalibECALMIP": ["0.0001"], - "CalibHCALMIP": ["0.0001"], - "CalibrECAL": ["37.5227197175", "37.5227197175"], - "CalibrHCALBarrel": ["45.9956826061"], - "CalibrHCALEndcap": ["46.9252540291"], - "CalibrHCALOther": ["57.4588011802"], - "ECALBarrelTimeWindowMax": ["10"], - "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], - "ECALCorrectTimesForPropagation": ["1"], - "ECALDeltaTimeHitResolution": ["10"], - "ECALEndcapCorrectionFactor": ["1.03245503522"], - "ECALEndcapTimeWindowMax": ["10"], - "ECALGapCorrection": ["1"], - "ECALGapCorrectionFactor": ["1"], - "ECALLayers": ["41", "100"], - "ECALModuleGapCorrectionFactor": ["0.0"], - "ECALOutputCollection0": ["ECALBarrel"], - "ECALOutputCollection1": ["ECALEndcap"], - "ECALOutputCollection2": ["ECALOther"], - "ECALSimpleTimingCut": ["true"], - "ECALThreshold": ["5e-05"], - "ECALThresholdUnit": ["GeV"], - "ECALTimeResolution": ["10"], - "ECALTimeWindowMin": ["-1"], - "ECAL_PPD_N_Pixels": ["10000"], - "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], - "ECAL_PPD_PE_per_MIP": ["7"], - "ECAL_apply_realistic_digi": ["0"], - "ECAL_deadCellRate": ["0"], - "ECAL_deadCell_memorise": ["false"], - "ECAL_default_layerConfig": ["000000000000000"], - "ECAL_elec_noise_mips": ["0"], - "ECAL_maxDynamicRange_MIP": ["2500"], - "ECAL_miscalibration_correl": ["0"], - "ECAL_miscalibration_uncorrel": ["0"], - "ECAL_miscalibration_uncorrel_memorise": ["false"], - "ECAL_pixel_spread": ["0.05"], - "ECAL_strip_absorbtionLength": ["1e+06"], - "HCALBarrelTimeWindowMax": ["10"], - "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], - "HCALCorrectTimesForPropagation": ["1"], - "HCALDeltaTimeHitResolution": ["10"], - "HCALEndcapCorrectionFactor": ["1.000"], - "HCALEndcapTimeWindowMax": ["10"], - "HCALGapCorrection": ["1"], - "HCALLayers": ["100"], - "HCALModuleGapCorrectionFactor": ["0.5"], - "HCALOutputCollection0": ["HCALBarrel"], - "HCALOutputCollection1": ["HCALEndcap"], - "HCALOutputCollection2": ["HCALOther"], - "HCALSimpleTimingCut": ["true"], - "HCALThreshold": ["0.00025"], - "HCALThresholdUnit": ["GeV"], - "HCALTimeResolution": ["10"], - "HCALTimeWindowMin": ["-1"], - "HCAL_PPD_N_Pixels": ["400"], - "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], - "HCAL_PPD_PE_per_MIP": ["10"], - "HCAL_apply_realistic_digi": ["0"], - "HCAL_deadCellRate": ["0"], - "HCAL_deadCell_memorise": ["false"], - "HCAL_elec_noise_mips": ["0"], - "HCAL_maxDynamicRange_MIP": ["200"], - "HCAL_miscalibration_correl": ["0"], - "HCAL_miscalibration_uncorrel": ["0"], - "HCAL_miscalibration_uncorrel_memorise": ["false"], - "HCAL_pixel_spread": ["0"], - "Histograms": ["0"], - "IfDigitalEcal": ["0"], - "IfDigitalHcal": ["0"], - "MapsEcalCorrection": ["0"], - "RelationOutputCollection": ["RelationCaloHit"], - "RootFile": ["Digi_SiW.root"], - "StripEcal_default_nVirtualCells": ["9"], - "UseEcalTiming": ["1"], - "UseHcalTiming": ["1"], - "energyPerEHpair": ["3.6"] - } + "CalibECALMIP": ["0.0001"], + "CalibHCALMIP": ["0.0001"], + "CalibrECAL": ["37.5227197175", "37.5227197175"], + "CalibrHCALBarrel": ["45.9956826061"], + "CalibrHCALEndcap": ["46.9252540291"], + "CalibrHCALOther": ["57.4588011802"], + "ECALBarrelTimeWindowMax": ["10"], + "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], + "ECALCorrectTimesForPropagation": ["1"], + "ECALDeltaTimeHitResolution": ["10"], + "ECALEndcapCorrectionFactor": ["1.03245503522"], + "ECALEndcapTimeWindowMax": ["10"], + "ECALGapCorrection": ["1"], + "ECALGapCorrectionFactor": ["1"], + "ECALLayers": ["41", "100"], + "ECALModuleGapCorrectionFactor": ["0.0"], + "ECALOutputCollection0": ["ECALBarrel"], + "ECALOutputCollection1": ["ECALEndcap"], + "ECALOutputCollection2": ["ECALOther"], + "ECALSimpleTimingCut": ["true"], + "ECALThreshold": ["5e-05"], + "ECALThresholdUnit": ["GeV"], + "ECALTimeResolution": ["10"], + "ECALTimeWindowMin": ["-1"], + "ECAL_PPD_N_Pixels": ["10000"], + "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], + "ECAL_PPD_PE_per_MIP": ["7"], + "ECAL_apply_realistic_digi": ["0"], + "ECAL_deadCellRate": ["0"], + "ECAL_deadCell_memorise": ["false"], + "ECAL_default_layerConfig": ["000000000000000"], + "ECAL_elec_noise_mips": ["0"], + "ECAL_maxDynamicRange_MIP": ["2500"], + "ECAL_miscalibration_correl": ["0"], + "ECAL_miscalibration_uncorrel": ["0"], + "ECAL_miscalibration_uncorrel_memorise": ["false"], + "ECAL_pixel_spread": ["0.05"], + "ECAL_strip_absorbtionLength": ["1e+06"], + "HCALBarrelTimeWindowMax": ["10"], + "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], + "HCALCorrectTimesForPropagation": ["1"], + "HCALDeltaTimeHitResolution": ["10"], + "HCALEndcapCorrectionFactor": ["1.000"], + "HCALEndcapTimeWindowMax": ["10"], + "HCALGapCorrection": ["1"], + "HCALLayers": ["100"], + "HCALModuleGapCorrectionFactor": ["0.5"], + "HCALOutputCollection0": ["HCALBarrel"], + "HCALOutputCollection1": ["HCALEndcap"], + "HCALOutputCollection2": ["HCALOther"], + "HCALSimpleTimingCut": ["true"], + "HCALThreshold": ["0.00025"], + "HCALThresholdUnit": ["GeV"], + "HCALTimeResolution": ["10"], + "HCALTimeWindowMin": ["-1"], + "HCAL_PPD_N_Pixels": ["400"], + "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], + "HCAL_PPD_PE_per_MIP": ["10"], + "HCAL_apply_realistic_digi": ["0"], + "HCAL_deadCellRate": ["0"], + "HCAL_deadCell_memorise": ["false"], + "HCAL_elec_noise_mips": ["0"], + "HCAL_maxDynamicRange_MIP": ["200"], + "HCAL_miscalibration_correl": ["0"], + "HCAL_miscalibration_uncorrel": ["0"], + "HCAL_miscalibration_uncorrel_memorise": ["false"], + "HCAL_pixel_spread": ["0"], + "Histograms": ["0"], + "IfDigitalEcal": ["0"], + "IfDigitalHcal": ["0"], + "MapsEcalCorrection": ["0"], + "RelationOutputCollection": ["RelationCaloHit"], + "RootFile": ["Digi_SiW.root"], + "StripEcal_default_nVirtualCells": ["9"], + "UseEcalTiming": ["1"], + "UseHcalTiming": ["1"], + "energyPerEHpair": ["3.6"], +} MyDDCaloDigi["400"] = MarlinProcessorWrapper("MyDDCaloDigi_400ns") MyDDCaloDigi["400"].OutputLevel = WARNING MyDDCaloDigi["400"].ProcessorType = "DDCaloDigi" MyDDCaloDigi["400"].Parameters = { - "CalibECALMIP": ["0.0001"], - "CalibHCALMIP": ["0.0001"], - "CalibrECAL": ["37.4591745147", "37.4591745147"], - "CalibrHCALBarrel": ["42.544403752"], - "CalibrHCALEndcap": ["42.9667604345"], - "CalibrHCALOther": ["51.3503963688"], - "ECALBarrelTimeWindowMax": ["400"], - "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], - "ECALCorrectTimesForPropagation": ["1"], - "ECALDeltaTimeHitResolution": ["10"], - "ECALEndcapCorrectionFactor": ["1.01463983425"], - "ECALEndcapTimeWindowMax": ["400"], - "ECALGapCorrection": ["1"], - "ECALGapCorrectionFactor": ["1"], - "ECALLayers": ["41", "100"], - "ECALModuleGapCorrectionFactor": ["0.0"], - "ECALOutputCollection0": ["ECALBarrel"], - "ECALOutputCollection1": ["ECALEndcap"], - "ECALOutputCollection2": ["ECALOther"], - "ECALSimpleTimingCut": ["true"], - "ECALThreshold": ["5e-05"], - "ECALThresholdUnit": ["GeV"], - "ECALTimeResolution": ["10"], - "ECALTimeWindowMin": ["-1"], - "ECAL_PPD_N_Pixels": ["10000"], - "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], - "ECAL_PPD_PE_per_MIP": ["7"], - "ECAL_apply_realistic_digi": ["0"], - "ECAL_deadCellRate": ["0"], - "ECAL_deadCell_memorise": ["false"], - "ECAL_default_layerConfig": ["000000000000000"], - "ECAL_elec_noise_mips": ["0"], - "ECAL_maxDynamicRange_MIP": ["2500"], - "ECAL_miscalibration_correl": ["0"], - "ECAL_miscalibration_uncorrel": ["0"], - "ECAL_miscalibration_uncorrel_memorise": ["false"], - "ECAL_pixel_spread": ["0.05"], - "ECAL_strip_absorbtionLength": ["1e+06"], - "HCALBarrelTimeWindowMax": ["400"], - "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], - "HCALCorrectTimesForPropagation": ["1"], - "HCALDeltaTimeHitResolution": ["10"], - "HCALEndcapCorrectionFactor": ["1.000"], - "HCALEndcapTimeWindowMax": ["400"], - "HCALGapCorrection": ["1"], - "HCALLayers": ["100"], - "HCALModuleGapCorrectionFactor": ["0.5"], - "HCALOutputCollection0": ["HCALBarrel"], - "HCALOutputCollection1": ["HCALEndcap"], - "HCALOutputCollection2": ["HCALOther"], - "HCALSimpleTimingCut": ["true"], - "HCALThreshold": ["0.00025"], - "HCALThresholdUnit": ["GeV"], - "HCALTimeResolution": ["10"], - "HCALTimeWindowMin": ["-1"], - "HCAL_PPD_N_Pixels": ["400"], - "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], - "HCAL_PPD_PE_per_MIP": ["10"], - "HCAL_apply_realistic_digi": ["0"], - "HCAL_deadCellRate": ["0"], - "HCAL_deadCell_memorise": ["false"], - "HCAL_elec_noise_mips": ["0"], - "HCAL_maxDynamicRange_MIP": ["200"], - "HCAL_miscalibration_correl": ["0"], - "HCAL_miscalibration_uncorrel": ["0"], - "HCAL_miscalibration_uncorrel_memorise": ["false"], - "HCAL_pixel_spread": ["0"], - "Histograms": ["0"], - "IfDigitalEcal": ["0"], - "IfDigitalHcal": ["0"], - "MapsEcalCorrection": ["0"], - "RelationOutputCollection": ["RelationCaloHit"], - "RootFile": ["Digi_SiW.root"], - "StripEcal_default_nVirtualCells": ["9"], - "UseEcalTiming": ["1"], - "UseHcalTiming": ["1"], - "energyPerEHpair": ["3.6"] - } + "CalibECALMIP": ["0.0001"], + "CalibHCALMIP": ["0.0001"], + "CalibrECAL": ["37.4591745147", "37.4591745147"], + "CalibrHCALBarrel": ["42.544403752"], + "CalibrHCALEndcap": ["42.9667604345"], + "CalibrHCALOther": ["51.3503963688"], + "ECALBarrelTimeWindowMax": ["400"], + "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], + "ECALCorrectTimesForPropagation": ["1"], + "ECALDeltaTimeHitResolution": ["10"], + "ECALEndcapCorrectionFactor": ["1.01463983425"], + "ECALEndcapTimeWindowMax": ["400"], + "ECALGapCorrection": ["1"], + "ECALGapCorrectionFactor": ["1"], + "ECALLayers": ["41", "100"], + "ECALModuleGapCorrectionFactor": ["0.0"], + "ECALOutputCollection0": ["ECALBarrel"], + "ECALOutputCollection1": ["ECALEndcap"], + "ECALOutputCollection2": ["ECALOther"], + "ECALSimpleTimingCut": ["true"], + "ECALThreshold": ["5e-05"], + "ECALThresholdUnit": ["GeV"], + "ECALTimeResolution": ["10"], + "ECALTimeWindowMin": ["-1"], + "ECAL_PPD_N_Pixels": ["10000"], + "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], + "ECAL_PPD_PE_per_MIP": ["7"], + "ECAL_apply_realistic_digi": ["0"], + "ECAL_deadCellRate": ["0"], + "ECAL_deadCell_memorise": ["false"], + "ECAL_default_layerConfig": ["000000000000000"], + "ECAL_elec_noise_mips": ["0"], + "ECAL_maxDynamicRange_MIP": ["2500"], + "ECAL_miscalibration_correl": ["0"], + "ECAL_miscalibration_uncorrel": ["0"], + "ECAL_miscalibration_uncorrel_memorise": ["false"], + "ECAL_pixel_spread": ["0.05"], + "ECAL_strip_absorbtionLength": ["1e+06"], + "HCALBarrelTimeWindowMax": ["400"], + "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], + "HCALCorrectTimesForPropagation": ["1"], + "HCALDeltaTimeHitResolution": ["10"], + "HCALEndcapCorrectionFactor": ["1.000"], + "HCALEndcapTimeWindowMax": ["400"], + "HCALGapCorrection": ["1"], + "HCALLayers": ["100"], + "HCALModuleGapCorrectionFactor": ["0.5"], + "HCALOutputCollection0": ["HCALBarrel"], + "HCALOutputCollection1": ["HCALEndcap"], + "HCALOutputCollection2": ["HCALOther"], + "HCALSimpleTimingCut": ["true"], + "HCALThreshold": ["0.00025"], + "HCALThresholdUnit": ["GeV"], + "HCALTimeResolution": ["10"], + "HCALTimeWindowMin": ["-1"], + "HCAL_PPD_N_Pixels": ["400"], + "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], + "HCAL_PPD_PE_per_MIP": ["10"], + "HCAL_apply_realistic_digi": ["0"], + "HCAL_deadCellRate": ["0"], + "HCAL_deadCell_memorise": ["false"], + "HCAL_elec_noise_mips": ["0"], + "HCAL_maxDynamicRange_MIP": ["200"], + "HCAL_miscalibration_correl": ["0"], + "HCAL_miscalibration_uncorrel": ["0"], + "HCAL_miscalibration_uncorrel_memorise": ["false"], + "HCAL_pixel_spread": ["0"], + "Histograms": ["0"], + "IfDigitalEcal": ["0"], + "IfDigitalHcal": ["0"], + "MapsEcalCorrection": ["0"], + "RelationOutputCollection": ["RelationCaloHit"], + "RootFile": ["Digi_SiW.root"], + "StripEcal_default_nVirtualCells": ["9"], + "UseEcalTiming": ["1"], + "UseHcalTiming": ["1"], + "energyPerEHpair": ["3.6"], +} MyDDCaloDigi["400"] = MarlinProcessorWrapper("MyDDCaloDigi_400ns") MyDDCaloDigi["400"].OutputLevel = WARNING MyDDCaloDigi["400"].ProcessorType = "DDCaloDigi" MyDDCaloDigi["400"].Parameters = { - "CalibECALMIP": ["0.0001"], - "CalibHCALMIP": ["0.0001"], - "CalibrECAL": ["37.4591745147", "37.4591745147"], - "CalibrHCALBarrel": ["42.544403752"], - "CalibrHCALEndcap": ["42.9667604345"], - "CalibrHCALOther": ["51.3503963688"], - "ECALBarrelTimeWindowMax": ["400"], - "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], - "ECALCorrectTimesForPropagation": ["1"], - "ECALDeltaTimeHitResolution": ["10"], - "ECALEndcapCorrectionFactor": ["1.01463983425"], - "ECALEndcapTimeWindowMax": ["400"], - "ECALGapCorrection": ["1"], - "ECALGapCorrectionFactor": ["1"], - "ECALLayers": ["41", "100"], - "ECALModuleGapCorrectionFactor": ["0.0"], - "ECALOutputCollection0": ["ECALBarrel"], - "ECALOutputCollection1": ["ECALEndcap"], - "ECALOutputCollection2": ["ECALOther"], - "ECALSimpleTimingCut": ["true"], - "ECALThreshold": ["5e-05"], - "ECALThresholdUnit": ["GeV"], - "ECALTimeResolution": ["10"], - "ECALTimeWindowMin": ["-1"], - "ECAL_PPD_N_Pixels": ["10000"], - "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], - "ECAL_PPD_PE_per_MIP": ["7"], - "ECAL_apply_realistic_digi": ["0"], - "ECAL_deadCellRate": ["0"], - "ECAL_deadCell_memorise": ["false"], - "ECAL_default_layerConfig": ["000000000000000"], - "ECAL_elec_noise_mips": ["0"], - "ECAL_maxDynamicRange_MIP": ["2500"], - "ECAL_miscalibration_correl": ["0"], - "ECAL_miscalibration_uncorrel": ["0"], - "ECAL_miscalibration_uncorrel_memorise": ["false"], - "ECAL_pixel_spread": ["0.05"], - "ECAL_strip_absorbtionLength": ["1e+06"], - "HCALBarrelTimeWindowMax": ["400"], - "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], - "HCALCorrectTimesForPropagation": ["1"], - "HCALDeltaTimeHitResolution": ["10"], - "HCALEndcapCorrectionFactor": ["1.000"], - "HCALEndcapTimeWindowMax": ["400"], - "HCALGapCorrection": ["1"], - "HCALLayers": ["100"], - "HCALModuleGapCorrectionFactor": ["0.5"], - "HCALOutputCollection0": ["HCALBarrel"], - "HCALOutputCollection1": ["HCALEndcap"], - "HCALOutputCollection2": ["HCALOther"], - "HCALSimpleTimingCut": ["true"], - "HCALThreshold": ["0.00025"], - "HCALThresholdUnit": ["GeV"], - "HCALTimeResolution": ["10"], - "HCALTimeWindowMin": ["-1"], - "HCAL_PPD_N_Pixels": ["400"], - "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], - "HCAL_PPD_PE_per_MIP": ["10"], - "HCAL_apply_realistic_digi": ["0"], - "HCAL_deadCellRate": ["0"], - "HCAL_deadCell_memorise": ["false"], - "HCAL_elec_noise_mips": ["0"], - "HCAL_maxDynamicRange_MIP": ["200"], - "HCAL_miscalibration_correl": ["0"], - "HCAL_miscalibration_uncorrel": ["0"], - "HCAL_miscalibration_uncorrel_memorise": ["false"], - "HCAL_pixel_spread": ["0"], - "Histograms": ["0"], - "IfDigitalEcal": ["0"], - "IfDigitalHcal": ["0"], - "MapsEcalCorrection": ["0"], - "RelationOutputCollection": ["RelationCaloHit"], - "RootFile": ["Digi_SiW.root"], - "StripEcal_default_nVirtualCells": ["9"], - "UseEcalTiming": ["1"], - "UseHcalTiming": ["1"], - "energyPerEHpair": ["3.6"] - } + "CalibECALMIP": ["0.0001"], + "CalibHCALMIP": ["0.0001"], + "CalibrECAL": ["37.4591745147", "37.4591745147"], + "CalibrHCALBarrel": ["42.544403752"], + "CalibrHCALEndcap": ["42.9667604345"], + "CalibrHCALOther": ["51.3503963688"], + "ECALBarrelTimeWindowMax": ["400"], + "ECALCollections": ["ECalBarrelCollection", "ECalEndcapCollection"], + "ECALCorrectTimesForPropagation": ["1"], + "ECALDeltaTimeHitResolution": ["10"], + "ECALEndcapCorrectionFactor": ["1.01463983425"], + "ECALEndcapTimeWindowMax": ["400"], + "ECALGapCorrection": ["1"], + "ECALGapCorrectionFactor": ["1"], + "ECALLayers": ["41", "100"], + "ECALModuleGapCorrectionFactor": ["0.0"], + "ECALOutputCollection0": ["ECALBarrel"], + "ECALOutputCollection1": ["ECALEndcap"], + "ECALOutputCollection2": ["ECALOther"], + "ECALSimpleTimingCut": ["true"], + "ECALThreshold": ["5e-05"], + "ECALThresholdUnit": ["GeV"], + "ECALTimeResolution": ["10"], + "ECALTimeWindowMin": ["-1"], + "ECAL_PPD_N_Pixels": ["10000"], + "ECAL_PPD_N_Pixels_uncertainty": ["0.05"], + "ECAL_PPD_PE_per_MIP": ["7"], + "ECAL_apply_realistic_digi": ["0"], + "ECAL_deadCellRate": ["0"], + "ECAL_deadCell_memorise": ["false"], + "ECAL_default_layerConfig": ["000000000000000"], + "ECAL_elec_noise_mips": ["0"], + "ECAL_maxDynamicRange_MIP": ["2500"], + "ECAL_miscalibration_correl": ["0"], + "ECAL_miscalibration_uncorrel": ["0"], + "ECAL_miscalibration_uncorrel_memorise": ["false"], + "ECAL_pixel_spread": ["0.05"], + "ECAL_strip_absorbtionLength": ["1e+06"], + "HCALBarrelTimeWindowMax": ["400"], + "HCALCollections": ["HCalBarrelCollection", "HCalEndcapCollection", "HCalRingCollection"], + "HCALCorrectTimesForPropagation": ["1"], + "HCALDeltaTimeHitResolution": ["10"], + "HCALEndcapCorrectionFactor": ["1.000"], + "HCALEndcapTimeWindowMax": ["400"], + "HCALGapCorrection": ["1"], + "HCALLayers": ["100"], + "HCALModuleGapCorrectionFactor": ["0.5"], + "HCALOutputCollection0": ["HCALBarrel"], + "HCALOutputCollection1": ["HCALEndcap"], + "HCALOutputCollection2": ["HCALOther"], + "HCALSimpleTimingCut": ["true"], + "HCALThreshold": ["0.00025"], + "HCALThresholdUnit": ["GeV"], + "HCALTimeResolution": ["10"], + "HCALTimeWindowMin": ["-1"], + "HCAL_PPD_N_Pixels": ["400"], + "HCAL_PPD_N_Pixels_uncertainty": ["0.05"], + "HCAL_PPD_PE_per_MIP": ["10"], + "HCAL_apply_realistic_digi": ["0"], + "HCAL_deadCellRate": ["0"], + "HCAL_deadCell_memorise": ["false"], + "HCAL_elec_noise_mips": ["0"], + "HCAL_maxDynamicRange_MIP": ["200"], + "HCAL_miscalibration_correl": ["0"], + "HCAL_miscalibration_uncorrel": ["0"], + "HCAL_miscalibration_uncorrel_memorise": ["false"], + "HCAL_pixel_spread": ["0"], + "Histograms": ["0"], + "IfDigitalEcal": ["0"], + "IfDigitalHcal": ["0"], + "MapsEcalCorrection": ["0"], + "RelationOutputCollection": ["RelationCaloHit"], + "RootFile": ["Digi_SiW.root"], + "StripEcal_default_nVirtualCells": ["9"], + "UseEcalTiming": ["1"], + "UseHcalTiming": ["1"], + "energyPerEHpair": ["3.6"], +} MyDDMarlinPandora = {} @@ -804,468 +1202,491 @@ MyDDMarlinPandora["10"].OutputLevel = WARNING MyDDMarlinPandora["10"].ProcessorType = "DDPandoraPFANewProcessor" MyDDMarlinPandora["10"].Parameters = { - "ClusterCollectionName": ["PandoraClusters"], - "CreateGaps": ["false"], - "CurvatureToMomentumFactor": ["0.00015"], - "D0TrackCut": ["200"], - "D0UnmatchedVertexTrackCut": ["5"], - "DigitalMuonHits": ["0"], - "ECalBarrelNormalVector": ["0", "0", "1"], - "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], - "ECalMipThreshold": ["0.5"], - "ECalScMipThreshold": ["0"], - "ECalScToEMGeVCalibration": ["1"], - "ECalScToHadGeVCalibrationBarrel": ["1"], - "ECalScToHadGeVCalibrationEndCap": ["1"], - "ECalScToMipCalibration": ["1"], - "ECalSiMipThreshold": ["0"], - "ECalSiToEMGeVCalibration": ["1"], - "ECalSiToHadGeVCalibrationBarrel": ["1"], - "ECalSiToHadGeVCalibrationEndCap": ["1"], - "ECalSiToMipCalibration": ["1"], - "ECalToEMGeVCalibration": ["1.01776966108"], - "ECalToHadGeVCalibrationBarrel": ["1.11490774181"], - "ECalToHadGeVCalibrationEndCap": ["1.11490774181"], - "ECalToMipCalibration": ["175.439"], - "EMConstantTerm": ["0.01"], - "EMStochasticTerm": ["0.17"], - "FinalEnergyDensityBin": ["110."], - "HCalBarrelNormalVector": ["0", "0", "1"], - "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], - "HCalMipThreshold": ["0.3"], - "HCalToEMGeVCalibration": ["1.01776966108"], - "HCalToHadGeVCalibration": ["1.00565042407"], - "HCalToMipCalibration": ["45.6621"], - "HadConstantTerm": ["0.03"], - "HadStochasticTerm": ["0.6"], - "InputEnergyCorrectionPoints": [], - "KinkVertexCollections": ["KinkVertices"], - "LCalCaloHitCollections": [], - "LHCalCaloHitCollections": [], - "LayersFromEdgeMaxRearDistance": ["250"], - "MCParticleCollections": ["MCParticle"], - "MaxBarrelTrackerInnerRDistance": ["200"], - "MaxClusterEnergyToApplySoftComp": ["200."], - "MaxHCalHitHadronicEnergy": ["10000000."], - "MaxTrackHits": ["5000"], - "MaxTrackSigmaPOverP": ["0.15"], - "MinBarrelTrackerHitFractionOfExpected": ["0"], - "MinCleanCorrectedHitEnergy": ["0.1"], - "MinCleanHitEnergy": ["0.5"], - "MinCleanHitEnergyFraction": ["0.01"], - "MinFtdHitsForBarrelTrackerHitFraction": ["0"], - "MinFtdTrackHits": ["0"], - "MinMomentumForTrackHitChecks": ["0"], - "MinTpcHitFractionOfExpected": ["0"], - "MinTrackECalDistanceFromIp": ["0"], - "MinTrackHits": ["0"], - "MuonBarrelBField": ["-1.0"], - "MuonCaloHitCollections": ["MUON"], - "MuonEndCapBField": ["0.01"], - "MuonHitEnergy": ["0.5"], - "MuonToMipCalibration": ["20703.9"], - "NEventsToSkip": ["0"], - "NOuterSamplingLayers": ["3"], - "OutputEnergyCorrectionPoints": [], - "PFOCollectionName": ["PandoraPFOs"], - "PandoraSettingsXmlFile": ["PandoraSettingsFCCee/PandoraSettingsDefault.xml"], - "ProngVertexCollections": ["ProngVertices"], - "ReachesECalBarrelTrackerOuterDistance": ["-100"], - "ReachesECalBarrelTrackerZMaxDistance": ["-50"], - "ReachesECalFtdZMaxDistance": ["1"], - "ReachesECalMinFtdLayer": ["0"], - "ReachesECalNBarrelTrackerHits": ["0"], - "ReachesECalNFtdHits": ["0"], - "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], - "RelTrackCollections": ["SiTracks_Refitted_Relation"], - "ShouldFormTrackRelationships": ["1"], - "SoftwareCompensationWeights": ["2.40821", "-0.0515852", "0.000711414", "-0.0254891", "-0.0121505", "-1.63084e-05", "0.062149", "0.0690735", "-0.223064"], - "SplitVertexCollections": ["SplitVertices"], - "StartVertexAlgorithmName": ["PandoraPFANew"], - "StartVertexCollectionName": ["PandoraStartVertices"], - "StripSplittingOn": ["0"], - "TrackCollections": ["SiTracks_Refitted"], - "TrackCreatorName": ["DDTrackCreatorCLIC"], - "TrackStateTolerance": ["0"], - "TrackSystemName": ["DDKalTest"], - "UnmatchedVertexTrackMaxEnergy": ["5"], - "UseEcalScLayers": ["0"], - "UseNonVertexTracks": ["1"], - "UseOldTrackStateCalculation": ["0"], - "UseUnmatchedNonVertexTracks": ["0"], - "UseUnmatchedVertexTracks": ["1"], - "V0VertexCollections": ["V0Vertices"], - "YokeBarrelNormalVector": ["0", "0", "1"], - "Z0TrackCut": ["200"], - "Z0UnmatchedVertexTrackCut": ["5"], - "ZCutForNonVertexTracks": ["250"] - } + "ClusterCollectionName": ["PandoraClusters"], + "CreateGaps": ["false"], + "CurvatureToMomentumFactor": ["0.00015"], + "D0TrackCut": ["200"], + "D0UnmatchedVertexTrackCut": ["5"], + "DigitalMuonHits": ["0"], + "ECalBarrelNormalVector": ["0", "0", "1"], + "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], + "ECalMipThreshold": ["0.5"], + "ECalScMipThreshold": ["0"], + "ECalScToEMGeVCalibration": ["1"], + "ECalScToHadGeVCalibrationBarrel": ["1"], + "ECalScToHadGeVCalibrationEndCap": ["1"], + "ECalScToMipCalibration": ["1"], + "ECalSiMipThreshold": ["0"], + "ECalSiToEMGeVCalibration": ["1"], + "ECalSiToHadGeVCalibrationBarrel": ["1"], + "ECalSiToHadGeVCalibrationEndCap": ["1"], + "ECalSiToMipCalibration": ["1"], + "ECalToEMGeVCalibration": ["1.01776966108"], + "ECalToHadGeVCalibrationBarrel": ["1.11490774181"], + "ECalToHadGeVCalibrationEndCap": ["1.11490774181"], + "ECalToMipCalibration": ["175.439"], + "EMConstantTerm": ["0.01"], + "EMStochasticTerm": ["0.17"], + "FinalEnergyDensityBin": ["110."], + "HCalBarrelNormalVector": ["0", "0", "1"], + "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], + "HCalMipThreshold": ["0.3"], + "HCalToEMGeVCalibration": ["1.01776966108"], + "HCalToHadGeVCalibration": ["1.00565042407"], + "HCalToMipCalibration": ["45.6621"], + "HadConstantTerm": ["0.03"], + "HadStochasticTerm": ["0.6"], + "InputEnergyCorrectionPoints": [], + "KinkVertexCollections": ["KinkVertices"], + "LCalCaloHitCollections": [], + "LHCalCaloHitCollections": [], + "LayersFromEdgeMaxRearDistance": ["250"], + "MCParticleCollections": ["MCParticle"], + "MaxBarrelTrackerInnerRDistance": ["200"], + "MaxClusterEnergyToApplySoftComp": ["200."], + "MaxHCalHitHadronicEnergy": ["10000000."], + "MaxTrackHits": ["5000"], + "MaxTrackSigmaPOverP": ["0.15"], + "MinBarrelTrackerHitFractionOfExpected": ["0"], + "MinCleanCorrectedHitEnergy": ["0.1"], + "MinCleanHitEnergy": ["0.5"], + "MinCleanHitEnergyFraction": ["0.01"], + "MinFtdHitsForBarrelTrackerHitFraction": ["0"], + "MinFtdTrackHits": ["0"], + "MinMomentumForTrackHitChecks": ["0"], + "MinTpcHitFractionOfExpected": ["0"], + "MinTrackECalDistanceFromIp": ["0"], + "MinTrackHits": ["0"], + "MuonBarrelBField": ["-1.0"], + "MuonCaloHitCollections": ["MUON"], + "MuonEndCapBField": ["0.01"], + "MuonHitEnergy": ["0.5"], + "MuonToMipCalibration": ["20703.9"], + "NEventsToSkip": ["0"], + "NOuterSamplingLayers": ["3"], + "OutputEnergyCorrectionPoints": [], + "PFOCollectionName": ["PandoraPFOs"], + "PandoraSettingsXmlFile": ["PandoraSettingsFCCee/PandoraSettingsDefault.xml"], + "ProngVertexCollections": ["ProngVertices"], + "ReachesECalBarrelTrackerOuterDistance": ["-100"], + "ReachesECalBarrelTrackerZMaxDistance": ["-50"], + "ReachesECalFtdZMaxDistance": ["1"], + "ReachesECalMinFtdLayer": ["0"], + "ReachesECalNBarrelTrackerHits": ["0"], + "ReachesECalNFtdHits": ["0"], + "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], + "RelTrackCollections": ["SiTracks_Refitted_Relation"], + "ShouldFormTrackRelationships": ["1"], + "SoftwareCompensationWeights": [ + "2.40821", + "-0.0515852", + "0.000711414", + "-0.0254891", + "-0.0121505", + "-1.63084e-05", + "0.062149", + "0.0690735", + "-0.223064", + ], + "SplitVertexCollections": ["SplitVertices"], + "StartVertexAlgorithmName": ["PandoraPFANew"], + "StartVertexCollectionName": ["PandoraStartVertices"], + "StripSplittingOn": ["0"], + "TrackCollections": ["SiTracks_Refitted"], + "TrackCreatorName": ["DDTrackCreatorCLIC"], + "TrackStateTolerance": ["0"], + "TrackSystemName": ["DDKalTest"], + "UnmatchedVertexTrackMaxEnergy": ["5"], + "UseEcalScLayers": ["0"], + "UseNonVertexTracks": ["1"], + "UseOldTrackStateCalculation": ["0"], + "UseUnmatchedNonVertexTracks": ["0"], + "UseUnmatchedVertexTracks": ["1"], + "V0VertexCollections": ["V0Vertices"], + "YokeBarrelNormalVector": ["0", "0", "1"], + "Z0TrackCut": ["200"], + "Z0UnmatchedVertexTrackCut": ["5"], + "ZCutForNonVertexTracks": ["250"], +} MyDDMarlinPandora["400"] = MarlinProcessorWrapper("MyDDMarlinPandora_400ns") MyDDMarlinPandora["400"].OutputLevel = WARNING MyDDMarlinPandora["400"].ProcessorType = "DDPandoraPFANewProcessor" MyDDMarlinPandora["400"].Parameters = { - "ClusterCollectionName": ["PandoraClusters"], - "CreateGaps": ["false"], - "CurvatureToMomentumFactor": ["0.00015"], - "D0TrackCut": ["200"], - "D0UnmatchedVertexTrackCut": ["5"], - "DigitalMuonHits": ["0"], - "ECalBarrelNormalVector": ["0", "0", "1"], - "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], - "ECalMipThreshold": ["0.5"], - "ECalScMipThreshold": ["0"], - "ECalScToEMGeVCalibration": ["1"], - "ECalScToHadGeVCalibrationBarrel": ["1"], - "ECalScToHadGeVCalibrationEndCap": ["1"], - "ECalScToMipCalibration": ["1"], - "ECalSiMipThreshold": ["0"], - "ECalSiToEMGeVCalibration": ["1"], - "ECalSiToHadGeVCalibrationBarrel": ["1"], - "ECalSiToHadGeVCalibrationEndCap": ["1"], - "ECalSiToMipCalibration": ["1"], - "ECalToEMGeVCalibration": ["1.02513816926"], - "ECalToHadGeVCalibrationBarrel": ["1.07276660331"], - "ECalToHadGeVCalibrationEndCap": ["1.07276660331"], - "ECalToMipCalibration": ["175.439"], - "EMConstantTerm": ["0.01"], - "EMStochasticTerm": ["0.17"], - "FinalEnergyDensityBin": ["110."], - "HCalBarrelNormalVector": ["0", "0", "1"], - "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], - "HCalMipThreshold": ["0.3"], - "HCalToEMGeVCalibration": ["1.02513816926"], - "HCalToHadGeVCalibration": ["1.01147686143"], - "HCalToMipCalibration": ["49.7512"], - "HadConstantTerm": ["0.03"], - "HadStochasticTerm": ["0.6"], - "InputEnergyCorrectionPoints": [], - "KinkVertexCollections": ["KinkVertices"], - "LCalCaloHitCollections": [], - "LHCalCaloHitCollections": [], - "LayersFromEdgeMaxRearDistance": ["250"], - "MCParticleCollections": ["MCParticle"], - "MaxBarrelTrackerInnerRDistance": ["200"], - "MaxClusterEnergyToApplySoftComp": ["200."], - "MaxHCalHitHadronicEnergy": ["10000000."], - "MaxTrackHits": ["5000"], - "MaxTrackSigmaPOverP": ["0.15"], - "MinBarrelTrackerHitFractionOfExpected": ["0"], - "MinCleanCorrectedHitEnergy": ["0.1"], - "MinCleanHitEnergy": ["0.5"], - "MinCleanHitEnergyFraction": ["0.01"], - "MinFtdHitsForBarrelTrackerHitFraction": ["0"], - "MinFtdTrackHits": ["0"], - "MinMomentumForTrackHitChecks": ["0"], - "MinTpcHitFractionOfExpected": ["0"], - "MinTrackECalDistanceFromIp": ["0"], - "MinTrackHits": ["0"], - "MuonBarrelBField": ["-1.0"], - "MuonCaloHitCollections": ["MUON"], - "MuonEndCapBField": ["0.01"], - "MuonHitEnergy": ["0.5"], - "MuonToMipCalibration": ["20703.9"], - "NEventsToSkip": ["0"], - "NOuterSamplingLayers": ["3"], - "OutputEnergyCorrectionPoints": [], - "PFOCollectionName": ["PandoraPFOs"], - "PandoraSettingsXmlFile": ["PandoraSettingsFCCee/PandoraSettingsDefault_400nsCalTimeWindow.xml"], - "ProngVertexCollections": ["ProngVertices"], - "ReachesECalBarrelTrackerOuterDistance": ["-100"], - "ReachesECalBarrelTrackerZMaxDistance": ["-50"], - "ReachesECalFtdZMaxDistance": ["1"], - "ReachesECalMinFtdLayer": ["0"], - "ReachesECalNBarrelTrackerHits": ["0"], - "ReachesECalNFtdHits": ["0"], - "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], - "RelTrackCollections": ["SiTracks_Refitted_Relation"], - "ShouldFormTrackRelationships": ["1"], - "SoftwareCompensationWeights": ["2.43375", "-0.0430951", "0.000244914", "-0.145478", "-0.00044577", "-8.37222e-05", "0.237484", "0.243491", "-0.0713701"], - "SplitVertexCollections": ["SplitVertices"], - "StartVertexAlgorithmName": ["PandoraPFANew"], - "StartVertexCollectionName": ["PandoraStartVertices"], - "StripSplittingOn": ["0"], - "TrackCollections": ["SiTracks_Refitted"], - "TrackCreatorName": ["DDTrackCreatorCLIC"], - "TrackStateTolerance": ["0"], - "TrackSystemName": ["DDKalTest"], - "UnmatchedVertexTrackMaxEnergy": ["5"], - "UseEcalScLayers": ["0"], - "UseNonVertexTracks": ["1"], - "UseOldTrackStateCalculation": ["0"], - "UseUnmatchedNonVertexTracks": ["0"], - "UseUnmatchedVertexTracks": ["1"], - "V0VertexCollections": ["V0Vertices"], - "YokeBarrelNormalVector": ["0", "0", "1"], - "Z0TrackCut": ["200"], - "Z0UnmatchedVertexTrackCut": ["5"], - "ZCutForNonVertexTracks": ["250"] - } + "ClusterCollectionName": ["PandoraClusters"], + "CreateGaps": ["false"], + "CurvatureToMomentumFactor": ["0.00015"], + "D0TrackCut": ["200"], + "D0UnmatchedVertexTrackCut": ["5"], + "DigitalMuonHits": ["0"], + "ECalBarrelNormalVector": ["0", "0", "1"], + "ECalCaloHitCollections": ["ECALBarrel", "ECALEndcap", "ECALOther"], + "ECalMipThreshold": ["0.5"], + "ECalScMipThreshold": ["0"], + "ECalScToEMGeVCalibration": ["1"], + "ECalScToHadGeVCalibrationBarrel": ["1"], + "ECalScToHadGeVCalibrationEndCap": ["1"], + "ECalScToMipCalibration": ["1"], + "ECalSiMipThreshold": ["0"], + "ECalSiToEMGeVCalibration": ["1"], + "ECalSiToHadGeVCalibrationBarrel": ["1"], + "ECalSiToHadGeVCalibrationEndCap": ["1"], + "ECalSiToMipCalibration": ["1"], + "ECalToEMGeVCalibration": ["1.02513816926"], + "ECalToHadGeVCalibrationBarrel": ["1.07276660331"], + "ECalToHadGeVCalibrationEndCap": ["1.07276660331"], + "ECalToMipCalibration": ["175.439"], + "EMConstantTerm": ["0.01"], + "EMStochasticTerm": ["0.17"], + "FinalEnergyDensityBin": ["110."], + "HCalBarrelNormalVector": ["0", "0", "1"], + "HCalCaloHitCollections": ["HCALBarrel", "HCALEndcap", "HCALOther"], + "HCalMipThreshold": ["0.3"], + "HCalToEMGeVCalibration": ["1.02513816926"], + "HCalToHadGeVCalibration": ["1.01147686143"], + "HCalToMipCalibration": ["49.7512"], + "HadConstantTerm": ["0.03"], + "HadStochasticTerm": ["0.6"], + "InputEnergyCorrectionPoints": [], + "KinkVertexCollections": ["KinkVertices"], + "LCalCaloHitCollections": [], + "LHCalCaloHitCollections": [], + "LayersFromEdgeMaxRearDistance": ["250"], + "MCParticleCollections": ["MCParticle"], + "MaxBarrelTrackerInnerRDistance": ["200"], + "MaxClusterEnergyToApplySoftComp": ["200."], + "MaxHCalHitHadronicEnergy": ["10000000."], + "MaxTrackHits": ["5000"], + "MaxTrackSigmaPOverP": ["0.15"], + "MinBarrelTrackerHitFractionOfExpected": ["0"], + "MinCleanCorrectedHitEnergy": ["0.1"], + "MinCleanHitEnergy": ["0.5"], + "MinCleanHitEnergyFraction": ["0.01"], + "MinFtdHitsForBarrelTrackerHitFraction": ["0"], + "MinFtdTrackHits": ["0"], + "MinMomentumForTrackHitChecks": ["0"], + "MinTpcHitFractionOfExpected": ["0"], + "MinTrackECalDistanceFromIp": ["0"], + "MinTrackHits": ["0"], + "MuonBarrelBField": ["-1.0"], + "MuonCaloHitCollections": ["MUON"], + "MuonEndCapBField": ["0.01"], + "MuonHitEnergy": ["0.5"], + "MuonToMipCalibration": ["20703.9"], + "NEventsToSkip": ["0"], + "NOuterSamplingLayers": ["3"], + "OutputEnergyCorrectionPoints": [], + "PFOCollectionName": ["PandoraPFOs"], + "PandoraSettingsXmlFile": [ + "PandoraSettingsFCCee/PandoraSettingsDefault_400nsCalTimeWindow.xml" + ], + "ProngVertexCollections": ["ProngVertices"], + "ReachesECalBarrelTrackerOuterDistance": ["-100"], + "ReachesECalBarrelTrackerZMaxDistance": ["-50"], + "ReachesECalFtdZMaxDistance": ["1"], + "ReachesECalMinFtdLayer": ["0"], + "ReachesECalNBarrelTrackerHits": ["0"], + "ReachesECalNFtdHits": ["0"], + "RelCaloHitCollections": ["RelationCaloHit", "RelationMuonHit"], + "RelTrackCollections": ["SiTracks_Refitted_Relation"], + "ShouldFormTrackRelationships": ["1"], + "SoftwareCompensationWeights": [ + "2.43375", + "-0.0430951", + "0.000244914", + "-0.145478", + "-0.00044577", + "-8.37222e-05", + "0.237484", + "0.243491", + "-0.0713701", + ], + "SplitVertexCollections": ["SplitVertices"], + "StartVertexAlgorithmName": ["PandoraPFANew"], + "StartVertexCollectionName": ["PandoraStartVertices"], + "StripSplittingOn": ["0"], + "TrackCollections": ["SiTracks_Refitted"], + "TrackCreatorName": ["DDTrackCreatorCLIC"], + "TrackStateTolerance": ["0"], + "TrackSystemName": ["DDKalTest"], + "UnmatchedVertexTrackMaxEnergy": ["5"], + "UseEcalScLayers": ["0"], + "UseNonVertexTracks": ["1"], + "UseOldTrackStateCalculation": ["0"], + "UseUnmatchedNonVertexTracks": ["0"], + "UseUnmatchedVertexTracks": ["1"], + "V0VertexCollections": ["V0Vertices"], + "YokeBarrelNormalVector": ["0", "0", "1"], + "Z0TrackCut": ["200"], + "Z0UnmatchedVertexTrackCut": ["5"], + "ZCutForNonVertexTracks": ["250"], +} MyCLICPfoSelectorDefault = MarlinProcessorWrapper("MyCLICPfoSelectorDefault") MyCLICPfoSelectorDefault.OutputLevel = WARNING MyCLICPfoSelectorDefault.ProcessorType = "CLICPfoSelector" MyCLICPfoSelectorDefault.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-1"], - "ChargedPfoNegativeTightTimingCut": ["-0.5"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["0.5"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["SelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-1"], + "ChargedPfoNegativeTightTimingCut": ["-0.5"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["0.5"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["SelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} MyCLICPfoSelectorLoose = MarlinProcessorWrapper("MyCLICPfoSelectorLoose") MyCLICPfoSelectorLoose.OutputLevel = WARNING MyCLICPfoSelectorLoose.ProcessorType = "CLICPfoSelector" MyCLICPfoSelectorLoose.Parameters = { - "ChargedPfoLooseTimingCut": ["3"], - "ChargedPfoNegativeLooseTimingCut": ["-2.0"], - "ChargedPfoNegativeTightTimingCut": ["-2.0"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.5"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["1000."], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.975"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["2"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.0"], - "MinPtForClusterLessPfos": ["0.25"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["2.5"], - "NeutralFarForwardTightTimingCut": ["1.5"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2."], - "PhotonPtCut": ["0"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["2."], - "PtCutForTightTiming": ["0.75"], - "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], - "UseClusterLessPfos": ["1"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["3"], + "ChargedPfoNegativeLooseTimingCut": ["-2.0"], + "ChargedPfoNegativeTightTimingCut": ["-2.0"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.5"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["1000."], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.975"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["2"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.0"], + "MinPtForClusterLessPfos": ["0.25"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["2.5"], + "NeutralFarForwardTightTimingCut": ["1.5"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2."], + "PhotonPtCut": ["0"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["2."], + "PtCutForTightTiming": ["0.75"], + "SelectedPfoCollection": ["LooseSelectedPandoraPFOs"], + "UseClusterLessPfos": ["1"], + "UseNeutronTiming": ["0"], +} MyCLICPfoSelectorTight = MarlinProcessorWrapper("MyCLICPfoSelectorTight") MyCLICPfoSelectorTight.OutputLevel = WARNING MyCLICPfoSelectorTight.ProcessorType = "CLICPfoSelector" MyCLICPfoSelectorTight.Parameters = { - "ChargedPfoLooseTimingCut": ["2.0"], - "ChargedPfoNegativeLooseTimingCut": ["-0.5"], - "ChargedPfoNegativeTightTimingCut": ["-0.25"], - "ChargedPfoPtCut": ["0"], - "ChargedPfoPtCutForLooseTiming": ["4"], - "ChargedPfoTightTimingCut": ["1.0"], - "CheckKaonCorrection": ["0"], - "CheckProtonCorrection": ["0"], - "ClusterLessPfoTrackTimeCut": ["10"], - "CorrectHitTimesForTimeOfFlight": ["0"], - "DisplayRejectedPfos": ["1"], - "DisplaySelectedPfos": ["1"], - "FarForwardCosTheta": ["0.95"], - "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], - "ForwardHighEnergyNeutralHadronsEnergy": ["10"], - "HCalBarrelLooseTimingCut": ["20"], - "HCalBarrelTightTimingCut": ["10"], - "HCalEndCapTimingFactor": ["1"], - "InputPfoCollection": ["PandoraPFOs"], - "KeepKShorts": ["1"], - "MaxMomentumForClusterLessPfos": ["1.5"], - "MinECalHitsForTiming": ["5"], - "MinHCalEndCapHitsForTiming": ["5"], - "MinMomentumForClusterLessPfos": ["0.5"], - "MinPtForClusterLessPfos": ["1.0"], - "MinimumEnergyForNeutronTiming": ["1"], - "Monitoring": ["0"], - "MonitoringPfoEnergyToDisplay": ["1"], - "NeutralFarForwardLooseTimingCut": ["1.5"], - "NeutralFarForwardTightTimingCut": ["1"], - "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], - "NeutralHadronLooseTimingCut": ["2.5"], - "NeutralHadronPtCut": ["0.5"], - "NeutralHadronPtCutForLooseTiming": ["8"], - "NeutralHadronTightTimingCut": ["1.5"], - "PhotonFarForwardLooseTimingCut": ["2"], - "PhotonFarForwardTightTimingCut": ["1"], - "PhotonLooseTimingCut": ["2"], - "PhotonPtCut": ["0.2"], - "PhotonPtCutForLooseTiming": ["4"], - "PhotonTightTimingCut": ["1"], - "PtCutForTightTiming": ["1.0"], - "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], - "UseClusterLessPfos": ["0"], - "UseNeutronTiming": ["0"] - } + "ChargedPfoLooseTimingCut": ["2.0"], + "ChargedPfoNegativeLooseTimingCut": ["-0.5"], + "ChargedPfoNegativeTightTimingCut": ["-0.25"], + "ChargedPfoPtCut": ["0"], + "ChargedPfoPtCutForLooseTiming": ["4"], + "ChargedPfoTightTimingCut": ["1.0"], + "CheckKaonCorrection": ["0"], + "CheckProtonCorrection": ["0"], + "ClusterLessPfoTrackTimeCut": ["10"], + "CorrectHitTimesForTimeOfFlight": ["0"], + "DisplayRejectedPfos": ["1"], + "DisplaySelectedPfos": ["1"], + "FarForwardCosTheta": ["0.95"], + "ForwardCosThetaForHighEnergyNeutralHadrons": ["0.95"], + "ForwardHighEnergyNeutralHadronsEnergy": ["10"], + "HCalBarrelLooseTimingCut": ["20"], + "HCalBarrelTightTimingCut": ["10"], + "HCalEndCapTimingFactor": ["1"], + "InputPfoCollection": ["PandoraPFOs"], + "KeepKShorts": ["1"], + "MaxMomentumForClusterLessPfos": ["1.5"], + "MinECalHitsForTiming": ["5"], + "MinHCalEndCapHitsForTiming": ["5"], + "MinMomentumForClusterLessPfos": ["0.5"], + "MinPtForClusterLessPfos": ["1.0"], + "MinimumEnergyForNeutronTiming": ["1"], + "Monitoring": ["0"], + "MonitoringPfoEnergyToDisplay": ["1"], + "NeutralFarForwardLooseTimingCut": ["1.5"], + "NeutralFarForwardTightTimingCut": ["1"], + "NeutralHadronBarrelPtCutForLooseTiming": ["3.5"], + "NeutralHadronLooseTimingCut": ["2.5"], + "NeutralHadronPtCut": ["0.5"], + "NeutralHadronPtCutForLooseTiming": ["8"], + "NeutralHadronTightTimingCut": ["1.5"], + "PhotonFarForwardLooseTimingCut": ["2"], + "PhotonFarForwardTightTimingCut": ["1"], + "PhotonLooseTimingCut": ["2"], + "PhotonPtCut": ["0.2"], + "PhotonPtCutForLooseTiming": ["4"], + "PhotonTightTimingCut": ["1"], + "PtCutForTightTiming": ["1.0"], + "SelectedPfoCollection": ["TightSelectedPandoraPFOs"], + "UseClusterLessPfos": ["0"], + "UseNeutronTiming": ["0"], +} VertexFinder = MarlinProcessorWrapper("VertexFinder") VertexFinder.OutputLevel = WARNING VertexFinder.ProcessorType = "LcfiplusProcessor" VertexFinder.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["38.2E-3"], - "BeamSizeY": ["68E-6"], - "BeamSizeZ": ["1.97"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], - "BuildUpVertexCollectionName": ["BuildUpVertices"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["2.0"], - "PFOCollection": ["PFOsFromJets"], - "PrimaryVertexCollectionName": ["PrimaryVertices"], - "PrimaryVertexFinder.BeamspotConstraint": ["1"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["38.2E-3"], + "BeamSizeY": ["68E-6"], + "BeamSizeZ": ["1.97"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0"], + "BuildUpVertexCollectionName": ["BuildUpVertices"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["2.0"], + "PFOCollection": ["PFOsFromJets"], + "PrimaryVertexCollectionName": ["PrimaryVertices"], + "PrimaryVertexFinder.BeamspotConstraint": ["1"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} VertexFinderUnconstrained = MarlinProcessorWrapper("VertexFinderUnconstrained") VertexFinderUnconstrained.OutputLevel = WARNING VertexFinderUnconstrained.ProcessorType = "LcfiplusProcessor" VertexFinderUnconstrained.Parameters = { - "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], - "BeamSizeX": ["38.2E-3"], - "BeamSizeY": ["68E-6"], - "BeamSizeZ": ["1.97"], - "BuildUpVertex.AVFTemperature": ["5.0"], - "BuildUpVertex.AssocIPTracks": ["1"], - "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], - "BuildUpVertex.AssocIPTracksMinDist": ["0."], - "BuildUpVertex.MassThreshold": ["10."], - "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], - "BuildUpVertex.MinDistFromIP": ["0.3"], - "BuildUpVertex.PrimaryChi2Threshold": ["25."], - "BuildUpVertex.SecondaryChi2Threshold": ["9."], - "BuildUpVertex.TrackMaxD0": ["10."], - "BuildUpVertex.TrackMaxD0Err": ["0.1"], - "BuildUpVertex.TrackMaxZ0": ["20."], - "BuildUpVertex.TrackMaxZ0Err": ["0.1"], - "BuildUpVertex.TrackMinFtdHits": ["1"], - "BuildUpVertex.TrackMinPt": ["0.1"], - "BuildUpVertex.TrackMinTpcHits": ["1"], - "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], - "BuildUpVertex.TrackMinVxdFtdHits": ["1"], - "BuildUpVertex.TrackMinVxdHits": ["1"], - "BuildUpVertex.UseAVF": ["false"], - "BuildUpVertex.UseV0Selection": ["1"], - "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], - "BuildUpVertexCollectionName": ["BuildUpVertices_res"], - "MCPCollection": ["MCParticle"], - "MCPFORelation": ["RecoMCTruthLink"], - "MagneticField": ["2.0"], - "PFOCollection": ["TightSelectedPandoraPFOs"], - "PrimaryVertexCollectionName": ["PrimaryVertices_res"], - "PrimaryVertexFinder.BeamspotConstraint": ["0"], - "PrimaryVertexFinder.BeamspotSmearing": ["false"], - "PrimaryVertexFinder.Chi2Threshold": ["25."], - "PrimaryVertexFinder.TrackMaxD0": ["20."], - "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], - "PrimaryVertexFinder.TrackMaxZ0": ["20."], - "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], - "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], - "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], - "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], - "PrintEventNumber": ["1"], - "ReadSubdetectorEnergies": ["0"], - "TrackHitOrdering": ["2"], - "UpdateVertexRPDaughters": ["0"], - "UseMCP": ["0"] - } + "Algorithms": ["PrimaryVertexFinder", "BuildUpVertex"], + "BeamSizeX": ["38.2E-3"], + "BeamSizeY": ["68E-6"], + "BeamSizeZ": ["1.97"], + "BuildUpVertex.AVFTemperature": ["5.0"], + "BuildUpVertex.AssocIPTracks": ["1"], + "BuildUpVertex.AssocIPTracksChi2RatioSecToPri": ["2.0"], + "BuildUpVertex.AssocIPTracksMinDist": ["0."], + "BuildUpVertex.MassThreshold": ["10."], + "BuildUpVertex.MaxChi2ForDistOrder": ["1.0"], + "BuildUpVertex.MinDistFromIP": ["0.3"], + "BuildUpVertex.PrimaryChi2Threshold": ["25."], + "BuildUpVertex.SecondaryChi2Threshold": ["9."], + "BuildUpVertex.TrackMaxD0": ["10."], + "BuildUpVertex.TrackMaxD0Err": ["0.1"], + "BuildUpVertex.TrackMaxZ0": ["20."], + "BuildUpVertex.TrackMaxZ0Err": ["0.1"], + "BuildUpVertex.TrackMinFtdHits": ["1"], + "BuildUpVertex.TrackMinPt": ["0.1"], + "BuildUpVertex.TrackMinTpcHits": ["1"], + "BuildUpVertex.TrackMinTpcHitsMinPt": ["999999"], + "BuildUpVertex.TrackMinVxdFtdHits": ["1"], + "BuildUpVertex.TrackMinVxdHits": ["1"], + "BuildUpVertex.UseAVF": ["false"], + "BuildUpVertex.UseV0Selection": ["1"], + "BuildUpVertex.V0VertexCollectionName": ["BuildUpVertices_V0_res"], + "BuildUpVertexCollectionName": ["BuildUpVertices_res"], + "MCPCollection": ["MCParticle"], + "MCPFORelation": ["RecoMCTruthLink"], + "MagneticField": ["2.0"], + "PFOCollection": ["TightSelectedPandoraPFOs"], + "PrimaryVertexCollectionName": ["PrimaryVertices_res"], + "PrimaryVertexFinder.BeamspotConstraint": ["0"], + "PrimaryVertexFinder.BeamspotSmearing": ["false"], + "PrimaryVertexFinder.Chi2Threshold": ["25."], + "PrimaryVertexFinder.TrackMaxD0": ["20."], + "PrimaryVertexFinder.TrackMaxInnermostHitRadius": ["61"], + "PrimaryVertexFinder.TrackMaxZ0": ["20."], + "PrimaryVertexFinder.TrackMinFtdHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHits": ["999999"], + "PrimaryVertexFinder.TrackMinTpcHitsMinPt": ["999999"], + "PrimaryVertexFinder.TrackMinVtxFtdHits": ["1"], + "PrimaryVertexFinder.TrackMinVxdHits": ["999999"], + "PrintEventNumber": ["1"], + "ReadSubdetectorEnergies": ["0"], + "TrackHitOrdering": ["2"], + "UpdateVertexRPDaughters": ["0"], + "UseMCP": ["0"], +} # Write output to EDM4hep from Configurables import PodioOutput -out = PodioOutput("PodioOutput", filename = "my_output.root") + +out = PodioOutput("PodioOutput", filename="my_output.root") out.outputCommands = ["keep *"] @@ -1306,9 +1727,5 @@ algList.append(out) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 3, - ExtSvc = [evtsvc], - OutputLevel=WARNING - ) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=[evtsvc], OutputLevel=WARNING) diff --git a/test/gaudi_opts/geoTest_cld.py b/test/gaudi_opts/geoTest_cld.py index a040cd1e..505f70bd 100644 --- a/test/gaudi_opts/geoTest_cld.py +++ b/test/gaudi_opts/geoTest_cld.py @@ -21,11 +21,12 @@ from Gaudi.Configuration import * from Configurables import TrackingCellIDEncodingSvc, GeoSvc + algList = [] svcList = [] geoservice = GeoSvc("GeoSvc") -geoservice.detectors = [os.environ["K4GEO"]+"/CLIC/compact/CLIC_o3_v15/CLIC_o3_v15.xml"] +geoservice.detectors = [os.environ["K4GEO"] + "/CLIC/compact/CLIC_o3_v15/CLIC_o3_v15.xml"] geoservice.OutputLevel = INFO geoservice.EnableGeant4Geo = False svcList.append(geoservice) @@ -37,9 +38,5 @@ svcList.append(cellIDSvc) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 3, - ExtSvc = svcList, - OutputLevel=WARNING - ) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=svcList, OutputLevel=WARNING) diff --git a/test/gaudi_opts/same_num_io.py b/test/gaudi_opts/same_num_io.py index 4528be8c..5fc148ca 100644 --- a/test/gaudi_opts/same_num_io.py +++ b/test/gaudi_opts/same_num_io.py @@ -21,6 +21,7 @@ from Gaudi.Configuration import * from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper + algList = [] evtsvc = EventDataSvc() @@ -33,20 +34,70 @@ Output_DST.OutputLevel = WARNING Output_DST.ProcessorType = "LCIOOutputProcessor" Output_DST.Parameters = { - "DropCollectionNames": [], - "DropCollectionTypes": ["MCParticle", "LCRelation", "SimCalorimeterHit", "CalorimeterHit", "SimTrackerHit", "TrackerHit", "TrackerHitPlane", "Track", "ReconstructedParticle", "LCFloatVec", "Clusters"], - "FullSubsetCollections": ["EfficientMCParticles", "InefficientMCParticles", "MCPhysicsParticles"], - "KeepCollectionNames": ["MCParticlesSkimmed", "MCPhysicsParticles", "RecoMCTruthLink", "SiTracks", "SiTracks_Refitted", "PandoraClusters", "PandoraPFOs", "SelectedPandoraPFOs", "LooseSelectedPandoraPFOs", "TightSelectedPandoraPFOs", "LE_SelectedPandoraPFOs", "LE_LooseSelectedPandoraPFOs", "LE_TightSelectedPandoraPFOs", "LumiCalClusters", "LumiCalRecoParticles", "BeamCalClusters", "BeamCalRecoParticles", "MergedRecoParticles", "MergedClusters", "RefinedVertexJets", "RefinedVertexJets_rel", "RefinedVertexJets_vtx", "RefinedVertexJets_vtx_RP", "BuildUpVertices", "BuildUpVertices_res", "BuildUpVertices_RP", "BuildUpVertices_res_RP", "BuildUpVertices_V0", "BuildUpVertices_V0_res", "BuildUpVertices_V0_RP", "BuildUpVertices_V0_res_RP", "PrimaryVertices", "PrimaryVertices_res", "PrimaryVertices_RP", "PrimaryVertices_res_RP", "RefinedVertices", "RefinedVertices_RP"], - "LCIOOutputFile": ["Output_DST.slcio"], - "LCIOWriteMode": ["WRITE_NEW"] - } + "DropCollectionNames": [], + "DropCollectionTypes": [ + "MCParticle", + "LCRelation", + "SimCalorimeterHit", + "CalorimeterHit", + "SimTrackerHit", + "TrackerHit", + "TrackerHitPlane", + "Track", + "ReconstructedParticle", + "LCFloatVec", + "Clusters", + ], + "FullSubsetCollections": [ + "EfficientMCParticles", + "InefficientMCParticles", + "MCPhysicsParticles", + ], + "KeepCollectionNames": [ + "MCParticlesSkimmed", + "MCPhysicsParticles", + "RecoMCTruthLink", + "SiTracks", + "SiTracks_Refitted", + "PandoraClusters", + "PandoraPFOs", + "SelectedPandoraPFOs", + "LooseSelectedPandoraPFOs", + "TightSelectedPandoraPFOs", + "LE_SelectedPandoraPFOs", + "LE_LooseSelectedPandoraPFOs", + "LE_TightSelectedPandoraPFOs", + "LumiCalClusters", + "LumiCalRecoParticles", + "BeamCalClusters", + "BeamCalRecoParticles", + "MergedRecoParticles", + "MergedClusters", + "RefinedVertexJets", + "RefinedVertexJets_rel", + "RefinedVertexJets_vtx", + "RefinedVertexJets_vtx_RP", + "BuildUpVertices", + "BuildUpVertices_res", + "BuildUpVertices_RP", + "BuildUpVertices_res_RP", + "BuildUpVertices_V0", + "BuildUpVertices_V0_res", + "BuildUpVertices_V0_RP", + "BuildUpVertices_V0_res_RP", + "PrimaryVertices", + "PrimaryVertices_res", + "PrimaryVertices_RP", + "PrimaryVertices_res_RP", + "RefinedVertices", + "RefinedVertices_RP", + ], + "LCIOOutputFile": ["Output_DST.slcio"], + "LCIOWriteMode": ["WRITE_NEW"], +} algList.append(Output_DST) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 10, - ExtSvc = [evtsvc], - OutputLevel=DEBUG -) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=10, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/test/gaudi_opts/simple_processors.py b/test/gaudi_opts/simple_processors.py index d11ca5a1..ffc04dfd 100644 --- a/test/gaudi_opts/simple_processors.py +++ b/test/gaudi_opts/simple_processors.py @@ -21,6 +21,7 @@ from Gaudi.Configuration import * from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper + algList = [] evtsvc = EventDataSvc() @@ -34,29 +35,33 @@ procA = MarlinProcessorWrapper("AidaProcessor") procA.OutputLevel = DEBUG procA.ProcessorType = "AIDAProcessor" -procA.Parameters = {"FileName": ["histograms"], - "FileType": ["root"], - "Compress": ["1"], - "Verbosity": ["DEBUG"], - } +procA.Parameters = { + "FileName": ["histograms"], + "FileType": ["root"], + "Compress": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(procA) proc0 = MarlinProcessorWrapper("EventNumber") proc0.OutputLevel = DEBUG proc0.ProcessorType = "Statusmonitor" -proc0.Parameters = {"HowOften": ["1"], - "Verbosity": ["DEBUG"], - } +proc0.Parameters = { + "HowOften": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(proc0) proc1 = MarlinProcessorWrapper("InitDD4hep") proc1.OutputLevel = DEBUG proc1.ProcessorType = "InitializeDD4hep" -proc1.Parameters = {#"EncodingStringParameter": ["GlobalTrackerReadoutID"], - "DD4hepXMLFile": [os.path.join(os.environ.get('K4GEO'), 'CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml')] - } +proc1.Parameters = { # "EncodingStringParameter": ["GlobalTrackerReadoutID"], + "DD4hepXMLFile": [ + os.path.join(os.environ.get("K4GEO"), "CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml") + ] +} algList.append(proc1) @@ -72,16 +77,11 @@ "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], "TrackerHitCollectionName": ["VXDTrackerHits"], "Verbosity": ["DEBUG"], - } +} algList.append(digiVxd) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 10, - ExtSvc = [evtsvc], - OutputLevel=DEBUG -) +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=10, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/test/gaudi_opts/simple_processors2.py b/test/gaudi_opts/simple_processors2.py index 801811a6..1b6d4016 100644 --- a/test/gaudi_opts/simple_processors2.py +++ b/test/gaudi_opts/simple_processors2.py @@ -22,6 +22,7 @@ from Configurables import ApplicationMgr from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper + algList = [] evtsvc = EventDataSvc() @@ -35,29 +36,33 @@ procA = MarlinProcessorWrapper("AidaProcessor") procA.OutputLevel = DEBUG procA.ProcessorType = "AIDAProcessor" -procA.Parameters = {"FileName": ["histograms"], - "FileType": ["root"], - "Compress": ["1"], - "Verbosity": ["DEBUG"], - } +procA.Parameters = { + "FileName": ["histograms"], + "FileType": ["root"], + "Compress": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(procA) proc0 = MarlinProcessorWrapper("EventNumber") proc0.OutputLevel = DEBUG proc0.ProcessorType = "Statusmonitor" -proc0.Parameters = {"HowOften": ["1"], - "Verbosity": ["DEBUG"], - } +proc0.Parameters = { + "HowOften": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(proc0) proc1 = MarlinProcessorWrapper("InitDD4hep") proc1.OutputLevel = DEBUG proc1.ProcessorType = "InitializeDD4hep" -proc1.Parameters = {#"EncodingStringParameter": ["GlobalTrackerReadoutID"], - "DD4hepXMLFile": [os.path.join(os.environ.get('K4GEO'), 'CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml')] - } +proc1.Parameters = { # "EncodingStringParameter": ["GlobalTrackerReadoutID"], + "DD4hepXMLFile": [ + os.path.join(os.environ.get("K4GEO"), "CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml") + ] +} algList.append(proc1) @@ -73,7 +78,7 @@ "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], "TrackerHitCollectionName": ["VXDTrackerHits"], "Verbosity": ["DEBUG"], - } +} algList.append(digiVxd) digiVxd2 = MarlinProcessorWrapper("VXDBarrelDigitiser2") @@ -88,12 +93,7 @@ "SimTrkHitRelCollection": ["VXDTrackerHitRelations2"], "TrackerHitCollectionName": ["VXDTrackerHits2"], "Verbosity": ["DEBUG"], - } +} algList.append(digiVxd2) -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 4, - ExtSvc = [evtsvc], - OutputLevel=DEBUG -) +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=4, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/test/gaudi_opts/simple_processors3.py b/test/gaudi_opts/simple_processors3.py index cecaf107..f075abc5 100644 --- a/test/gaudi_opts/simple_processors3.py +++ b/test/gaudi_opts/simple_processors3.py @@ -21,6 +21,7 @@ from Gaudi.Configuration import * from Configurables import LcioEvent, EventDataSvc, MarlinProcessorWrapper + algList = [] evtsvc = EventDataSvc() @@ -33,9 +34,10 @@ from Configurables import HepRndm__Engine_CLHEP__RanluxEngine_ as RndmEngine -rndmengine = RndmEngine('RndmGenSvc.Engine') + +rndmengine = RndmEngine("RndmGenSvc.Engine") rndmengine.SetSingleton = True -rndmengine.Seeds = [ 234567 ] # default seed is 1234567 +rndmengine.Seeds = [234567] # default seed is 1234567 # assign parameters by hand, in future parse Marlin.xml file in python @@ -43,29 +45,33 @@ procA = MarlinProcessorWrapper("AidaProcessor") procA.OutputLevel = DEBUG procA.ProcessorType = "AIDAProcessor" -procA.Parameters = {"FileName": ["histograms"], - "FileType": ["root"], - "Compress": ["1"], - "Verbosity": ["DEBUG"], - } +procA.Parameters = { + "FileName": ["histograms"], + "FileType": ["root"], + "Compress": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(procA) proc0 = MarlinProcessorWrapper("EventNumber") proc0.OutputLevel = DEBUG proc0.ProcessorType = "Statusmonitor" -proc0.Parameters = {"HowOften": ["1"], - "Verbosity": ["DEBUG"], - } +proc0.Parameters = { + "HowOften": ["1"], + "Verbosity": ["DEBUG"], +} algList.append(proc0) proc1 = MarlinProcessorWrapper("InitDD4hep") proc1.OutputLevel = DEBUG proc1.ProcessorType = "InitializeDD4hep" -proc1.Parameters = {#"EncodingStringParameter": ["GlobalTrackerReadoutID"], - "DD4hepXMLFile": [os.path.join(os.environ.get('K4GEO'), 'CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml')] - } +proc1.Parameters = { # "EncodingStringParameter": ["GlobalTrackerReadoutID"], + "DD4hepXMLFile": [ + os.path.join(os.environ.get("K4GEO"), "CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml") + ] +} algList.append(proc1) @@ -81,7 +87,7 @@ "SimTrkHitRelCollection": ["VXDTrackerHitRelations"], "TrackerHitCollectionName": ["VXDTrackerHits"], "Verbosity": ["DEBUG"], - } +} algList.append(digiVxd) digiVxd2 = MarlinProcessorWrapper("VXDBarrelDigitiser2") @@ -96,13 +102,9 @@ "SimTrkHitRelCollection": ["VXDTrackerHitRelations2"], "TrackerHitCollectionName": ["VXDTrackerHits2"], "Verbosity": ["DEBUG"], - } +} algList.append(digiVxd2) from Configurables import ApplicationMgr -ApplicationMgr( TopAlg = algList, - EvtSel = 'NONE', - EvtMax = 4, - ExtSvc = [evtsvc], - OutputLevel=DEBUG -) + +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=4, ExtSvc=[evtsvc], OutputLevel=DEBUG) diff --git a/test/gaudi_opts/test_global_converter_maps.py b/test/gaudi_opts/test_global_converter_maps.py index 00955349..2746c3f8 100644 --- a/test/gaudi_opts/test_global_converter_maps.py +++ b/test/gaudi_opts/test_global_converter_maps.py @@ -38,15 +38,16 @@ podioInput.collections = ["MCParticles"] podioInput.OutputLevel = INFO -PseudoRecoAlg = PseudoRecoAlgorithm("PseudoRecoAlgorithm", - InputMCs=["MCParticles"], - OutputRecos=["PseudoRecoParticles"]) +PseudoRecoAlg = PseudoRecoAlgorithm( + "PseudoRecoAlgorithm", InputMCs=["MCParticles"], OutputRecos=["PseudoRecoParticles"] +) inputConverter = EDM4hep2LcioTool("InputConverter") inputConverter.convertAll = False -inputConverter.collNameMapping = {"MCParticles": "MCParticles", - "PseudoRecoParticles": "PseudoRecoParticles" - } +inputConverter.collNameMapping = { + "MCParticles": "MCParticles", + "PseudoRecoParticles": "PseudoRecoParticles", +} inputConverter.OutputLevel = DEBUG TrivialMCTruthLinkerProc = MarlinProcessorWrapper("TrivialMCTruthLinker") @@ -79,6 +80,4 @@ mcLinkChecker, ] -ApplicationMgr( - TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=[evtsvc], OutputLevel=DEBUG -) +ApplicationMgr(TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=[evtsvc], OutputLevel=DEBUG)