ATLAS Offline Software
Functions
python.HIRecConfigFlags Namespace Reference

Functions

def createHIRecConfigFlags ()
 

Function Documentation

◆ createHIRecConfigFlags()

def python.HIRecConfigFlags.createHIRecConfigFlags ( )

Definition at line 6 of file HIRecConfigFlags.py.

7  flags=AthConfigFlags()
8 
9  flags.addFlag("HeavyIon.doGlobal", True)
10  flags.addFlag("HeavyIon.Global.doEventShapeSummary", True)
11  flags.addFlag("HeavyIon.Global.EventShape", "HIEventShape")
12 
13  flags.addFlag("HeavyIon.doJet", True)
14  flags.addFlag("HeavyIon.Jet.doTrackJetSeed", True)
15  flags.addFlag("HeavyIon.Jet.ApplyTowerEtaPhiCorrection", lambda prevFlags: prevFlags.Reco.HIMode is HIMode.HI)
16  flags.addFlag("HeavyIon.Jet.HarmonicsForSubtraction", lambda prevFlags: [2, 3, 4] if prevFlags.Reco.HIMode is HIMode.HI else [])
17  flags.addFlag("HeavyIon.Jet.SeedPtMin", lambda prevFlags: 25000 if prevFlags.Reco.HIMode is HIMode.HI else 8000)
18  flags.addFlag("HeavyIon.Jet.RecoOutputPtMin", lambda prevFlags: 25000 if prevFlags.Reco.HIMode is HIMode.HI else 8000)
19  flags.addFlag("HeavyIon.Jet.TrackJetPtMin", lambda prevFlags: 7000 if prevFlags.Reco.HIMode is HIMode.HI else 4000)
20  flags.addFlag("HeavyIon.Jet.HIClusterGeoWeightFile", "auto")
21  flags.addFlag("HeavyIon.Jet.ClusterKey", "HIClusters")
22  flags.addFlag("HeavyIon.Jet.Internal.ClusterKey", "HIClusters_temp")
23  flags.addFlag("HeavyIon.Jet.WriteHIClusters", lambda prevFlags: prevFlags.Reco.HIMode is not HIMode.UPC)
24  flags.addFlag("HeavyIon.Jet.RValues", [2,4])#this are the R's we want to reconstruct
25  flags.addFlag("HeavyIon.Jet.CaliRValues", ["2","3","4","10"])#this are the R's that are supported for calibration, if not listed then cali R=0.4 is picked
26 
27  flags.addFlag("HeavyIon.Egamma.doSubtractedClusters", lambda prevFlags: prevFlags.Reco.HIMode is HIMode.HI)
28  flags.addFlag("HeavyIon.Egamma.EventShape", "HIEventShape_iter_egamma")
29  flags.addFlag("HeavyIon.Egamma.SubtractedCells", "SubtractedCells")
30  flags.addFlag("HeavyIon.Egamma.UncalibCaloTopoCluster", "SubtractedCaloTopoClusters")
31  flags.addFlag("HeavyIon.Egamma.EgammaTopoCluster", "SubtractedEgammaTopoClusters")
32  flags.addFlag("HeavyIon.Egamma.CaloTopoCluster", lambda prevFlags: "SubtractedCaloCalTopoClusters" if prevFlags.Calo.TopoCluster.doTopoClusterLocalCalib else prevFlags.HeavyIon.Egamma.UncalibCaloTopoCluster)
33 
34  flags.addFlag("HeavyIon.redoTracking", True)
35  flags.addFlag("HeavyIon.redoEgamma", True)
36 
37  # expand as needed
38  return flags
python.HIRecConfigFlags.createHIRecConfigFlags
def createHIRecConfigFlags()
Definition: HIRecConfigFlags.py:6