Attachment 'DESYexeSingleTopDPDMaker.py'

Download

   1 # Input initializations
   2 
   3 from AthenaCommon.AppMgr import theApp
   4 from AthenaCommon.AppMgr import ServiceMgr
   5 import AthenaPoolCnvSvc.ReadAthenaPool
   6 
   7 theApp.EvtMax                             = EvtMax
   8 ServiceMgr.EventSelector.InputCollections = InputCollections
   9 ServiceMgr.EventSelector.SkipEvents       = SkipEvents
  10 
  11 Service("AthenaEventLoopMgr").OutputLevel = ERROR
  12 Service("AthenaSealSvc").OutputLevel      = ERROR
  13 
  14 MessageSvc.OutputLevel    = ERROR
  15 StatusCodeSvc.OutputLevel = ERROR
  16 
  17 MessageSvc.Format = "% F%30W%S%7W%R%T %0W%M"
  18 
  19 
  20 # Sequence initializations
  21 
  22 from AthenaCommon.AlgSequence import AlgSequence
  23 from AthenaCommon.AlgSequence import AthSequencer
  24 
  25 Sequence  = AlgSequence()
  26 Sequencer = AthSequencer("SingleTopDPDMakerSequencer")
  27 Sequence += Sequencer
  28 
  29 AthSequencer.StopOverride = False
  30 
  31 from SingleTopDPDMaker.SingleTopDPDMakerConf import *
  32 
  33 
  34 # Trigger initializations
  35 
  36 if FullReco:
  37 
  38   if ExecuteTriggerDecisionFilter or ExecuteTriggerSelection or ExecuteDecisionSelection or ExecuteTriggerTreeMaker:
  39 
  40     include("TriggerConfiguration.py")
  41   
  42 
  43 # ATLAS/PAT "cooking" (verbose) initializations
  44 
  45 if ExecuteCellSelection or ExecuteTowerSelection or ExecuteJetReTagging or ExecuteNewJetTagging:
  46 
  47   include("RecExCommon/RecExCommon_flags.py")
  48   include("RecExCond/AllDet_detDescr.py")
  49       
  50 
  51 # New Jet container generation
  52 
  53 if ExecuteNewJetAlgorithm:
  54 
  55   import re
  56   
  57   from JetRec.JetRecFlags import jetFlags
  58   from JetRec.JetGetters import * 
  59 
  60   jetFlags.inputFileType = "AOD"
  61   jetFlags.doBTagging    = False
  62   
  63   for Jet in NewJetName:
  64   
  65     Type, Size, Seed = re.findall("(.+?)([0-9]+?)(.+)", Jet)[0]
  66       
  67     JetInstance = Type+Size+Seed
  68       
  69     Size = float(Size)/10.
  70             
  71     JetInstance = make_StandardJetGetter(Type, Size, Seed).jetAlgorithmHandle()
  72     JetInstance.OutputLevel = ERROR
  73 
  74 
  75 # New and existing Jet tagging  
  76   
  77 if ExecuteJetReTagging or ExecuteNewJetTagging:
  78 
  79   from BTagging.BTaggingFlags import BTaggingFlags
  80   
  81   BTaggingFlags.Runmodus      = "analysis"
  82   BTaggingFlags.PoolInputType = "AOD"
  83   
  84   BTaggingFlags.JetFitterTag = False
  85   
  86   BTaggingFlags.Jets             = []
  87   BTaggingFlags.JetsWithInfoPlus = []
  88   
  89   if ExecuteJetReTagging:
  90     
  91     BTaggingFlags.Jets             += ReTaggedJetName
  92     BTaggingFlags.JetsWithInfoPlus += ReTaggedJetName
  93     
  94   if ExecuteNewJetTagging:
  95   
  96     BTaggingFlags.Jets             += NewJetName
  97     BTaggingFlags.JetsWithInfoPlus += NewJetName
  98   
  99   BTaggingFlags.CalibrationChannelAliases = []
 100   
 101   for i in filter(lambda x : "LCTopo" in x, BTaggingFlags.Jets):
 102   
 103     if "4" in i:
 104       BTaggingFlags.CalibrationChannelAliases += [ "%s->Cone4H1Tower" % i ]
 105     else:
 106       BTaggingFlags.CalibrationChannelAliases += [ "%s->Cone7H1Tower" % i ]
 107     
 108   BTaggingFlags.OutputLevel = ERROR
 109   
 110   include("BTagging/BTagging_jobOptions.py") 
 111                      
 112    
 113 # Reconstructed Object selections :
 114 
 115 # Electron selection
 116 
 117 RecoElectronSelection = ElectronSelection("ElectronSelection")
 118 Sequence += RecoElectronSelection
 119 
 120 RecoElectronSelection.OutputLevel = INFO
 121 
 122 RecoElectronSelection.InputContainerName         = ElectronSelection_InputContainerName
 123 RecoElectronSelection.OutputContainerName        = ElectronSelection_OutputContainerName
 124 RecoElectronSelection.SelectionInfoContainerName = ElectronSelection_SelectionInfoContainerName
 125 RecoElectronSelection.OutputSelectionLabel       = ElectronSelection_OutputSelectionLabel
 126 RecoElectronSelection.InputSelectionLabel        = ElectronSelection_InputSelectionLabel
 127 RecoElectronSelection.EgammaDetailContainerName  = ElectronSelection_EgammaDetailContainerName
 128 RecoElectronSelection.ApplyEtaCrackCut           = ElectronSelection_ApplyEtaCrackCut
 129 RecoElectronSelection.ApplyEtConeCut             = ElectronSelection_ApplyEtConeCut
 130 RecoElectronSelection.Author                     = ElectronSelection_Author 
 131 RecoElectronSelection.EmMask                     = ElectronSelection_EmMask
 132 RecoElectronSelection.PtMin                      = ElectronSelection_PtMin
 133 RecoElectronSelection.EtaMax                     = ElectronSelection_EtaMax
 134 RecoElectronSelection.EtaCrackMin                = ElectronSelection_EtaCrackMin
 135 RecoElectronSelection.EtaCrackMax                = ElectronSelection_EtaCrackMax
 136 RecoElectronSelection.ConeSize                   = ElectronSelection_ConeSize
 137 RecoElectronSelection.EtConeOption               = ElectronSelection_EtConeOption
 138 RecoElectronSelection.EtConeCut                  = ElectronSelection_EtConeCut
 139 
 140 # Muon selection
 141 
 142 RecoMuonSelection = MuonSelection("MuonSelection")
 143 Sequence += RecoMuonSelection
 144 
 145 RecoMuonSelection.OutputLevel = INFO
 146 
 147 RecoMuonSelection.InputContainerName         = MuonSelection_InputContainerName  
 148 RecoMuonSelection.OutputContainerName        = MuonSelection_OutputContainerName
 149 RecoMuonSelection.SelectionInfoContainerName = MuonSelection_SelectionInfoContainerName
 150 RecoMuonSelection.OutputSelectionLabel       = MuonSelection_OutputSelectionLabel
 151 RecoMuonSelection.InputSelectionLabel        = MuonSelection_InputSelectionLabel
 152 RecoMuonSelection.ApplyIsHighPtCut           = MuonSelection_ApplyIsHighPtCut
 153 RecoMuonSelection.ApplyBestMatchCut          = MuonSelection_ApplyBestMatchCut
 154 RecoMuonSelection.ApplyIsCombinedMuonCut     = MuonSelection_ApplyIsCombinedMuonCut
 155 RecoMuonSelection.ApplyEtConeCut             = MuonSelection_ApplyEtConeCut
 156 RecoMuonSelection.Author                     = MuonSelection_Author
 157 RecoMuonSelection.PtMin                      = MuonSelection_PtMin
 158 RecoMuonSelection.EtaMax                     = MuonSelection_EtaMax
 159 RecoMuonSelection.ConeSize                   = MuonSelection_ConeSize
 160 RecoMuonSelection.EtConeCut                  = MuonSelection_EtConeCut
 161 
 162 # Photon selection
 163 
 164 RecoPhotonSelection = PhotonSelection("PhotonSelection")
 165 Sequence += RecoPhotonSelection
 166 
 167 RecoPhotonSelection.OutputLevel = INFO
 168 
 169 RecoPhotonSelection.InputContainerName         = PhotonSelection_InputContainerName
 170 RecoPhotonSelection.OutputContainerName        = PhotonSelection_OutputContainerName
 171 RecoPhotonSelection.SelectionInfoContainerName = PhotonSelection_SelectionInfoContainerName
 172 RecoPhotonSelection.OutputSelectionLabel       = PhotonSelection_OutputSelectionLabel
 173 RecoPhotonSelection.InputSelectionLabel        = PhotonSelection_InputSelectionLabel
 174 RecoPhotonSelection.EgammaDetailContainerName  = PhotonSelection_EgammaDetailContainerName
 175 RecoPhotonSelection.ApplyEtaCrackCut           = PhotonSelection_ApplyEtaCrackCut
 176 RecoPhotonSelection.ApplyEtConeCut             = PhotonSelection_ApplyEtConeCut
 177 RecoPhotonSelection.Author                     = PhotonSelection_Author 
 178 RecoPhotonSelection.EmMask                     = PhotonSelection_EmMask
 179 RecoPhotonSelection.PtMin                      = PhotonSelection_PtMin
 180 RecoPhotonSelection.EtaMax                     = PhotonSelection_EtaMax
 181 RecoPhotonSelection.EtaCrackMin                = PhotonSelection_EtaCrackMin
 182 RecoPhotonSelection.EtaCrackMax                = PhotonSelection_EtaCrackMax
 183 RecoPhotonSelection.ConeSize                   = PhotonSelection_ConeSize
 184 RecoPhotonSelection.EtConeCut                  = PhotonSelection_EtConeCut
 185 
 186 # Tau Jet selection
 187 
 188 RecoTauJetSelection = TauJetSelection("TauJetSelection")
 189 Sequence += RecoTauJetSelection
 190 
 191 RecoTauJetSelection.OutputLevel = INFO
 192 
 193 RecoTauJetSelection.InputContainerName         = TauJetSelection_InputContainerName
 194 RecoTauJetSelection.OutputContainerName        = TauJetSelection_OutputContainerName
 195 RecoTauJetSelection.SelectionInfoContainerName = TauJetSelection_SelectionInfoContainerName
 196 RecoTauJetSelection.OutputSelectionLabel       = TauJetSelection_OutputSelectionLabel
 197 RecoTauJetSelection.InputSelectionLabel        = TauJetSelection_InputSelectionLabel
 198 RecoTauJetSelection.Author                     = TauJetSelection_Author
 199 RecoTauJetSelection.TauFlag                    = TauJetSelection_TauFlag
 200 RecoTauJetSelection.PtMin                      = TauJetSelection_PtMin
 201 RecoTauJetSelection.EtaMax                     = TauJetSelection_EtaMax
 202 RecoTauJetSelection.TrackNumberMin             = TauJetSelection_TrackNumberMin
 203 RecoTauJetSelection.TrackNumberMax             = TauJetSelection_TrackNumberMax
 204 RecoTauJetSelection.DiscriminantName           = TauJetSelection_DiscriminantName
 205 RecoTauJetSelection.DiscriminantType           = TauJetSelection_DiscriminantType
 206 RecoTauJetSelection.DiscriminantCut            = TauJetSelection_DiscriminantCut
 207 
 208 # Jet selection
 209 
 210 RecoJetSelection = JetSelection("JetSelection")
 211 Sequence += RecoJetSelection
 212 
 213 RecoJetSelection.OutputLevel = INFO
 214 
 215 RecoJetSelection.InputContainerName         = JetSelection_InputContainerName
 216 RecoJetSelection.OutputContainerName        = JetSelection_OutputContainerName
 217 RecoJetSelection.SelectionInfoContainerName = JetSelection_SelectionInfoContainerName
 218 RecoJetSelection.OutputSelectionLabel       = JetSelection_OutputSelectionLabel 
 219 RecoJetSelection.InputSelectionLabel        = JetSelection_InputSelectionLabel
 220 RecoJetSelection.PtMin                      = JetSelection_PtMin
 221 RecoJetSelection.EtaMax                     = JetSelection_EtaMax
 222 
 223 # Tagged/Untagged Jet selections
 224 
 225 RecoTaggedJetSelection = TaggedJetSelection("TaggedJetSelection")
 226 Sequence += RecoTaggedJetSelection
 227 
 228 RecoTaggedJetSelection.OutputLevel = INFO
 229 
 230 RecoTaggedJetSelection.InputContainerName           = TaggedJetSelection_InputContainerName
 231 RecoTaggedJetSelection.OutputTaggedContainerName    = TaggedJetSelection_OutputTaggedContainerName
 232 RecoTaggedJetSelection.OutputUntaggedContainerName  = TaggedJetSelection_OutputUntaggedContainerName
 233 RecoTaggedJetSelection.SelectionInfoContainerName   = TaggedJetSelection_SelectionInfoContainerName
 234 RecoTaggedJetSelection.OutputTaggedSelectionLabel   = TaggedJetSelection_OutputTaggedSelectionLabel
 235 RecoTaggedJetSelection.OutputUntaggedSelectionLabel = TaggedJetSelection_OutputUntaggedSelectionLabel
 236 RecoTaggedJetSelection.InputSelectionLabel          = TaggedJetSelection_InputSelectionLabel
 237 RecoTaggedJetSelection.TaggedPtMin                  = TaggedJetSelection_TaggedPtMin
 238 RecoTaggedJetSelection.UntaggedPtMin                = TaggedJetSelection_UntaggedPtMin
 239 RecoTaggedJetSelection.TaggedEtaMax                 = TaggedJetSelection_TaggedEtaMax
 240 RecoTaggedJetSelection.UntaggedEtaMax               = TaggedJetSelection_UntaggedEtaMax
 241 RecoTaggedJetSelection.TaggingAlgorithm             = TaggedJetSelection_TaggingAlgorithm
 242 RecoTaggedJetSelection.TaggingWeightCut             = TaggedJetSelection_TaggingWeightCut
 243 
 244 # New Jet selection
 245 
 246 if ExecuteNewJetAlgorithm and ExecuteNewJetSelection:
 247 
 248   NewJetSelection = KinematicSelection("NewJetSelection")
 249   Sequence += NewJetSelection
 250   
 251   NewJetSelection.OutputLevel = INFO
 252   
 253   NewJetSelection.InputContainerName         = NewJetSelection_InputContainerName
 254   NewJetSelection.OutputContainerName        = NewJetSelection_OutputContainerName
 255   NewJetSelection.SelectionInfoContainerName = NewJetSelection_SelectionInfoContainerName
 256   NewJetSelection.OutputSelectionLabel       = NewJetSelection_OutputSelectionLabel 
 257   NewJetSelection.InputSelectionLabel        = NewJetSelection_InputSelectionLabel
 258   NewJetSelection.PtMinMax                   = NewJetSelection_PtMinMax
 259   NewJetSelection.EtMinMax                   = NewJetSelection_EtMinMax
 260   NewJetSelection.EtaMinMax                  = NewJetSelection_EtaMinMax  
 261 
 262 # Existing re-tagged Jet selection
 263 
 264 if ExecuteJetReTagging and ExecuteReTaggedJetSelection:
 265 
 266   ReTaggedJetSelection = KinematicSelection("ReTaggedJetSelection")
 267   Sequence += ReTaggedJetSelection
 268   
 269   ReTaggedJetSelection.OutputLevel = INFO
 270   
 271   ReTaggedJetSelection.InputContainerName         = ReTaggedJetSelection_InputContainerName
 272   ReTaggedJetSelection.OutputContainerName        = ReTaggedJetSelection_OutputContainerName
 273   ReTaggedJetSelection.SelectionInfoContainerName = ReTaggedJetSelection_SelectionInfoContainerName
 274   ReTaggedJetSelection.OutputSelectionLabel       = ReTaggedJetSelection_OutputSelectionLabel 
 275   ReTaggedJetSelection.InputSelectionLabel        = ReTaggedJetSelection_InputSelectionLabel
 276   ReTaggedJetSelection.PtMinMax                   = ReTaggedJetSelection_PtMinMax
 277   ReTaggedJetSelection.EtMinMax                   = ReTaggedJetSelection_EtMinMax
 278   ReTaggedJetSelection.EtaMinMax                  = ReTaggedJetSelection_EtaMinMax 
 279   
 280 # Track selection
 281 
 282 if ExecuteTrackSelection:
 283 
 284   TrackSelection = TrackSelection("TrackSelection")
 285   Sequence += TrackSelection
 286   
 287   TrackSelection.OutputLevel = INFO
 288   
 289   TrackSelection.InputContainerName         = TrackSelection_InputContainerName
 290   TrackSelection.OutputContainerName        = TrackSelection_OutputContainerName
 291   TrackSelection.SelectionInfoContainerName = TrackSelection_SelectionInfoContainerName
 292   TrackSelection.OutputSelectionLabel       = TrackSelection_OutputSelectionLabel
 293   TrackSelection.InputSelectionLabel        = TrackSelection_InputSelectionLabel
 294   TrackSelection.PtMin                      = TrackSelection_PtMin
 295   TrackSelection.EtaMax                     = TrackSelection_EtaMax
 296   TrackSelection.PtRatioMin                 = TrackSelection_PtRatioMin
 297   TrackSelection.Chi2DoFMax                 = TrackSelection_Chi2DoFMax
 298   TrackSelection.LayerNumberMin             = TrackSelection_LayerNumberMin
 299   TrackSelection.HoleNumberMax              = TrackSelection_HoleNumberMax
 300 
 301 # Cluster selection
 302   
 303 if ExecuteClusterSelection:
 304 
 305   ClusterSelection = ClusterSelection("ClusterSelection")
 306   Sequence += ClusterSelection
 307   
 308   ClusterSelection.OutputLevel = INFO
 309   
 310   ClusterSelection.InputContainerName         = ClusterSelection_InputContainerName
 311   ClusterSelection.OutputContainerName        = ClusterSelection_OutputContainerName
 312   ClusterSelection.SelectionInfoContainerName = ClusterSelection_SelectionInfoContainerName
 313   ClusterSelection.OutputSelectionLabel       = ClusterSelection_OutputSelectionLabel
 314   ClusterSelection.InputSelectionLabel        = ClusterSelection_InputSelectionLabel
 315   ClusterSelection.PtMin                      = ClusterSelection_PtMin
 316   ClusterSelection.EtaMax                     = ClusterSelection_EtaMax
 317 
 318 # Vertex selection
 319   
 320 if ExecuteVertexSelection:
 321 
 322   VertexSelection = VertexSelection("VertexSelection")
 323   Sequence += VertexSelection
 324   
 325   VertexSelection.OutputLevel = INFO
 326   
 327   VertexSelection.InputContainerName         = VertexSelection_InputContainerName
 328   VertexSelection.OutputContainerName        = VertexSelection_OutputContainerName
 329   VertexSelection.SelectionInfoContainerName = VertexSelection_SelectionInfoContainerName
 330   VertexSelection.OutputSelectionLabel       = VertexSelection_OutputSelectionLabel
 331   VertexSelection.InputSelectionLabel        = VertexSelection_InputSelectionLabel
 332   VertexSelection.RtMax                      = VertexSelection_RtMax 
 333   
 334 
 335 # Reconstructed Object overlaps :
 336 
 337 # Overlap labelling
 338     
 339 RecoOverlapLabelling = OverlapLabelling("OverlapLabelling")
 340 Sequence += RecoOverlapLabelling
 341 
 342 RecoOverlapLabelling.OutputLevel = INFO
 343 
 344 RecoOverlapLabelling.ContainerName              = OverlapLabelling_ContainerName
 345 RecoOverlapLabelling.SelectionInfoContainerName = OverlapLabelling_SelectionInfoContainerName
 346 RecoOverlapLabelling.InputSelectionLabel        = OverlapLabelling_InputSelectionLabel
 347 RecoOverlapLabelling.OutputSelectionLabel       = OverlapLabelling_OutputSelectionLabel
 348 RecoOverlapLabelling.DeltaRMin                  = OverlapLabelling_DeltaRMin
 349 
 350 # Overlap removal
 351 
 352 if ExecuteOverlapRemoval:
 353 
 354   RecoOverlapRemoval = ParticleCombinedSelection("OverlapRemoval")
 355   Sequence += RecoOverlapRemoval
 356 
 357   RecoOverlapRemoval.OutputLevel = INFO
 358 
 359   RecoOverlapRemoval.InputContainerName         = OverlapRemoval_InputContainerName
 360   RecoOverlapRemoval.OutputContainerName        = OverlapRemoval_OutputContainerName
 361   RecoOverlapRemoval.SelectionInfoContainerName = OverlapRemoval_SelectionInfoContainerName
 362   RecoOverlapRemoval.AcceptedSelectionLabel     = OverlapRemoval_AcceptedSelectionLabel
 363   RecoOverlapRemoval.RequiredSelectionLabel     = OverlapRemoval_RequiredSelectionLabel
 364   RecoOverlapRemoval.RejectedSelectionLabel     = OverlapRemoval_RejectedSelectionLabel
 365   RecoOverlapRemoval.OutputSelectionLabel       = OverlapRemoval_OutputSelectionLabel
 366   
 367   
 368 # Normalization calculations
 369   
 370 NormalizationHistoMaker = NormalizationHistoMaker("NormalizationHistoMaker")
 371 Sequence += NormalizationHistoMaker
 372   
 373 NormalizationHistoMaker.OutputLevel = INFO
 374   
 375 NormalizationHistoMaker.HistogramName        = NormalizationHistoMaker_HistogramName
 376 NormalizationHistoMaker.McEventContainerName = NormalizationHistoMaker_McEventContainerName  
 377   
 378 
 379 # Truth Particle conversion
 380 
 381 if ExecuteTruthSelection:
 382 
 383   TruthParticleConverter = TruthParticleConverter("TruthParticleConverter")
 384   Sequence += TruthParticleConverter
 385   
 386   TruthParticleConverter.OutputLevel = INFO
 387   
 388   TruthParticleConverter.McEventContainerName       = TruthParticleConverter_McEventContainerName
 389   TruthParticleConverter.TruthParticleContainerName = TruthParticleConverter_TruthParticleContainerName
 390   
 391   
 392 # Truth Vertex selections, classifications and normalizations :
 393 
 394 if ExecuteTruthSelection:
 395 
 396 # Top Vertex selection
 397 
 398   TruthTopVertexSelection = TruthVertexSelection("TruthTopVertexSelection")
 399   Sequence += TruthTopVertexSelection
 400   
 401   TruthTopVertexSelection.OutputLevel = INFO
 402   
 403   TruthTopVertexSelection.InputContainerName         = TruthTopVertexSelection_InputContainerName
 404   TruthTopVertexSelection.OutputContainerName        = TruthTopVertexSelection_OutputContainerName
 405   TruthTopVertexSelection.SelectionInfoContainerName = TruthTopVertexSelection_SelectionInfoContainerName
 406   TruthTopVertexSelection.OutputSelectionLabel       = TruthTopVertexSelection_OutputSelectionLabel 
 407   TruthTopVertexSelection.DecayPattern               = TruthTopVertexSelection_DecayPattern
 408   TruthTopVertexSelection.PdgId                      = TruthTopVertexSelection_PdgId
 409   TruthTopVertexSelection.Status                     = TruthTopVertexSelection_Status
 410   TruthTopVertexSelection.VetoStatus                 = TruthTopVertexSelection_VetoStatus
 411   TruthTopVertexSelection.StableLeptonDecayOutput    = TruthTopVertexSelection_StableLeptonDecayOutput
 412   TruthTopVertexSelection.NoSelfDecayOutput          = TruthTopVertexSelection_NoSelfDecayOutput
 413 
 414 # W Vertex selection
 415     
 416   TruthWVertexSelection = TruthVertexSelection("TruthWVertexSelection")
 417   Sequence += TruthWVertexSelection
 418   
 419   TruthWVertexSelection.OutputLevel = INFO
 420   
 421   TruthWVertexSelection.InputContainerName         = TruthWVertexSelection_InputContainerName
 422   TruthWVertexSelection.OutputContainerName        = TruthWVertexSelection_OutputContainerName
 423   TruthWVertexSelection.SelectionInfoContainerName = TruthWVertexSelection_SelectionInfoContainerName
 424   TruthWVertexSelection.OutputSelectionLabel       = TruthWVertexSelection_OutputSelectionLabel 
 425   TruthWVertexSelection.DecayPattern               = TruthWVertexSelection_DecayPattern
 426   TruthWVertexSelection.PdgId                      = TruthWVertexSelection_PdgId
 427   TruthWVertexSelection.Status                     = TruthWVertexSelection_Status
 428   TruthWVertexSelection.VetoStatus                 = TruthWVertexSelection_VetoStatus
 429   TruthWVertexSelection.StableLeptonDecayOutput    = TruthWVertexSelection_StableLeptonDecayOutput
 430   TruthWVertexSelection.NoSelfDecayOutput          = TruthWVertexSelection_NoSelfDecayOutput
 431 
 432 # Z Vertex selection
 433       
 434   TruthZVertexSelection = TruthVertexSelection("TruthZVertexSelection")
 435   Sequence += TruthZVertexSelection
 436   
 437   TruthZVertexSelection.OutputLevel = INFO
 438   
 439   TruthZVertexSelection.InputContainerName         = TruthZVertexSelection_InputContainerName
 440   TruthZVertexSelection.OutputContainerName        = TruthZVertexSelection_OutputContainerName
 441   TruthZVertexSelection.SelectionInfoContainerName = TruthZVertexSelection_SelectionInfoContainerName
 442   TruthZVertexSelection.OutputSelectionLabel       = TruthZVertexSelection_OutputSelectionLabel 
 443   TruthZVertexSelection.DecayPattern               = TruthZVertexSelection_DecayPattern
 444   TruthZVertexSelection.PdgId                      = TruthZVertexSelection_PdgId
 445   TruthZVertexSelection.Status                     = TruthZVertexSelection_Status
 446   TruthZVertexSelection.VetoStatus                 = TruthZVertexSelection_VetoStatus
 447   TruthZVertexSelection.StableLeptonDecayOutput    = TruthZVertexSelection_StableLeptonDecayOutput
 448   TruthZVertexSelection.NoSelfDecayOutput          = TruthZVertexSelection_NoSelfDecayOutput
 449   
 450 # W Vertex classification and normalization
 451             
 452   WDecayClassification = WDecayClassification("WDecayClassification")
 453   Sequence += WDecayClassification
 454   
 455   WDecayClassification.OutputLevel = INFO
 456   
 457   WDecayClassification.VertexContainerName    = WDecayClassification_VertexContainerName
 458   WDecayClassification.McEventContainerName   = WDecayClassification_McEventContainerName
 459   WDecayClassification.HistogramName          = WDecayClassification_HistogramName
 460   WDecayClassification.EventInfoContainerName = WDecayClassification_EventInfoContainerName
 461   WDecayClassification.OutputEventLabel       = WDecayClassification_OutputEventLabel 
 462   WDecayClassification.ClassifyTauDecay       = WDecayClassification_ClassifyTauDecay
 463 
 464 # Z Vertex classification and normalization
 465   
 466   ZDecayClassification = ZDecayClassification("ZDecayClassification")
 467   Sequence += ZDecayClassification
 468   
 469   ZDecayClassification.OutputLevel = INFO
 470   
 471   ZDecayClassification.VertexContainerName    = ZDecayClassification_VertexContainerName
 472   ZDecayClassification.McEventContainerName   = ZDecayClassification_McEventContainerName
 473   ZDecayClassification.HistogramName          = ZDecayClassification_HistogramName
 474   ZDecayClassification.EventInfoContainerName = ZDecayClassification_EventInfoContainerName
 475   ZDecayClassification.OutputEventLabel       = ZDecayClassification_OutputEventLabel 
 476 
 477 # Top/W/Z Process classification and normalization
 478   
 479   TopWZProcessClassification = TopWZProcessClassification("TopWZProcessClassification")
 480   Sequence += TopWZProcessClassification
 481   
 482   TopWZProcessClassification.OutputLevel = INFO
 483   
 484   TopWZProcessClassification.TopVertexContainerName = TopWZProcessClassification_TopVertexContainerName
 485   TopWZProcessClassification.WVertexContainerName   = TopWZProcessClassification_WVertexContainerName
 486   TopWZProcessClassification.ZVertexContainerName   = TopWZProcessClassification_ZVertexContainerName
 487   TopWZProcessClassification.McEventContainerName   = TopWZProcessClassification_McEventContainerName
 488   TopWZProcessClassification.HistogramName          = TopWZProcessClassification_HistogramName
 489   TopWZProcessClassification.EventInfoContainerName = TopWZProcessClassification_EventInfoContainerName
 490   TopWZProcessClassification.OutputEventLabel       = TopWZProcessClassification_OutputEventLabel 
 491 
 492 
 493 # Event selections :
 494 
 495 # Trigger Decision selection
 496 
 497 if ExecuteTriggerDecisionFilter:
 498 
 499   TriggerDecisionFilter = TriggerDecisionFilter("TriggerDecisionFilter")
 500   Sequence += TriggerDecisionFilter
 501   
 502   TriggerDecisionFilter.OutputLevel = INFO
 503   
 504   TriggerDecisionFilter.AcceptedChainName      = TriggerDecisionFilter_AcceptedChainName
 505   TriggerDecisionFilter.EventInfoContainerName = TriggerDecisionFilter_EventInfoContainerName
 506   TriggerDecisionFilter.OutputFilterLabel      = TriggerDecisionFilter_OutputFilterLabel
 507 
 508 # Topology selection
 509 
 510 if ExecuteEventFilter:
 511               
 512   EventSelection = EventFilter("EventSelection")
 513   Sequence += EventSelection
 514 
 515   EventSelection.OutputLevel = INFO
 516 
 517   EventSelection.MissingEtName          = EventSelection_MissingEtName
 518   EventSelection.ContainerName          = EventSelection_ContainerName
 519   EventSelection.MissingEtMin           = EventSelection_MissingEtMin
 520   EventSelection.PtMin                  = EventSelection_PtMin
 521   EventSelection.PtMax                  = EventSelection_PtMax
 522   EventSelection.EtaMin                 = EventSelection_EtaMin
 523   EventSelection.NumberMinMax           = EventSelection_NumberMinMax
 524   EventSelection.EventInfoContainerName = EventSelection_EventInfoContainerName
 525   EventSelection.OutputFilterLabel      = EventSelection_OutputFilterLabel
 526 
 527 
 528 # User Data calculations :
 529 
 530 # Topological variables
 531 
 532 EventVariables = EventVariables("EventVariables")
 533 Sequence += EventVariables
 534 
 535 EventVariables.OutputLevel = INFO
 536 
 537 EventVariables.ContainerName              = EventVariables_ContainerName
 538 EventVariables.SelectionInfoContainerName = EventVariables_SelectionInfoContainerName 
 539 EventVariables.InputSelectionLabel        = EventVariables_InputSelectionLabel 
 540 EventVariables.EventInfoContainerName     = EventVariables_EventInfoContainerName
 541 EventVariables.VariableLabel              = EventVariables_VariableLabel
 542 
 543 
 544 # Raw Object selections :
 545 
 546 # Cell selection
 547 
 548 if ExecuteCellSelection:
 549 
 550   CellSelection = CellSelection("CellSelection")
 551   Sequence += CellSelection
 552   
 553   CellSelection.OutputLevel = INFO
 554   
 555   CellSelection.InputContainerName  = CellSelection_InputContainerName
 556   CellSelection.OutputContainerName = CellSelection_OutputContainerName
 557   CellSelection.EtMin               = CellSelection_EtMin
 558   
 559 # Tower selection
 560   
 561 if ExecuteTowerSelection: 
 562  
 563   TowerSelection = TowerSelection("TowerSelection")
 564   Sequence += TowerSelection  
 565   
 566   TowerSelection.OutputLevel = INFO
 567   
 568   TowerSelection.InputContainerName  = TowerSelection_InputContainerName
 569   TowerSelection.OutputContainerName = TowerSelection_OutputContainerName
 570   TowerSelection.EMin                = TowerSelection_EMin
 571   
 572 
 573 # Reconstructed Object links and associations :
 574 
 575 if ExecuteRecoAssociation:
 576 
 577 # Track and Photon/Electron/Muon/TauJet links
 578 
 579   if ExecuteTrackSelection:
 580   
 581     TrackAssociation = TrackAssociationLabelling("TrackAssociation")
 582     Sequence += TrackAssociation
 583   
 584     TrackAssociation.OutputLevel = INFO
 585   
 586     TrackAssociation.ContainerName                        = TrackAssociation_ContainerName
 587     TrackAssociation.SelectionInfoContainerName           = TrackAssociation_SelectionInfoContainerName
 588     TrackAssociation.InputSelectionLabel                  = TrackAssociation_InputSelectionLabel
 589     TrackAssociation.AssociationInfoContainerName         = TrackAssociation_AssociationInfoContainerName
 590     TrackAssociation.OutputAssociationLabel               = TrackAssociation_OutputAssociationLabel
 591     TrackAssociation.AssociatedContainerName              = TrackAssociation_AssociatedContainerName
 592     TrackAssociation.AssociatedSelectionInfoContainerName = TrackAssociation_AssociatedSelectionInfoContainerName
 593     TrackAssociation.AssociatedInputSelectionLabel        = TrackAssociation_AssociatedInputSelectionLabel
 594 
 595 # Track and PhotonConversion/PrimaryVertex links
 596 
 597   if ExecuteTrackSelection:
 598     
 599     TrackAtVertexAssociation = TrackAtVertexAssociationLabelling("TrackAtVertexAssociation")
 600     Sequence += TrackAtVertexAssociation  
 601   
 602     TrackAtVertexAssociation.OutputLevel = INFO
 603   
 604     TrackAtVertexAssociation.ContainerName                        = TrackAtVertexAssociation_ContainerName
 605     TrackAtVertexAssociation.SelectionInfoContainerName           = TrackAtVertexAssociation_SelectionInfoContainerName
 606     TrackAtVertexAssociation.InputSelectionLabel                  = TrackAtVertexAssociation_InputSelectionLabel
 607     TrackAtVertexAssociation.AssociationInfoContainerName         = TrackAtVertexAssociation_AssociationInfoContainerName
 608     TrackAtVertexAssociation.OutputAssociationLabel               = TrackAtVertexAssociation_OutputAssociationLabel
 609     TrackAtVertexAssociation.AssociatedContainerName              = TrackAtVertexAssociation_AssociatedContainerName
 610     TrackAtVertexAssociation.AssociatedSelectionInfoContainerName = TrackAtVertexAssociation_AssociatedSelectionInfoContainerName
 611     TrackAtVertexAssociation.AssociatedInputSelectionLabel        = TrackAtVertexAssociation_AssociatedInputSelectionLabel
 612 
 613 # Cluster and Photon/Electron/Muon/TauJet links
 614 
 615   if ExecuteClusterSelection:
 616   
 617     ClusterAssociation = ClusterAssociationLabelling("ClusterAssociation")
 618     Sequence += ClusterAssociation
 619   
 620     ClusterAssociation.OutputLevel = INFO
 621   
 622     ClusterAssociation.ContainerName                        = ClusterAssociation_ContainerName
 623     ClusterAssociation.SelectionInfoContainerName           = ClusterAssociation_SelectionInfoContainerName
 624     ClusterAssociation.InputSelectionLabel                  = ClusterAssociation_InputSelectionLabel
 625     ClusterAssociation.AssociationInfoContainerName         = ClusterAssociation_AssociationInfoContainerName
 626     ClusterAssociation.OutputAssociationLabel               = ClusterAssociation_OutputAssociationLabel
 627     ClusterAssociation.AssociatedContainerName              = ClusterAssociation_AssociatedContainerName
 628     ClusterAssociation.AssociatedSelectionInfoContainerName = ClusterAssociation_AssociatedSelectionInfoContainerName
 629     ClusterAssociation.AssociatedInputSelectionLabel        = ClusterAssociation_AssociatedInputSelectionLabel
 630  
 631 # Track/Cluster and Electron/Muon/Jet associations
 632     
 633   if ExecuteTrackSelection or ExecuteClusterSelection:
 634   
 635     RecoAssociation = AssociationLabelling("Association")
 636     Sequence += RecoAssociation
 637   
 638     RecoAssociation.OutputLevel = INFO
 639   
 640     RecoAssociation.ContainerName                        = Association_ContainerName
 641     RecoAssociation.SelectionInfoContainerName           = Association_SelectionInfoContainerName
 642     RecoAssociation.InputSelectionLabel                  = Association_InputSelectionLabel
 643     RecoAssociation.AssociationInfoContainerName         = Association_AssociationInfoContainerName
 644     RecoAssociation.OutputAssociationLabel               = Association_OutputAssociationLabel
 645     RecoAssociation.DeltaRMax                            = Association_DeltaRMax
 646     RecoAssociation.AssociatedContainerName              = Association_AssociatedContainerName
 647     RecoAssociation.AssociatedSelectionInfoContainerName = Association_AssociatedSelectionInfoContainerName
 648     RecoAssociation.AssociatedInputSelectionLabel        = Association_AssociatedInputSelectionLabel
 649     RecoAssociation.HighestAssociation                   = Association_HighestAssociation 
 650 
 651 
 652 # Reconstructed Object link/association combination
 653 
 654   if ExecuteTrackSelection or ExecuteClusterSelection:
 655 
 656     RecoAssociationToSelection = AssociationToSelectionInfo("AssociationToSelection")
 657     Sequence += RecoAssociationToSelection
 658   
 659     RecoAssociationToSelection.OutputLevel = INFO
 660   
 661     RecoAssociationToSelection.AssociationInfoContainerName = AssociationToSelection_AssociationInfoContainerName
 662     RecoAssociationToSelection.SelectionInfoContainerName   = AssociationToSelection_SelectionInfoContainerName
 663     RecoAssociationToSelection.AssociationLabelToTransform  = AssociationToSelection_AssociationLabelToTransform 
 664 
 665     RecoAssociationCombination = ParticleCombinedSelection("AssociationCombination")
 666     Sequence += RecoAssociationCombination
 667   
 668     RecoAssociationCombination.OutputLevel = INFO
 669   
 670     RecoAssociationCombination.InputContainerName         = AssociationCombination_InputContainerName
 671     RecoAssociationCombination.OutputContainerName        = AssociationCombination_OutputContainerName
 672     RecoAssociationCombination.SelectionInfoContainerName = AssociationCombination_SelectionInfoContainerName
 673     RecoAssociationCombination.AcceptedSelectionLabel     = AssociationCombination_AcceptedSelectionLabel
 674     RecoAssociationCombination.RequiredSelectionLabel     = AssociationCombination_RequiredSelectionLabel
 675     RecoAssociationCombination.RejectedSelectionLabel     = AssociationCombination_RejectedSelectionLabel
 676     RecoAssociationCombination.OutputSelectionLabel       = AssociationCombination_OutputSelectionLabel 
 677 
 678 
 679 # Trigger Object selections
 680 
 681 # Level 1 Object selection (with/without Decision filtering)
 682         
 683 if ExecuteTriggerSelection or ExecuteDecisionSelection:
 684 
 685   L1TriggerSelection = L1TriggerSelection("L1TriggerSelection")
 686   Sequence += L1TriggerSelection
 687   
 688   L1TriggerSelection.OutputLevel = INFO
 689   
 690   L1TriggerSelection.Level1Name          = L1TriggerSelection_Level1Name
 691   L1TriggerSelection.OutputContainerName = L1TriggerSelection_OutputContainerName
 692   L1TriggerSelection.ThresholdName       = L1TriggerSelection_ThresholdName
 693     
 694 # Level 2 Object selection (without Decision filtering)
 695   
 696 if ExecuteTriggerSelection:
 697 
 698   L2TriggerSelection = L2TriggerSelection("L2TriggerSelection")
 699   Sequence += L2TriggerSelection
 700   
 701   L2TriggerSelection.OutputLevel = INFO
 702   
 703   L2TriggerSelection.OutputContainerName = L2TriggerSelection_OutputContainerName
 704   L2TriggerSelection.AcceptedKey         = L2TriggerSelection_AcceptedKey
 705   L2TriggerSelection.AuthorCode          = L2TriggerSelection_AuthorCode
 706   L2TriggerSelection.OverlapRemoval      = L2TriggerSelection_OverlapRemoval
 707   L2TriggerSelection.HighestInsertion    = L2TriggerSelection_HighestInsertion
 708   L2TriggerSelection.OverlapCut          = L2TriggerSelection_OverlapCut
 709   
 710 # Event Filter Object selection (without Decision filtering)
 711 
 712 if ExecuteTriggerSelection:
 713   
 714   EFTriggerSelection = EFTriggerSelection("EFTriggerSelection")
 715   Sequence += EFTriggerSelection
 716   
 717   EFTriggerSelection.OutputLevel = INFO
 718   
 719   EFTriggerSelection.OutputContainerName = EFTriggerSelection_OutputContainerName
 720   EFTriggerSelection.AcceptedKey         = EFTriggerSelection_AcceptedKey
 721   EFTriggerSelection.OverlapRemoval      = EFTriggerSelection_OverlapRemoval
 722   EFTriggerSelection.HighestInsertion    = EFTriggerSelection_HighestInsertion
 723   EFTriggerSelection.OverlapCut          = EFTriggerSelection_OverlapCut
 724 
 725 # Level 2 Object selection (with Decision filtering)
 726     
 727 if ExecuteDecisionSelection:
 728 
 729   L2DecisionSelection = L2DecisionSelection("L2DecisionSelection")
 730   Sequence += L2DecisionSelection
 731   
 732   L2DecisionSelection.OutputLevel = INFO
 733   
 734   L2DecisionSelection.OutputContainerName = L2DecisionSelection_OutputContainerName
 735   L2DecisionSelection.ChainName           = L2DecisionSelection_ChainName
 736   L2DecisionSelection.AuthorCode          = L2DecisionSelection_AuthorCode
 737   L2DecisionSelection.HighestInsertion    = L2DecisionSelection_HighestInsertion
 738 
 739 # Event Filter Object selection (with Decision filtering)
 740   
 741 if ExecuteDecisionSelection:
 742   
 743   EFDecisionSelection = EFDecisionSelection("EFDecisionSelection")
 744   Sequence += EFDecisionSelection
 745   
 746   EFDecisionSelection.OutputLevel = INFO
 747   
 748   EFDecisionSelection.OutputContainerName = EFDecisionSelection_OutputContainerName
 749   EFDecisionSelection.ChainName           = EFDecisionSelection_ChainName
 750   EFDecisionSelection.HighestInsertion    = EFDecisionSelection_HighestInsertion  
 751   
 752 
 753 # Reconstructed and Trigger Object associations (without Decision filtering) :
 754 
 755 if ExecuteTriggerSelection and ExecuteRecoToTriggerAssociation:
 756 
 757 # Electron and L1 EmTau/L2 Electron/EF Egamma association
 758   
 759   ElectronTriggerAssociation = RecoToTriggerAssociationLabelling("ElectronTriggerAssociation")
 760   Sequence += ElectronTriggerAssociation
 761   
 762   ElectronTriggerAssociation.OutputLevel = INFO
 763   
 764   ElectronTriggerAssociation.ContainerName                = ElectronTriggerAssociation_ContainerName
 765   ElectronTriggerAssociation.SelectionInfoContainerName   = ElectronTriggerAssociation_SelectionInfoContainerName
 766   ElectronTriggerAssociation.InputSelectionLabel          = ElectronTriggerAssociation_InputSelectionLabel
 767   ElectronTriggerAssociation.AssociationInfoContainerName = ElectronTriggerAssociation_AssociationInfoContainerName
 768   ElectronTriggerAssociation.OutputAssociationLabel       = ElectronTriggerAssociation_OutputAssociationLabel
 769   ElectronTriggerAssociation.DeltaRMax                    = ElectronTriggerAssociation_DeltaRMax
 770   ElectronTriggerAssociation.AssociatedContainerName      = ElectronTriggerAssociation_AssociatedContainerName
 771     
 772 # Muon and L1 Muon/L2 MuonEF Muon association
 773     
 774   MuonTriggerAssociation = RecoToTriggerAssociationLabelling("MuonTriggerAssociation")
 775   Sequence += MuonTriggerAssociation
 776   
 777   MuonTriggerAssociation.OutputLevel = INFO
 778   
 779   MuonTriggerAssociation.ContainerName                = MuonTriggerAssociation_ContainerName
 780   MuonTriggerAssociation.SelectionInfoContainerName   = MuonTriggerAssociation_SelectionInfoContainerName
 781   MuonTriggerAssociation.InputSelectionLabel          = MuonTriggerAssociation_InputSelectionLabel
 782   MuonTriggerAssociation.AssociationInfoContainerName = MuonTriggerAssociation_AssociationInfoContainerName  
 783   MuonTriggerAssociation.OutputAssociationLabel       = MuonTriggerAssociation_OutputAssociationLabel
 784   MuonTriggerAssociation.DeltaRMax                    = MuonTriggerAssociation_DeltaRMax
 785   MuonTriggerAssociation.AssociatedContainerName      = MuonTriggerAssociation_AssociatedContainerName
 786 
 787 # Photon and L1 EmTau/L2 Photon/EF Egamma association
 788     
 789   PhotonTriggerAssociation = RecoToTriggerAssociationLabelling("PhotonTriggerAssociation")
 790   Sequence += PhotonTriggerAssociation
 791   
 792   PhotonTriggerAssociation.OutputLevel = INFO
 793   
 794   PhotonTriggerAssociation.ContainerName                = PhotonTriggerAssociation_ContainerName
 795   PhotonTriggerAssociation.SelectionInfoContainerName   = PhotonTriggerAssociation_SelectionInfoContainerName
 796   PhotonTriggerAssociation.InputSelectionLabel          = PhotonTriggerAssociation_InputSelectionLabel
 797   PhotonTriggerAssociation.AssociationInfoContainerName = PhotonTriggerAssociation_AssociationInfoContainerName
 798   PhotonTriggerAssociation.OutputAssociationLabel       = PhotonTriggerAssociation_OutputAssociationLabel
 799   PhotonTriggerAssociation.DeltaRMax                    = PhotonTriggerAssociation_DeltaRMax
 800   PhotonTriggerAssociation.AssociatedContainerName      = PhotonTriggerAssociation_AssociatedContainerName
 801 
 802 # Tau Jet and L1 EmTau/L2 Tau/EF Tau Jet association
 803     
 804   TauTriggerAssociation = RecoToTriggerAssociationLabelling("TauTriggerAssociation")
 805   Sequence += TauTriggerAssociation
 806   
 807   TauTriggerAssociation.OutputLevel = INFO
 808   
 809   TauTriggerAssociation.ContainerName                = TauTriggerAssociation_ContainerName
 810   TauTriggerAssociation.SelectionInfoContainerName   = TauTriggerAssociation_SelectionInfoContainerName
 811   TauTriggerAssociation.InputSelectionLabel          = TauTriggerAssociation_InputSelectionLabel
 812   TauTriggerAssociation.AssociationInfoContainerName = TauTriggerAssociation_AssociationInfoContainerName
 813   TauTriggerAssociation.OutputAssociationLabel       = TauTriggerAssociation_OutputAssociationLabel
 814   TauTriggerAssociation.DeltaRMax                    = TauTriggerAssociation_DeltaRMax
 815   TauTriggerAssociation.AssociatedContainerName      = TauTriggerAssociation_AssociatedContainerName
 816   
 817 # Jet and L1 Jet/L2 Jet/EF Jet association
 818     
 819   JetTriggerAssociation = RecoToTriggerAssociationLabelling("JetTriggerAssociation")
 820   Sequence += JetTriggerAssociation
 821   
 822   JetTriggerAssociation.OutputLevel = INFO
 823   
 824   JetTriggerAssociation.ContainerName                = JetTriggerAssociation_ContainerName
 825   JetTriggerAssociation.SelectionInfoContainerName   = JetTriggerAssociation_SelectionInfoContainerName
 826   JetTriggerAssociation.InputSelectionLabel          = JetTriggerAssociation_InputSelectionLabel
 827   JetTriggerAssociation.AssociationInfoContainerName = JetTriggerAssociation_AssociationInfoContainerName
 828   JetTriggerAssociation.OutputAssociationLabel       = JetTriggerAssociation_OutputAssociationLabel
 829   JetTriggerAssociation.DeltaRMax                    = JetTriggerAssociation_DeltaRMax
 830   JetTriggerAssociation.AssociatedContainerName      = JetTriggerAssociation_AssociatedContainerName
 831 
 832 # Tagged Jet and L2 BJet/EF BJet association
 833     
 834   TaggedJetTriggerAssociation = RecoToTriggerAssociationLabelling("TaggedJetTriggerAssociation")
 835   Sequence += TaggedJetTriggerAssociation
 836   
 837   TaggedJetTriggerAssociation.OutputLevel = INFO
 838   
 839   TaggedJetTriggerAssociation.ContainerName                = TaggedJetTriggerAssociation_ContainerName
 840   TaggedJetTriggerAssociation.SelectionInfoContainerName   = TaggedJetTriggerAssociation_SelectionInfoContainerName
 841   TaggedJetTriggerAssociation.InputSelectionLabel          = TaggedJetTriggerAssociation_InputSelectionLabel
 842   TaggedJetTriggerAssociation.AssociationInfoContainerName = TaggedJetTriggerAssociation_AssociationInfoContainerName
 843   TaggedJetTriggerAssociation.OutputAssociationLabel       = TaggedJetTriggerAssociation_OutputAssociationLabel
 844   TaggedJetTriggerAssociation.DeltaRMax                    = TaggedJetTriggerAssociation_DeltaRMax
 845   TaggedJetTriggerAssociation.AssociatedContainerName      = TaggedJetTriggerAssociation_AssociatedContainerName
 846 
 847 
 848 # Reconstructed and Trigger Object associations (with Decision filtering) :
 849 
 850 if ExecuteDecisionSelection and ExecuteRecoToTriggerAssociation:
 851 
 852 # Electron and L1 EmTau/L2 Electron/EF Electron association
 853   
 854   ElectronDecisionAssociation = RecoToTriggerAssociationLabelling("ElectronDecisionAssociation")
 855   Sequence += ElectronDecisionAssociation
 856   
 857   ElectronDecisionAssociation.OutputLevel = INFO
 858   
 859   ElectronDecisionAssociation.ContainerName                = ElectronDecisionAssociation_ContainerName
 860   ElectronDecisionAssociation.SelectionInfoContainerName   = ElectronDecisionAssociation_SelectionInfoContainerName
 861   ElectronDecisionAssociation.InputSelectionLabel          = ElectronDecisionAssociation_InputSelectionLabel
 862   ElectronDecisionAssociation.AssociationInfoContainerName = ElectronDecisionAssociation_AssociationInfoContainerName
 863   ElectronDecisionAssociation.OutputAssociationLabel       = ElectronDecisionAssociation_OutputAssociationLabel
 864   ElectronDecisionAssociation.DeltaRMax                    = ElectronDecisionAssociation_DeltaRMax
 865   ElectronDecisionAssociation.AssociatedContainerName      = ElectronDecisionAssociation_AssociatedContainerName
 866     
 867 # Muon and L1 Muon/L2 Muon/EF Muon association
 868     
 869   MuonDecisionAssociation = RecoToTriggerAssociationLabelling("MuonDecisionAssociation")
 870   Sequence += MuonDecisionAssociation
 871   
 872   MuonDecisionAssociation.OutputLevel = INFO
 873   
 874   MuonDecisionAssociation.ContainerName                = MuonDecisionAssociation_ContainerName
 875   MuonDecisionAssociation.SelectionInfoContainerName   = MuonDecisionAssociation_SelectionInfoContainerName
 876   MuonDecisionAssociation.InputSelectionLabel          = MuonDecisionAssociation_InputSelectionLabel
 877   MuonDecisionAssociation.AssociationInfoContainerName = MuonDecisionAssociation_AssociationInfoContainerName
 878   MuonDecisionAssociation.OutputAssociationLabel       = MuonDecisionAssociation_OutputAssociationLabel
 879   MuonDecisionAssociation.DeltaRMax                    = MuonDecisionAssociation_DeltaRMax
 880   MuonDecisionAssociation.AssociatedContainerName      = MuonDecisionAssociation_AssociatedContainerName
 881   
 882 # Photon and L1 EmTau/L2 Photon association
 883     
 884   PhotonDecisionAssociation = RecoToTriggerAssociationLabelling("PhotonDecisionAssociation")
 885   Sequence += PhotonDecisionAssociation
 886   
 887   PhotonDecisionAssociation.OutputLevel = INFO
 888   
 889   PhotonDecisionAssociation.ContainerName                = PhotonDecisionAssociation_ContainerName
 890   PhotonDecisionAssociation.SelectionInfoContainerName   = PhotonDecisionAssociation_SelectionInfoContainerName
 891   PhotonDecisionAssociation.InputSelectionLabel          = PhotonDecisionAssociation_InputSelectionLabel
 892   PhotonDecisionAssociation.AssociationInfoContainerName = PhotonDecisionAssociation_AssociationInfoContainerName
 893   PhotonDecisionAssociation.OutputAssociationLabel       = PhotonDecisionAssociation_OutputAssociationLabel
 894   PhotonDecisionAssociation.DeltaRMax                    = PhotonDecisionAssociation_DeltaRMax
 895   PhotonDecisionAssociation.AssociatedContainerName      = PhotonDecisionAssociation_AssociatedContainerName
 896 
 897 # Tau Jet and L1 EmTau/L2 Tau/EF Tau Jet association
 898     
 899   TauDecisionAssociation = RecoToTriggerAssociationLabelling("TauDecisionAssociation")
 900   Sequence += TauDecisionAssociation
 901   
 902   TauDecisionAssociation.OutputLevel = INFO
 903   
 904   TauDecisionAssociation.ContainerName                = TauDecisionAssociation_ContainerName
 905   TauDecisionAssociation.SelectionInfoContainerName   = TauDecisionAssociation_SelectionInfoContainerName
 906   TauDecisionAssociation.InputSelectionLabel          = TauDecisionAssociation_InputSelectionLabel
 907   TauDecisionAssociation.AssociationInfoContainerName = TauDecisionAssociation_AssociationInfoContainerName
 908   TauDecisionAssociation.OutputAssociationLabel       = TauDecisionAssociation_OutputAssociationLabel
 909   TauDecisionAssociation.DeltaRMax                    = TauDecisionAssociation_DeltaRMax
 910   TauDecisionAssociation.AssociatedContainerName      = TauDecisionAssociation_AssociatedContainerName
 911   
 912 # Jet and L1 Jet/L2 Jet/EF Jet association
 913     
 914   JetDecisionAssociation = RecoToTriggerAssociationLabelling("JetDecisionAssociation")
 915   Sequence += JetDecisionAssociation
 916   
 917   JetDecisionAssociation.OutputLevel = INFO
 918   
 919   JetDecisionAssociation.ContainerName                = JetDecisionAssociation_ContainerName
 920   JetDecisionAssociation.SelectionInfoContainerName   = JetDecisionAssociation_SelectionInfoContainerName
 921   JetDecisionAssociation.InputSelectionLabel          = JetDecisionAssociation_InputSelectionLabel
 922   JetDecisionAssociation.AssociationInfoContainerName = JetDecisionAssociation_AssociationInfoContainerName
 923   JetDecisionAssociation.OutputAssociationLabel       = JetDecisionAssociation_OutputAssociationLabel
 924   JetDecisionAssociation.DeltaRMax                    = JetDecisionAssociation_DeltaRMax
 925   JetDecisionAssociation.AssociatedContainerName      = JetDecisionAssociation_AssociatedContainerName
 926 
 927 
 928 # Trigger and Reconstructed Object associations (without Decision filtering) :
 929 
 930 if ExecuteTriggerSelection and ExecuteTriggerToRecoAssociation:
 931 
 932 # L1 EmTau and Electron/Photon/Tau Jet association
 933   
 934   L1TriggerEmTauAssociation = TriggerToRecoAssociationLabelling("L1TriggerEmTauAssociation")
 935   Sequence += L1TriggerEmTauAssociation
 936   
 937   L1TriggerEmTauAssociation.OutputLevel = INFO
 938   
 939   L1TriggerEmTauAssociation.ContainerName                        = L1TriggerEmTauAssociation_ContainerName
 940   L1TriggerEmTauAssociation.AssociationInfoContainerName         = L1TriggerEmTauAssociation_AssociationInfoContainerName
 941   L1TriggerEmTauAssociation.OutputAssociationLabel               = L1TriggerEmTauAssociation_OutputAssociationLabel
 942   L1TriggerEmTauAssociation.DeltaRMax                            = L1TriggerEmTauAssociation_DeltaRMax
 943   L1TriggerEmTauAssociation.AssociatedContainerName              = L1TriggerEmTauAssociation_AssociatedContainerName   
 944   L1TriggerEmTauAssociation.AssociatedSelectionInfoContainerName = L1TriggerEmTauAssociation_AssociatedSelectionInfoContainerName
 945   L1TriggerEmTauAssociation.AssociatedInputSelectionLabel        = L1TriggerEmTauAssociation_AssociatedInputSelectionLabel  
 946 
 947 # L1 Muon and Muon association
 948   
 949   L1TriggerMuonAssociation = TriggerToRecoAssociationLabelling("L1TriggerMuonAssociation")
 950   Sequence += L1TriggerMuonAssociation
 951   
 952   L1TriggerMuonAssociation.OutputLevel = INFO
 953   
 954   L1TriggerMuonAssociation.ContainerName                        = L1TriggerMuonAssociation_ContainerName
 955   L1TriggerMuonAssociation.AssociationInfoContainerName         = L1TriggerMuonAssociation_AssociationInfoContainerName
 956   L1TriggerMuonAssociation.OutputAssociationLabel               = L1TriggerMuonAssociation_OutputAssociationLabel
 957   L1TriggerMuonAssociation.DeltaRMax                            = L1TriggerMuonAssociation_DeltaRMax
 958   L1TriggerMuonAssociation.AssociatedContainerName              = L1TriggerMuonAssociation_AssociatedContainerName   
 959   L1TriggerMuonAssociation.AssociatedSelectionInfoContainerName = L1TriggerMuonAssociation_AssociatedSelectionInfoContainerName
 960   L1TriggerMuonAssociation.AssociatedInputSelectionLabel        = L1TriggerMuonAssociation_AssociatedInputSelectionLabel  
 961 
 962 # L1 Jet and Jet/Tagged Jet association
 963   
 964   L1TriggerJetAssociation = TriggerToRecoAssociationLabelling("L1TriggerJetAssociation")
 965   Sequence += L1TriggerJetAssociation
 966   
 967   L1TriggerJetAssociation.OutputLevel = INFO
 968   
 969   L1TriggerJetAssociation.ContainerName                        = L1TriggerJetAssociation_ContainerName
 970   L1TriggerJetAssociation.AssociationInfoContainerName         = L1TriggerJetAssociation_AssociationInfoContainerName
 971   L1TriggerJetAssociation.OutputAssociationLabel               = L1TriggerJetAssociation_OutputAssociationLabel
 972   L1TriggerJetAssociation.DeltaRMax                            = L1TriggerJetAssociation_DeltaRMax
 973   L1TriggerJetAssociation.AssociatedContainerName              = L1TriggerJetAssociation_AssociatedContainerName   
 974   L1TriggerJetAssociation.AssociatedSelectionInfoContainerName = L1TriggerJetAssociation_AssociatedSelectionInfoContainerName
 975   L1TriggerJetAssociation.AssociatedInputSelectionLabel        = L1TriggerJetAssociation_AssociatedInputSelectionLabel 
 976 
 977 # L2 Electron and Electron association
 978   
 979   L2TriggerElectronAssociation = TriggerToRecoAssociationLabelling("L2TriggerElectronAssociation")
 980   Sequence += L2TriggerElectronAssociation
 981   
 982   L2TriggerElectronAssociation.OutputLevel = INFO
 983   
 984   L2TriggerElectronAssociation.ContainerName                        = L2TriggerElectronAssociation_ContainerName
 985   L2TriggerElectronAssociation.AssociationInfoContainerName         = L2TriggerElectronAssociation_AssociationInfoContainerName
 986   L2TriggerElectronAssociation.OutputAssociationLabel               = L2TriggerElectronAssociation_OutputAssociationLabel
 987   L2TriggerElectronAssociation.DeltaRMax                            = L2TriggerElectronAssociation_DeltaRMax
 988   L2TriggerElectronAssociation.AssociatedContainerName              = L2TriggerElectronAssociation_AssociatedContainerName   
 989   L2TriggerElectronAssociation.AssociatedSelectionInfoContainerName = L2TriggerElectronAssociation_AssociatedSelectionInfoContainerName
 990   L2TriggerElectronAssociation.AssociatedInputSelectionLabel        = L2TriggerElectronAssociation_AssociatedInputSelectionLabel 
 991 
 992 # L2 Muon and Muon association
 993   
 994   L2TriggerMuonAssociation = TriggerToRecoAssociationLabelling("L2TriggerMuonAssociation")
 995   Sequence += L2TriggerMuonAssociation
 996   
 997   L2TriggerMuonAssociation.OutputLevel = INFO
 998   
 999   L2TriggerMuonAssociation.ContainerName                        = L2TriggerMuonAssociation_ContainerName
1000   L2TriggerMuonAssociation.AssociationInfoContainerName         = L2TriggerMuonAssociation_AssociationInfoContainerName
1001   L2TriggerMuonAssociation.OutputAssociationLabel               = L2TriggerMuonAssociation_OutputAssociationLabel
1002   L2TriggerMuonAssociation.DeltaRMax                            = L2TriggerMuonAssociation_DeltaRMax
1003   L2TriggerMuonAssociation.AssociatedContainerName              = L2TriggerMuonAssociation_AssociatedContainerName   
1004   L2TriggerMuonAssociation.AssociatedSelectionInfoContainerName = L2TriggerMuonAssociation_AssociatedSelectionInfoContainerName
1005   L2TriggerMuonAssociation.AssociatedInputSelectionLabel        = L2TriggerMuonAssociation_AssociatedInputSelectionLabel 
1006 
1007 # L2 Photon and Photon association
1008   
1009   L2TriggerPhotonAssociation = TriggerToRecoAssociationLabelling("L2TriggerPhotonAssociation")
1010   Sequence += L2TriggerPhotonAssociation
1011   
1012   L2TriggerPhotonAssociation.OutputLevel = INFO
1013   
1014   L2TriggerPhotonAssociation.ContainerName                        = L2TriggerPhotonAssociation_ContainerName
1015   L2TriggerPhotonAssociation.AssociationInfoContainerName         = L2TriggerPhotonAssociation_AssociationInfoContainerName
1016   L2TriggerPhotonAssociation.OutputAssociationLabel               = L2TriggerPhotonAssociation_OutputAssociationLabel
1017   L2TriggerPhotonAssociation.DeltaRMax                            = L2TriggerPhotonAssociation_DeltaRMax
1018   L2TriggerPhotonAssociation.AssociatedContainerName              = L2TriggerPhotonAssociation_AssociatedContainerName   
1019   L2TriggerPhotonAssociation.AssociatedSelectionInfoContainerName = L2TriggerPhotonAssociation_AssociatedSelectionInfoContainerName
1020   L2TriggerPhotonAssociation.AssociatedInputSelectionLabel        = L2TriggerPhotonAssociation_AssociatedInputSelectionLabel 
1021 
1022 # L2 Tau and Tau Jet association
1023   
1024   L2TriggerTauAssociation = TriggerToRecoAssociationLabelling("L2TriggerTauAssociation")
1025   Sequence += L2TriggerTauAssociation
1026   
1027   L2TriggerTauAssociation.OutputLevel = INFO
1028   
1029   L2TriggerTauAssociation.ContainerName                        = L2TriggerTauAssociation_ContainerName
1030   L2TriggerTauAssociation.AssociationInfoContainerName         = L2TriggerTauAssociation_AssociationInfoContainerName
1031   L2TriggerTauAssociation.OutputAssociationLabel               = L2TriggerTauAssociation_OutputAssociationLabel
1032   L2TriggerTauAssociation.DeltaRMax                            = L2TriggerTauAssociation_DeltaRMax
1033   L2TriggerTauAssociation.AssociatedContainerName              = L2TriggerTauAssociation_AssociatedContainerName   
1034   L2TriggerTauAssociation.AssociatedSelectionInfoContainerName = L2TriggerTauAssociation_AssociatedSelectionInfoContainerName
1035   L2TriggerTauAssociation.AssociatedInputSelectionLabel        = L2TriggerTauAssociation_AssociatedInputSelectionLabel 
1036 
1037 # L2 Jet and Jet association
1038   
1039   L2TriggerJetAssociation = TriggerToRecoAssociationLabelling("L2TriggerJetAssociation")
1040   Sequence += L2TriggerJetAssociation
1041   
1042   L2TriggerJetAssociation.OutputLevel = INFO
1043   
1044   L2TriggerJetAssociation.ContainerName                        = L2TriggerJetAssociation_ContainerName
1045   L2TriggerJetAssociation.AssociationInfoContainerName         = L2TriggerJetAssociation_AssociationInfoContainerName
1046   L2TriggerJetAssociation.OutputAssociationLabel               = L2TriggerJetAssociation_OutputAssociationLabel
1047   L2TriggerJetAssociation.DeltaRMax                            = L2TriggerJetAssociation_DeltaRMax
1048   L2TriggerJetAssociation.AssociatedContainerName              = L2TriggerJetAssociation_AssociatedContainerName   
1049   L2TriggerJetAssociation.AssociatedSelectionInfoContainerName = L2TriggerJetAssociation_AssociatedSelectionInfoContainerName
1050   L2TriggerJetAssociation.AssociatedInputSelectionLabel        = L2TriggerJetAssociation_AssociatedInputSelectionLabel 
1051 
1052 # L2 BJet and Tagged Jet association
1053   
1054   L2TriggerBJetAssociation = TriggerToRecoAssociationLabelling("L2TriggerBJetAssociation")
1055   Sequence += L2TriggerBJetAssociation
1056   
1057   L2TriggerBJetAssociation.OutputLevel = INFO
1058   
1059   L2TriggerBJetAssociation.ContainerName                        = L2TriggerBJetAssociation_ContainerName
1060   L2TriggerBJetAssociation.AssociationInfoContainerName         = L2TriggerBJetAssociation_AssociationInfoContainerName
1061   L2TriggerBJetAssociation.OutputAssociationLabel               = L2TriggerBJetAssociation_OutputAssociationLabel
1062   L2TriggerBJetAssociation.DeltaRMax                            = L2TriggerBJetAssociation_DeltaRMax
1063   L2TriggerBJetAssociation.AssociatedContainerName              = L2TriggerBJetAssociation_AssociatedContainerName   
1064   L2TriggerBJetAssociation.AssociatedSelectionInfoContainerName = L2TriggerBJetAssociation_AssociatedSelectionInfoContainerName
1065   L2TriggerBJetAssociation.AssociatedInputSelectionLabel        = L2TriggerBJetAssociation_AssociatedInputSelectionLabel 
1066 
1067 # EF Egamma and Electron/Photon association
1068   
1069   EFTriggerEgammaAssociation = TriggerToRecoAssociationLabelling("EFTriggerEgammaAssociation")
1070   Sequence += EFTriggerEgammaAssociation
1071   
1072   EFTriggerEgammaAssociation.OutputLevel = INFO
1073   
1074   EFTriggerEgammaAssociation.ContainerName                        = EFTriggerEgammaAssociation_ContainerName
1075   EFTriggerEgammaAssociation.AssociationInfoContainerName         = EFTriggerEgammaAssociation_AssociationInfoContainerName
1076   EFTriggerEgammaAssociation.OutputAssociationLabel               = EFTriggerEgammaAssociation_OutputAssociationLabel
1077   EFTriggerEgammaAssociation.DeltaRMax                            = EFTriggerEgammaAssociation_DeltaRMax
1078   EFTriggerEgammaAssociation.AssociatedContainerName              = EFTriggerEgammaAssociation_AssociatedContainerName   
1079   EFTriggerEgammaAssociation.AssociatedSelectionInfoContainerName = EFTriggerEgammaAssociation_AssociatedSelectionInfoContainerName
1080   EFTriggerEgammaAssociation.AssociatedInputSelectionLabel        = EFTriggerEgammaAssociation_AssociatedInputSelectionLabel 
1081 
1082 # EF Muon and Muon association
1083   
1084   EFTriggerMuonAssociation = TriggerToRecoAssociationLabelling("EFTriggerMuonAssociation")
1085   Sequence += EFTriggerMuonAssociation
1086   
1087   EFTriggerMuonAssociation.OutputLevel = INFO
1088   
1089   EFTriggerMuonAssociation.ContainerName                        = EFTriggerMuonAssociation_ContainerName
1090   EFTriggerMuonAssociation.AssociationInfoContainerName         = EFTriggerMuonAssociation_AssociationInfoContainerName
1091   EFTriggerMuonAssociation.OutputAssociationLabel               = EFTriggerMuonAssociation_OutputAssociationLabel
1092   EFTriggerMuonAssociation.DeltaRMax                            = EFTriggerMuonAssociation_DeltaRMax
1093   EFTriggerMuonAssociation.AssociatedContainerName              = EFTriggerMuonAssociation_AssociatedContainerName   
1094   EFTriggerMuonAssociation.AssociatedSelectionInfoContainerName = EFTriggerMuonAssociation_AssociatedSelectionInfoContainerName
1095   EFTriggerMuonAssociation.AssociatedInputSelectionLabel        = EFTriggerMuonAssociation_AssociatedInputSelectionLabel
1096 
1097 # EF Tau Jet and Tau Jet association
1098   
1099   EFTriggerTauJetAssociation = TriggerToRecoAssociationLabelling("EFTriggerTauJetAssociation")
1100   Sequence += EFTriggerTauJetAssociation
1101   
1102   EFTriggerTauJetAssociation.OutputLevel = INFO
1103   
1104   EFTriggerTauJetAssociation.ContainerName                        = EFTriggerTauJetAssociation_ContainerName
1105   EFTriggerTauJetAssociation.AssociationInfoContainerName         = EFTriggerTauJetAssociation_AssociationInfoContainerName
1106   EFTriggerTauJetAssociation.OutputAssociationLabel               = EFTriggerTauJetAssociation_OutputAssociationLabel
1107   EFTriggerTauJetAssociation.DeltaRMax                            = EFTriggerTauJetAssociation_DeltaRMax
1108   EFTriggerTauJetAssociation.AssociatedContainerName              = EFTriggerTauJetAssociation_AssociatedContainerName   
1109   EFTriggerTauJetAssociation.AssociatedSelectionInfoContainerName = EFTriggerTauJetAssociation_AssociatedSelectionInfoContainerName
1110   EFTriggerTauJetAssociation.AssociatedInputSelectionLabel        = EFTriggerTauJetAssociation_AssociatedInputSelectionLabel 
1111 
1112 # EF Jet and Jet association
1113   
1114   EFTriggerJetAssociation = TriggerToRecoAssociationLabelling("EFTriggerJetAssociation")
1115   Sequence += EFTriggerJetAssociation
1116   
1117   EFTriggerJetAssociation.OutputLevel = INFO
1118   
1119   EFTriggerJetAssociation.ContainerName                        = EFTriggerJetAssociation_ContainerName
1120   EFTriggerJetAssociation.AssociationInfoContainerName         = EFTriggerJetAssociation_AssociationInfoContainerName
1121   EFTriggerJetAssociation.OutputAssociationLabel               = EFTriggerJetAssociation_OutputAssociationLabel
1122   EFTriggerJetAssociation.DeltaRMax                            = EFTriggerJetAssociation_DeltaRMax
1123   EFTriggerJetAssociation.AssociatedContainerName              = EFTriggerJetAssociation_AssociatedContainerName   
1124   EFTriggerJetAssociation.AssociatedSelectionInfoContainerName = EFTriggerJetAssociation_AssociatedSelectionInfoContainerName
1125   EFTriggerJetAssociation.AssociatedInputSelectionLabel        = EFTriggerJetAssociation_AssociatedInputSelectionLabel 
1126 
1127 # EF BJet and Tagged Jet association
1128   
1129   EFTriggerBJetAssociation = TriggerToRecoAssociationLabelling("EFTriggerBJetAssociation")
1130   Sequence += EFTriggerBJetAssociation
1131   
1132   EFTriggerBJetAssociation.OutputLevel = INFO
1133   
1134   EFTriggerBJetAssociation.ContainerName                        = EFTriggerBJetAssociation_ContainerName
1135   EFTriggerBJetAssociation.AssociationInfoContainerName         = EFTriggerBJetAssociation_AssociationInfoContainerName
1136   EFTriggerBJetAssociation.OutputAssociationLabel               = EFTriggerBJetAssociation_OutputAssociationLabel
1137   EFTriggerBJetAssociation.DeltaRMax                            = EFTriggerBJetAssociation_DeltaRMax
1138   EFTriggerBJetAssociation.AssociatedContainerName              = EFTriggerBJetAssociation_AssociatedContainerName   
1139   EFTriggerBJetAssociation.AssociatedSelectionInfoContainerName = EFTriggerBJetAssociation_AssociatedSelectionInfoContainerName
1140   EFTriggerBJetAssociation.AssociatedInputSelectionLabel        = EFTriggerBJetAssociation_AssociatedInputSelectionLabel 
1141 
1142 
1143 # Trigger and Reconstructed Object associations (with Decision filtering) :
1144 
1145 if ExecuteDecisionSelection and ExecuteTriggerToRecoAssociation:
1146 
1147 # L1 EmTau and Electron/Photon/Tau Jet association
1148   
1149   L1DecisionEmTauAssociation = TriggerToRecoAssociationLabelling("L1DecisionEmTauAssociation")
1150   Sequence += L1DecisionEmTauAssociation
1151   
1152   L1DecisionEmTauAssociation.OutputLevel = INFO
1153   
1154   L1DecisionEmTauAssociation.ContainerName                        = L1DecisionEmTauAssociation_ContainerName
1155   L1DecisionEmTauAssociation.AssociationInfoContainerName         = L1DecisionEmTauAssociation_AssociationInfoContainerName
1156   L1DecisionEmTauAssociation.OutputAssociationLabel               = L1DecisionEmTauAssociation_OutputAssociationLabel
1157   L1DecisionEmTauAssociation.DeltaRMax                            = L1DecisionEmTauAssociation_DeltaRMax
1158   L1DecisionEmTauAssociation.AssociatedContainerName              = L1DecisionEmTauAssociation_AssociatedContainerName   
1159   L1DecisionEmTauAssociation.AssociatedSelectionInfoContainerName = L1DecisionEmTauAssociation_AssociatedSelectionInfoContainerName
1160   L1DecisionEmTauAssociation.AssociatedInputSelectionLabel        = L1DecisionEmTauAssociation_AssociatedInputSelectionLabel  
1161 
1162 # L1 Muon and Muon association
1163   
1164   L1DecisionMuonAssociation = TriggerToRecoAssociationLabelling("L1DecisionMuonAssociation")
1165   Sequence += L1DecisionMuonAssociation
1166   
1167   L1DecisionMuonAssociation.OutputLevel = INFO
1168   
1169   L1DecisionMuonAssociation.ContainerName                        = L1DecisionMuonAssociation_ContainerName
1170   L1DecisionMuonAssociation.AssociationInfoContainerName         = L1DecisionMuonAssociation_AssociationInfoContainerName
1171   L1DecisionMuonAssociation.OutputAssociationLabel               = L1DecisionMuonAssociation_OutputAssociationLabel
1172   L1DecisionMuonAssociation.DeltaRMax                            = L1DecisionMuonAssociation_DeltaRMax
1173   L1DecisionMuonAssociation.AssociatedContainerName              = L1DecisionMuonAssociation_AssociatedContainerName   
1174   L1DecisionMuonAssociation.AssociatedSelectionInfoContainerName = L1DecisionMuonAssociation_AssociatedSelectionInfoContainerName
1175   L1DecisionMuonAssociation.AssociatedInputSelectionLabel        = L1DecisionMuonAssociation_AssociatedInputSelectionLabel  
1176 
1177 # L1 Jet and Jet/Tagged Jet association
1178   
1179   L1DecisionJetAssociation = TriggerToRecoAssociationLabelling("L1DecisionJetAssociation")
1180   Sequence += L1DecisionJetAssociation
1181   
1182   L1DecisionJetAssociation.OutputLevel = INFO
1183   
1184   L1DecisionJetAssociation.ContainerName                        = L1DecisionJetAssociation_ContainerName
1185   L1DecisionJetAssociation.AssociationInfoContainerName         = L1DecisionJetAssociation_AssociationInfoContainerName
1186   L1DecisionJetAssociation.OutputAssociationLabel               = L1DecisionJetAssociation_OutputAssociationLabel
1187   L1DecisionJetAssociation.DeltaRMax                            = L1DecisionJetAssociation_DeltaRMax
1188   L1DecisionJetAssociation.AssociatedContainerName              = L1DecisionJetAssociation_AssociatedContainerName   
1189   L1DecisionJetAssociation.AssociatedSelectionInfoContainerName = L1DecisionJetAssociation_AssociatedSelectionInfoContainerName
1190   L1DecisionJetAssociation.AssociatedInputSelectionLabel        = L1DecisionJetAssociation_AssociatedInputSelectionLabel 
1191 
1192 # L2 Electron and Electron association
1193   
1194   L2DecisionElectronAssociation = TriggerToRecoAssociationLabelling("L2DecisionElectronAssociation")
1195   Sequence += L2DecisionElectronAssociation
1196   
1197   L2DecisionElectronAssociation.OutputLevel = INFO
1198   
1199   L2DecisionElectronAssociation.ContainerName                        = L2DecisionElectronAssociation_ContainerName
1200   L2DecisionElectronAssociation.AssociationInfoContainerName         = L2DecisionElectronAssociation_AssociationInfoContainerName
1201   L2DecisionElectronAssociation.OutputAssociationLabel               = L2DecisionElectronAssociation_OutputAssociationLabel
1202   L2DecisionElectronAssociation.DeltaRMax                            = L2DecisionElectronAssociation_DeltaRMax
1203   L2DecisionElectronAssociation.AssociatedContainerName              = L2DecisionElectronAssociation_AssociatedContainerName   
1204   L2DecisionElectronAssociation.AssociatedSelectionInfoContainerName = L2DecisionElectronAssociation_AssociatedSelectionInfoContainerName
1205   L2DecisionElectronAssociation.AssociatedInputSelectionLabel        = L2DecisionElectronAssociation_AssociatedInputSelectionLabel 
1206 
1207 # L2 Muon and Muon association
1208   
1209   L2DecisionMuonAssociation = TriggerToRecoAssociationLabelling("L2DecisionMuonAssociation")
1210   Sequence += L2DecisionMuonAssociation
1211   
1212   L2DecisionMuonAssociation.OutputLevel = INFO
1213   
1214   L2DecisionMuonAssociation.ContainerName                        = L2DecisionMuonAssociation_ContainerName
1215   L2DecisionMuonAssociation.AssociationInfoContainerName         = L2DecisionMuonAssociation_AssociationInfoContainerName
1216   L2DecisionMuonAssociation.OutputAssociationLabel               = L2DecisionMuonAssociation_OutputAssociationLabel
1217   L2DecisionMuonAssociation.DeltaRMax                            = L2DecisionMuonAssociation_DeltaRMax
1218   L2DecisionMuonAssociation.AssociatedContainerName              = L2DecisionMuonAssociation_AssociatedContainerName   
1219   L2DecisionMuonAssociation.AssociatedSelectionInfoContainerName = L2DecisionMuonAssociation_AssociatedSelectionInfoContainerName
1220   L2DecisionMuonAssociation.AssociatedInputSelectionLabel        = L2DecisionMuonAssociation_AssociatedInputSelectionLabel 
1221 
1222 # L2 Photon and Photon association
1223   
1224   L2DecisionPhotonAssociation = TriggerToRecoAssociationLabelling("L2DecisionPhotonAssociation")
1225   Sequence += L2DecisionPhotonAssociation
1226   
1227   L2DecisionPhotonAssociation.OutputLevel = INFO
1228   
1229   L2DecisionPhotonAssociation.ContainerName                        = L2DecisionPhotonAssociation_ContainerName
1230   L2DecisionPhotonAssociation.AssociationInfoContainerName         = L2DecisionPhotonAssociation_AssociationInfoContainerName
1231   L2DecisionPhotonAssociation.OutputAssociationLabel               = L2DecisionPhotonAssociation_OutputAssociationLabel
1232   L2DecisionPhotonAssociation.DeltaRMax                            = L2DecisionPhotonAssociation_DeltaRMax
1233   L2DecisionPhotonAssociation.AssociatedContainerName              = L2DecisionPhotonAssociation_AssociatedContainerName   
1234   L2DecisionPhotonAssociation.AssociatedSelectionInfoContainerName = L2DecisionPhotonAssociation_AssociatedSelectionInfoContainerName
1235   L2DecisionPhotonAssociation.AssociatedInputSelectionLabel        = L2DecisionPhotonAssociation_AssociatedInputSelectionLabel 
1236 
1237 # L2 Tau and Tau Jet association
1238   
1239   L2DecisionTauAssociation = TriggerToRecoAssociationLabelling("L2DecisionTauAssociation")
1240   Sequence += L2DecisionTauAssociation
1241   
1242   L2DecisionTauAssociation.OutputLevel = INFO
1243   
1244   L2DecisionTauAssociation.ContainerName                        = L2DecisionTauAssociation_ContainerName
1245   L2DecisionTauAssociation.AssociationInfoContainerName         = L2DecisionTauAssociation_AssociationInfoContainerName
1246   L2DecisionTauAssociation.OutputAssociationLabel               = L2DecisionTauAssociation_OutputAssociationLabel
1247   L2DecisionTauAssociation.DeltaRMax                            = L2DecisionTauAssociation_DeltaRMax
1248   L2DecisionTauAssociation.AssociatedContainerName              = L2DecisionTauAssociation_AssociatedContainerName   
1249   L2DecisionTauAssociation.AssociatedSelectionInfoContainerName = L2DecisionTauAssociation_AssociatedSelectionInfoContainerName
1250   L2DecisionTauAssociation.AssociatedInputSelectionLabel        = L2DecisionTauAssociation_AssociatedInputSelectionLabel 
1251 
1252 # L2 Jet and Jet association
1253   
1254   L2DecisionJetAssociation = TriggerToRecoAssociationLabelling("L2DecisionJetAssociation")
1255   Sequence += L2DecisionJetAssociation
1256   
1257   L2DecisionJetAssociation.OutputLevel = INFO
1258   
1259   L2DecisionJetAssociation.ContainerName                        = L2DecisionJetAssociation_ContainerName
1260   L2DecisionJetAssociation.AssociationInfoContainerName         = L2DecisionJetAssociation_AssociationInfoContainerName
1261   L2DecisionJetAssociation.OutputAssociationLabel               = L2DecisionJetAssociation_OutputAssociationLabel
1262   L2DecisionJetAssociation.DeltaRMax                            = L2DecisionJetAssociation_DeltaRMax
1263   L2DecisionJetAssociation.AssociatedContainerName              = L2DecisionJetAssociation_AssociatedContainerName   
1264   L2DecisionJetAssociation.AssociatedSelectionInfoContainerName = L2DecisionJetAssociation_AssociatedSelectionInfoContainerName
1265   L2DecisionJetAssociation.AssociatedInputSelectionLabel        = L2DecisionJetAssociation_AssociatedInputSelectionLabel 
1266 
1267 # EF Electron and Electron association
1268   
1269   EFDecisionElectronAssociation = TriggerToRecoAssociationLabelling("EFDecisionElectronAssociation")
1270   Sequence += EFDecisionElectronAssociation
1271   
1272   EFDecisionElectronAssociation.OutputLevel = INFO
1273   
1274   EFDecisionElectronAssociation.ContainerName                        = EFDecisionElectronAssociation_ContainerName
1275   EFDecisionElectronAssociation.AssociationInfoContainerName         = EFDecisionElectronAssociation_AssociationInfoContainerName
1276   EFDecisionElectronAssociation.OutputAssociationLabel               = EFDecisionElectronAssociation_OutputAssociationLabel
1277   EFDecisionElectronAssociation.DeltaRMax                            = EFDecisionElectronAssociation_DeltaRMax
1278   EFDecisionElectronAssociation.AssociatedContainerName              = EFDecisionElectronAssociation_AssociatedContainerName   
1279   EFDecisionElectronAssociation.AssociatedSelectionInfoContainerName = EFDecisionElectronAssociation_AssociatedSelectionInfoContainerName
1280   EFDecisionElectronAssociation.AssociatedInputSelectionLabel        = EFDecisionElectronAssociation_AssociatedInputSelectionLabel 
1281 
1282 # EF Muon and Muon association
1283   
1284   EFDecisionMuonAssociation = TriggerToRecoAssociationLabelling("EFDecisionMuonAssociation")
1285   Sequence += EFDecisionMuonAssociation
1286   
1287   EFDecisionMuonAssociation.OutputLevel = INFO
1288   
1289   EFDecisionMuonAssociation.ContainerName                        = EFDecisionMuonAssociation_ContainerName
1290   EFDecisionMuonAssociation.AssociationInfoContainerName         = EFDecisionMuonAssociation_AssociationInfoContainerName
1291   EFDecisionMuonAssociation.OutputAssociationLabel               = EFDecisionMuonAssociation_OutputAssociationLabel
1292   EFDecisionMuonAssociation.DeltaRMax                            = EFDecisionMuonAssociation_DeltaRMax
1293   EFDecisionMuonAssociation.AssociatedContainerName              = EFDecisionMuonAssociation_AssociatedContainerName   
1294   EFDecisionMuonAssociation.AssociatedSelectionInfoContainerName = EFDecisionMuonAssociation_AssociatedSelectionInfoContainerName
1295   EFDecisionMuonAssociation.AssociatedInputSelectionLabel        = EFDecisionMuonAssociation_AssociatedInputSelectionLabel
1296 
1297 # EF Photon and Photon association
1298   
1299   EFDecisionPhotonAssociation = TriggerToRecoAssociationLabelling("EFDecisionPhotonAssociation")
1300   Sequence += EFDecisionPhotonAssociation
1301   
1302   EFDecisionPhotonAssociation.OutputLevel = INFO
1303   
1304   EFDecisionPhotonAssociation.ContainerName                        = EFDecisionPhotonAssociation_ContainerName
1305   EFDecisionPhotonAssociation.AssociationInfoContainerName         = EFDecisionPhotonAssociation_AssociationInfoContainerName
1306   EFDecisionPhotonAssociation.OutputAssociationLabel               = EFDecisionPhotonAssociation_OutputAssociationLabel
1307   EFDecisionPhotonAssociation.DeltaRMax                            = EFDecisionPhotonAssociation_DeltaRMax
1308   EFDecisionPhotonAssociation.AssociatedContainerName              = EFDecisionPhotonAssociation_AssociatedContainerName   
1309   EFDecisionPhotonAssociation.AssociatedSelectionInfoContainerName = EFDecisionPhotonAssociation_AssociatedSelectionInfoContainerName
1310   EFDecisionPhotonAssociation.AssociatedInputSelectionLabel        = EFDecisionPhotonAssociation_AssociatedInputSelectionLabel 
1311 
1312 # EF Tau Jet and Tau Jet association
1313   
1314   EFDecisionTauJetAssociation = TriggerToRecoAssociationLabelling("EFDecisionTauJetAssociation")
1315   Sequence += EFDecisionTauJetAssociation
1316   
1317   EFDecisionTauJetAssociation.OutputLevel = INFO
1318   
1319   EFDecisionTauJetAssociation.ContainerName                        = EFDecisionTauJetAssociation_ContainerName
1320   EFDecisionTauJetAssociation.AssociationInfoContainerName         = EFDecisionTauJetAssociation_AssociationInfoContainerName
1321   EFDecisionTauJetAssociation.OutputAssociationLabel               = EFDecisionTauJetAssociation_OutputAssociationLabel
1322   EFDecisionTauJetAssociation.DeltaRMax                            = EFDecisionTauJetAssociation_DeltaRMax
1323   EFDecisionTauJetAssociation.AssociatedContainerName              = EFDecisionTauJetAssociation_AssociatedContainerName   
1324   EFDecisionTauJetAssociation.AssociatedSelectionInfoContainerName = EFDecisionTauJetAssociation_AssociatedSelectionInfoContainerName
1325   EFDecisionTauJetAssociation.AssociatedInputSelectionLabel        = EFDecisionTauJetAssociation_AssociatedInputSelectionLabel 
1326 
1327 # EF Jet and Jet association
1328   
1329   EFDecisionJetAssociation = TriggerToRecoAssociationLabelling("EFDecisionJetAssociation")
1330   Sequence += EFDecisionJetAssociation
1331   
1332   EFDecisionJetAssociation.OutputLevel = INFO
1333   
1334   EFDecisionJetAssociation.ContainerName                        = EFDecisionJetAssociation_ContainerName
1335   EFDecisionJetAssociation.AssociationInfoContainerName         = EFDecisionJetAssociation_AssociationInfoContainerName
1336   EFDecisionJetAssociation.OutputAssociationLabel               = EFDecisionJetAssociation_OutputAssociationLabel
1337   EFDecisionJetAssociation.DeltaRMax                            = EFDecisionJetAssociation_DeltaRMax
1338   EFDecisionJetAssociation.AssociatedContainerName              = EFDecisionJetAssociation_AssociatedContainerName   
1339   EFDecisionJetAssociation.AssociatedSelectionInfoContainerName = EFDecisionJetAssociation_AssociatedSelectionInfoContainerName
1340   EFDecisionJetAssociation.AssociatedInputSelectionLabel        = EFDecisionJetAssociation_AssociatedInputSelectionLabel 
1341 
1342 
1343 # Reconstructed Object barcodes
1344 
1345 ContainerBarcodes = ContainerBarcodes("ContainerBarcodes")
1346 Sequence += ContainerBarcodes
1347 
1348 ContainerBarcodes.OutputLevel = INFO
1349 
1350 ContainerBarcodes.ContainerName              = ContainerBarcodes_ContainerName
1351 ContainerBarcodes.ContainerInfoContainerName = ContainerBarcodes_ContainerInfoContainerName
1352 
1353     
1354 # Truth Tau Decay selections :
1355 
1356 if ExecuteTruthSelection:
1357 
1358 # Hadronic Tau Decay selection (from W/Z parent)
1359 
1360   TruthWZVisibleTauSelection = TruthTauDecaySelection("TruthWZVisibleTauSelection")
1361   Sequence += TruthWZVisibleTauSelection
1362   
1363   TruthWZVisibleTauSelection.OutputLevel = INFO
1364   
1365   TruthWZVisibleTauSelection.InputContainerName         = TruthWZVisibleTauSelection_InputContainerName
1366   TruthWZVisibleTauSelection.OutputContainerName        = TruthWZVisibleTauSelection_OutputContainerName
1367   TruthWZVisibleTauSelection.SelectionInfoContainerName = TruthWZVisibleTauSelection_SelectionInfoContainerName
1368   TruthWZVisibleTauSelection.OutputSelectionLabel       = TruthWZVisibleTauSelection_OutputSelectionLabel 
1369   TruthWZVisibleTauSelection.ApplySelfDecayCut          = TruthWZVisibleTauSelection_ApplySelfDecayCut
1370   TruthWZVisibleTauSelection.StableLeptonDecayOutput    = TruthWZVisibleTauSelection_StableLeptonDecayOutput
1371   TruthWZVisibleTauSelection.VisibleTauOutput           = TruthWZVisibleTauSelection_VisibleTauOutput
1372   TruthWZVisibleTauSelection.DecayMode                  = TruthWZVisibleTauSelection_DecayMode
1373   TruthWZVisibleTauSelection.ParentPdgId                = TruthWZVisibleTauSelection_ParentPdgId
1374   TruthWZVisibleTauSelection.Status                     = TruthWZVisibleTauSelection_Status
1375   TruthWZVisibleTauSelection.VetoStatus                 = TruthWZVisibleTauSelection_VetoStatus
1376   TruthWZVisibleTauSelection.DecayPdgId                 = TruthWZVisibleTauSelection_DecayPdgId
1377   TruthWZVisibleTauSelection.DecayStatus                = TruthWZVisibleTauSelection_DecayStatus
1378   TruthWZVisibleTauSelection.DecayVetoStatus            = TruthWZVisibleTauSelection_DecayVetoStatus
1379   
1380 # Leptonic Tau Decay selection (from W/Z parent)
1381         
1382   TruthWZTauDecaySelection = TruthTauDecaySelection("TruthWZTauDecaySelection")
1383   Sequence += TruthWZTauDecaySelection
1384   
1385   TruthWZTauDecaySelection.OutputLevel = INFO
1386   
1387   TruthWZTauDecaySelection.InputContainerName         = TruthWZTauDecaySelection_InputContainerName
1388   TruthWZTauDecaySelection.OutputContainerName        = TruthWZTauDecaySelection_OutputContainerName
1389   TruthWZTauDecaySelection.SelectionInfoContainerName = TruthWZTauDecaySelection_SelectionInfoContainerName
1390   TruthWZTauDecaySelection.OutputSelectionLabel       = TruthWZTauDecaySelection_OutputSelectionLabel 
1391   TruthWZTauDecaySelection.ApplySelfDecayCut          = TruthWZTauDecaySelection_ApplySelfDecayCut
1392   TruthWZTauDecaySelection.StableLeptonDecayOutput    = TruthWZTauDecaySelection_StableLeptonDecayOutput
1393   TruthWZTauDecaySelection.VisibleTauOutput           = TruthWZTauDecaySelection_VisibleTauOutput
1394   TruthWZTauDecaySelection.DecayMode                  = TruthWZTauDecaySelection_DecayMode
1395   TruthWZTauDecaySelection.ParentPdgId                = TruthWZTauDecaySelection_ParentPdgId
1396   TruthWZTauDecaySelection.Status                     = TruthWZTauDecaySelection_Status
1397   TruthWZTauDecaySelection.VetoStatus                 = TruthWZTauDecaySelection_VetoStatus
1398   TruthWZTauDecaySelection.DecayPdgId                 = TruthWZTauDecaySelection_DecayPdgId
1399   TruthWZTauDecaySelection.DecayStatus                = TruthWZTauDecaySelection_DecayStatus
1400   TruthWZTauDecaySelection.DecayVetoStatus            = TruthWZTauDecaySelection_DecayVetoStatus   
1401   
1402   
1403 # Truth Particle/Object selections :
1404 
1405 if ExecuteTruthSelection:
1406 
1407 # Hard Process selection (primary vertices)
1408           
1409   TruthHardProcessSelection = TruthParticleSelection("TruthHardProcessSelection")
1410   Sequence += TruthHardProcessSelection
1411   
1412   TruthHardProcessSelection.OutputLevel = INFO
1413   
1414   TruthHardProcessSelection.InputContainerName         = TruthHardProcessSelection_InputContainerName
1415   TruthHardProcessSelection.OutputContainerName        = TruthHardProcessSelection_OutputContainerName
1416   TruthHardProcessSelection.SelectionInfoContainerName = TruthHardProcessSelection_SelectionInfoContainerName
1417   TruthHardProcessSelection.OutputSelectionLabel       = TruthHardProcessSelection_OutputSelectionLabel
1418   TruthHardProcessSelection.ApplyGeneratorCut          = TruthHardProcessSelection_ApplyGeneratorCut
1419   TruthHardProcessSelection.ApplyStableCut             = TruthHardProcessSelection_ApplyStableCut
1420   TruthHardProcessSelection.ApplySelfDecayCut          = TruthHardProcessSelection_ApplySelfDecayCut
1421   TruthHardProcessSelection.PdgId                      = TruthHardProcessSelection_PdgId
1422   TruthHardProcessSelection.ParentPdgId                = TruthHardProcessSelection_ParentPdgId
1423   TruthHardProcessSelection.GrandParentPdgId           = TruthHardProcessSelection_GrandParentPdgId
1424   TruthHardProcessSelection.ParentMassMin              = TruthHardProcessSelection_ParentMassMin 
1425   TruthHardProcessSelection.GrandParentMassMin         = TruthHardProcessSelection_GrandParentMassMin
1426   TruthHardProcessSelection.PtMin                      = TruthHardProcessSelection_PtMin 
1427   TruthHardProcessSelection.Status                     = TruthHardProcessSelection_Status
1428   TruthHardProcessSelection.VetoStatus                 = TruthHardProcessSelection_VetoStatus
1429   TruthHardProcessSelection.BarcodeMax                 = TruthHardProcessSelection_BarcodeMax
1430 
1431 # B/C Quark selection    
1432     
1433   TruthBCQuarkSelection = TruthQuarkSelection("TruthBCQuarkSelection")
1434   Sequence += TruthBCQuarkSelection
1435   
1436   TruthBCQuarkSelection.OutputLevel = INFO
1437   
1438   TruthBCQuarkSelection.InputContainerName         = TruthBCQuarkSelection_InputContainerName
1439   TruthBCQuarkSelection.OutputContainerName        = TruthBCQuarkSelection_OutputContainerName
1440   TruthBCQuarkSelection.SelectionInfoContainerName = TruthBCQuarkSelection_SelectionInfoContainerName
1441   TruthBCQuarkSelection.OutputSelectionLabel       = TruthBCQuarkSelection_OutputSelectionLabel
1442   TruthBCQuarkSelection.ApplySelfDecayCut          = TruthBCQuarkSelection_ApplySelfDecayCut
1443   TruthBCQuarkSelection.PdgId                      = TruthBCQuarkSelection_PdgId
1444   TruthBCQuarkSelection.VetoParentFamily           = TruthBCQuarkSelection_VetoParentFamily
1445   TruthBCQuarkSelection.PtMin                      = TruthBCQuarkSelection_PtMin
1446   TruthBCQuarkSelection.Status                     = TruthBCQuarkSelection_Status
1447   TruthBCQuarkSelection.VetoStatus                 = TruthBCQuarkSelection_VetoStatus
1448   TruthBCQuarkSelection.BarcodeMax                 = TruthBCQuarkSelection_BarcodeMax
1449 
1450 # Light Quark selection 
1451     
1452   TruthLightQuarkSelection = TruthQuarkSelection("TruthLightQuarkSelection")
1453   Sequence += TruthLightQuarkSelection
1454   
1455   TruthLightQuarkSelection.OutputLevel = INFO
1456   
1457   TruthLightQuarkSelection.InputContainerName         = TruthLightQuarkSelection_InputContainerName
1458   TruthLightQuarkSelection.OutputContainerName        = TruthLightQuarkSelection_OutputContainerName
1459   TruthLightQuarkSelection.SelectionInfoContainerName = TruthLightQuarkSelection_SelectionInfoContainerName
1460   TruthLightQuarkSelection.OutputSelectionLabel       = TruthLightQuarkSelection_OutputSelectionLabel
1461   TruthLightQuarkSelection.ApplySelfDecayCut          = TruthLightQuarkSelection_ApplySelfDecayCut
1462   TruthLightQuarkSelection.PdgId                      = TruthLightQuarkSelection_PdgId
1463   TruthLightQuarkSelection.VetoParentFamily           = TruthLightQuarkSelection_VetoParentFamily
1464   TruthLightQuarkSelection.PtMin                      = TruthLightQuarkSelection_PtMin
1465   TruthLightQuarkSelection.Status                     = TruthLightQuarkSelection_Status
1466   TruthLightQuarkSelection.VetoStatus                 = TruthLightQuarkSelection_VetoStatus
1467   TruthLightQuarkSelection.BarcodeMax                 = TruthLightQuarkSelection_BarcodeMax
1468 
1469 # Electron selection
1470           
1471   TruthElectronSelection = TruthElectronSelection("TruthElectronSelection")
1472   Sequence += TruthElectronSelection
1473   
1474   TruthElectronSelection.OutputLevel = INFO
1475   TruthElectronSelection.egammaMCTruthClassifier.OutputLevel = INFO
1476   
1477   TruthElectronSelection.InputContainerName         = TruthElectronSelection_InputContainerName
1478   TruthElectronSelection.OutputContainerName        = TruthElectronSelection_OutputContainerName
1479   TruthElectronSelection.SelectionInfoContainerName = TruthElectronSelection_SelectionInfoContainerName
1480   TruthElectronSelection.OutputSelectionLabel       = TruthElectronSelection_OutputSelectionLabel
1481   TruthElectronSelection.ApplyGeneratorCut          = TruthElectronSelection_ApplyGeneratorCut
1482   TruthElectronSelection.ApplyStableCut             = TruthElectronSelection_ApplyStableCut
1483   TruthElectronSelection.Type                       = TruthElectronSelection_Type 
1484   TruthElectronSelection.Origin                     = TruthElectronSelection_Origin
1485   TruthElectronSelection.PtMin                      = TruthElectronSelection_PtMin 
1486   TruthElectronSelection.Status                     = TruthElectronSelection_Status
1487   TruthElectronSelection.VetoStatus                 = TruthElectronSelection_VetoStatus
1488 
1489 # Muon selection
1490     
1491   TruthMuonSelection = TruthParticleSelection("TruthMuonSelection")
1492   Sequence += TruthMuonSelection 
1493   
1494   TruthMuonSelection.OutputLevel = INFO
1495   
1496   TruthMuonSelection.InputContainerName         = TruthMuonSelection_InputContainerName
1497   TruthMuonSelection.OutputContainerName        = TruthMuonSelection_OutputContainerName
1498   TruthMuonSelection.SelectionInfoContainerName = TruthMuonSelection_SelectionInfoContainerName
1499   TruthMuonSelection.OutputSelectionLabel       = TruthMuonSelection_OutputSelectionLabel
1500   TruthMuonSelection.ApplyGeneratorCut          = TruthMuonSelection_ApplyGeneratorCut
1501   TruthMuonSelection.ApplyStableCut             = TruthMuonSelection_ApplyStableCut
1502   TruthMuonSelection.ApplySelfDecayCut          = TruthMuonSelection_ApplySelfDecayCut
1503   TruthMuonSelection.PdgId                      = TruthMuonSelection_PdgId
1504   TruthMuonSelection.ParentPdgId                = TruthMuonSelection_ParentPdgId
1505   TruthMuonSelection.GrandParentPdgId           = TruthMuonSelection_GrandParentPdgId
1506   TruthMuonSelection.ParentMassMin              = TruthMuonSelection_ParentMassMin 
1507   TruthMuonSelection.GrandParentMassMin         = TruthMuonSelection_GrandParentMassMin
1508   TruthMuonSelection.PtMin                      = TruthMuonSelection_PtMin
1509   TruthMuonSelection.Status                     = TruthMuonSelection_Status
1510   TruthMuonSelection.VetoStatus                 = TruthMuonSelection_VetoStatus
1511 
1512 # Neutrino selection
1513     
1514   TruthNeutrinoSelection = TruthParticleSelection("TruthNeutrinoSelection")
1515   Sequence += TruthNeutrinoSelection
1516   
1517   TruthNeutrinoSelection.OutputLevel = INFO
1518   
1519   TruthNeutrinoSelection.InputContainerName         = TruthNeutrinoSelection_InputContainerName
1520   TruthNeutrinoSelection.OutputContainerName        = TruthNeutrinoSelection_OutputContainerName
1521   TruthNeutrinoSelection.SelectionInfoContainerName = TruthNeutrinoSelection_SelectionInfoContainerName
1522   TruthNeutrinoSelection.OutputSelectionLabel       = TruthNeutrinoSelection_OutputSelectionLabel
1523   TruthNeutrinoSelection.ApplyGeneratorCut          = TruthNeutrinoSelection_ApplyGeneratorCut
1524   TruthNeutrinoSelection.ApplyStableCut             = TruthNeutrinoSelection_ApplyStableCut
1525   TruthNeutrinoSelection.ApplySelfDecayCut          = TruthNeutrinoSelection_ApplySelfDecayCut
1526   TruthNeutrinoSelection.PdgId                      = TruthNeutrinoSelection_PdgId
1527   TruthNeutrinoSelection.ParentPdgId                = TruthNeutrinoSelection_ParentPdgId
1528   TruthNeutrinoSelection.GrandParentPdgId           = TruthNeutrinoSelection_GrandParentPdgId
1529   TruthNeutrinoSelection.ParentMassMin              = TruthNeutrinoSelection_ParentMassMin 
1530   TruthNeutrinoSelection.GrandParentMassMin         = TruthNeutrinoSelection_GrandParentMassMin 
1531   TruthNeutrinoSelection.PtMin                      = TruthNeutrinoSelection_PtMin
1532   TruthNeutrinoSelection.Status                     = TruthNeutrinoSelection_Status
1533   TruthNeutrinoSelection.VetoStatus                 = TruthNeutrinoSelection_VetoStatus
1534 
1535 # Photon selection
1536       
1537   TruthPhotonSelection = TruthPhotonSelection("TruthPhotonSelection")
1538   Sequence += TruthPhotonSelection
1539   
1540   TruthPhotonSelection.OutputLevel = INFO
1541   TruthPhotonSelection.egammaMCTruthClassifier.OutputLevel = INFO
1542   
1543   TruthPhotonSelection.InputContainerName         = TruthPhotonSelection_InputContainerName
1544   TruthPhotonSelection.OutputContainerName        = TruthPhotonSelection_OutputContainerName
1545   TruthPhotonSelection.SelectionInfoContainerName = TruthPhotonSelection_SelectionInfoContainerName
1546   TruthPhotonSelection.OutputSelectionLabel       = TruthPhotonSelection_OutputSelectionLabel
1547   TruthPhotonSelection.ApplyGeneratorCut          = TruthPhotonSelection_ApplyGeneratorCut
1548   TruthPhotonSelection.ApplyStableCut             = TruthPhotonSelection_ApplyStableCut
1549   TruthPhotonSelection.Type                       = TruthPhotonSelection_Type 
1550   TruthPhotonSelection.Origin                     = TruthPhotonSelection_Origin
1551   TruthPhotonSelection.PtMin                      = TruthPhotonSelection_PtMin 
1552   TruthPhotonSelection.Status                     = TruthPhotonSelection_Status
1553   TruthPhotonSelection.VetoStatus                 = TruthPhotonSelection_VetoStatus
1554 
1555 # Tau selection
1556     
1557   TruthTauSelection = TruthParticleSelection("TruthTauSelection")
1558   Sequence += TruthTauSelection
1559   
1560   TruthTauSelection.OutputLevel = INFO
1561   
1562   TruthTauSelection.InputContainerName         = TruthTauSelection_InputContainerName
1563   TruthTauSelection.OutputContainerName        = TruthTauSelection_OutputContainerName
1564   TruthTauSelection.SelectionInfoContainerName = TruthTauSelection_SelectionInfoContainerName
1565   TruthTauSelection.OutputSelectionLabel       = TruthTauSelection_OutputSelectionLabel
1566   TruthTauSelection.ApplyGeneratorCut          = TruthTauSelection_ApplyGeneratorCut
1567   TruthTauSelection.ApplyStableCut             = TruthTauSelection_ApplyStableCut
1568   TruthTauSelection.ApplySelfDecayCut          = TruthTauSelection_ApplySelfDecayCut
1569   TruthTauSelection.PdgId                      = TruthTauSelection_PdgId
1570   TruthTauSelection.ParentPdgId                = TruthTauSelection_ParentPdgId
1571   TruthTauSelection.GrandParentPdgId           = TruthTauSelection_GrandParentPdgId
1572   TruthTauSelection.ParentMassMin              = TruthTauSelection_ParentMassMin 
1573   TruthTauSelection.GrandParentMassMin         = TruthTauSelection_GrandParentMassMin 
1574   TruthTauSelection.PtMin                      = TruthTauSelection_PtMin
1575   TruthTauSelection.Status                     = TruthTauSelection_Status
1576   TruthTauSelection.VetoStatus                 = TruthTauSelection_VetoStatus
1577 
1578 # Jet selection
1579         
1580   TruthJetSelection = JetSelection("TruthJetSelection")
1581   Sequence += TruthJetSelection
1582   
1583   TruthJetSelection.OutputLevel = INFO
1584   
1585   TruthJetSelection.InputContainerName         = TruthJetSelection_InputContainerName
1586   TruthJetSelection.OutputContainerName        = TruthJetSelection_OutputContainerName
1587   TruthJetSelection.SelectionInfoContainerName = TruthJetSelection_SelectionInfoContainerName
1588   TruthJetSelection.OutputSelectionLabel       = TruthJetSelection_OutputSelectionLabel
1589   TruthJetSelection.PtMin                      = TruthJetSelection_PtMin
1590   TruthJetSelection.EtaMax                     = TruthJetSelection_EtaMax
1591   
1592   
1593 # Truth Particle classifications :
1594 
1595 if ExecuteTruthSelection:
1596 
1597 # Electron classification
1598   
1599   TruthElectronClassification = TruthElectronClassification("TruthElectronClassification")
1600   Sequence += TruthElectronClassification
1601   
1602   TruthElectronClassification.OutputLevel = INFO
1603   TruthElectronClassification.egammaMCTruthClassifier.OutputLevel = INFO
1604   
1605   TruthElectronClassification.TruthParticleContainerName  = TruthElectronClassification_TruthParticleContainerName
1606   TruthElectronClassification.TruthParticleContainerLabel = TruthElectronClassification_TruthParticleContainerLabel
1607   TruthElectronClassification.ContainerInfoContainerName  = TruthElectronClassification_ContainerInfoContainerName
1608 
1609 # Photon classification
1610     
1611   TruthPhotonClassification = TruthPhotonClassification("TruthPhotonClassification")
1612   Sequence += TruthPhotonClassification
1613   
1614   TruthPhotonClassification.OutputLevel = INFO
1615   TruthPhotonClassification.egammaMCTruthClassifier.OutputLevel = INFO
1616   
1617   TruthPhotonClassification.TruthParticleContainerName  = TruthPhotonClassification_TruthParticleContainerName
1618   TruthPhotonClassification.TruthParticleContainerLabel = TruthPhotonClassification_TruthParticleContainerLabel
1619   TruthPhotonClassification.ContainerInfoContainerName  = TruthPhotonClassification_ContainerInfoContainerName
1620   
1621   
1622 # Truth Particle/Object overlaps :
1623 
1624 if ExecuteTruthSelection:
1625 
1626 # Overlap labelling
1627   
1628   TruthOverlapLabelling = TruthOverlapLabelling("TruthOverlapLabelling")
1629   Sequence += TruthOverlapLabelling
1630   
1631   TruthOverlapLabelling.OutputLevel = INFO
1632   
1633   TruthOverlapLabelling.ContainerName              = TruthOverlapLabelling_ContainerName
1634   TruthOverlapLabelling.SelectionInfoContainerName = TruthOverlapLabelling_SelectionInfoContainerName
1635   TruthOverlapLabelling.InputSelectionLabel        = TruthOverlapLabelling_InputSelectionLabel
1636   TruthOverlapLabelling.OutputSelectionLabel       = TruthOverlapLabelling_OutputSelectionLabel
1637   TruthOverlapLabelling.DeltaRMin                  = TruthOverlapLabelling_DeltaRMin
1638   TruthOverlapLabelling.AssociatedContainerName    = TruthOverlapLabelling_AssociatedContainerName
1639   
1640 # Overlap removal
1641 
1642   if ExecuteTruthOverlapRemoval:
1643 
1644     TruthOverlapRemoval = ParticleCombinedSelection("TruthOverlapRemoval")
1645     Sequence += TruthOverlapRemoval
1646     
1647     TruthOverlapRemoval.OutputLevel = INFO
1648     
1649     TruthOverlapRemoval.InputContainerName         = TruthOverlapRemoval_InputContainerName
1650     TruthOverlapRemoval.OutputContainerName        = TruthOverlapRemoval_OutputContainerName
1651     TruthOverlapRemoval.SelectionInfoContainerName = TruthOverlapRemoval_SelectionInfoContainerName
1652     TruthOverlapRemoval.AcceptedSelectionLabel     = TruthOverlapRemoval_AcceptedSelectionLabel
1653     TruthOverlapRemoval.RequiredSelectionLabel     = TruthOverlapRemoval_RequiredSelectionLabel
1654     TruthOverlapRemoval.RejectedSelectionLabel     = TruthOverlapRemoval_RejectedSelectionLabel
1655     TruthOverlapRemoval.OutputSelectionLabel       = TruthOverlapRemoval_OutputSelectionLabel 
1656 
1657 
1658 # Reconstructed and Truth Object/Particle associations :
1659 
1660 if ExecuteTruthSelection and ExecuteRecoToTruthAssociation:
1661 
1662 # Jet/Truth Jet and Top Vertex/B Quark association
1663 
1664   JetBQuarkAssociation = RecoToTruthAssociationLabelling("JetBQuarkAssociation")
1665   Sequence += JetBQuarkAssociation
1666   
1667   JetBQuarkAssociation.OutputLevel = INFO
1668   
1669   JetBQuarkAssociation.ContainerName                = JetBQuarkAssociation_ContainerName
1670   JetBQuarkAssociation.SelectionInfoContainerName   = JetBQuarkAssociation_SelectionInfoContainerName
1671   JetBQuarkAssociation.InputSelectionLabel          = JetBQuarkAssociation_InputSelectionLabel
1672   JetBQuarkAssociation.AssociationInfoContainerName = JetBQuarkAssociation_AssociationInfoContainerName
1673   JetBQuarkAssociation.OutputAssociationLabel       = JetBQuarkAssociation_OutputAssociationLabel
1674   JetBQuarkAssociation.DeltaRMax                    = JetBQuarkAssociation_DeltaRMax
1675   JetBQuarkAssociation.PdgId                        = JetBQuarkAssociation_PdgId
1676   JetBQuarkAssociation.AssociatedContainerName      = JetBQuarkAssociation_AssociatedContainerName
1677 
1678 # Jet/Truth Jet and C Quark association
1679   
1680   JetCQuarkAssociation = RecoToTruthAssociationLabelling("JetCQuarkAssociation")
1681   Sequence += JetCQuarkAssociation
1682   
1683   JetCQuarkAssociation.OutputLevel = INFO
1684   
1685   JetCQuarkAssociation.ContainerName                = JetCQuarkAssociation_ContainerName
1686   JetCQuarkAssociation.SelectionInfoContainerName   = JetCQuarkAssociation_SelectionInfoContainerName
1687   JetCQuarkAssociation.InputSelectionLabel          = JetCQuarkAssociation_InputSelectionLabel
1688   JetCQuarkAssociation.AssociationInfoContainerName = JetCQuarkAssociation_AssociationInfoContainerName
1689   JetCQuarkAssociation.OutputAssociationLabel       = JetCQuarkAssociation_OutputAssociationLabel
1690   JetCQuarkAssociation.DeltaRMax                    = JetCQuarkAssociation_DeltaRMax
1691   JetCQuarkAssociation.PdgId                        = JetCQuarkAssociation_PdgId
1692   JetCQuarkAssociation.AssociatedContainerName      = JetCQuarkAssociation_AssociatedContainerName
1693 
1694 # Jet/Truth Jet and Light Quark association
1695   
1696   JetLightQuarkAssociation = RecoToTruthAssociationLabelling("JetLightQuarkAssociation")
1697   Sequence += JetLightQuarkAssociation
1698   
1699   JetLightQuarkAssociation.OutputLevel = INFO
1700   
1701   JetLightQuarkAssociation.ContainerName                = JetLightQuarkAssociation_ContainerName
1702   JetLightQuarkAssociation.SelectionInfoContainerName   = JetLightQuarkAssociation_SelectionInfoContainerName
1703   JetLightQuarkAssociation.InputSelectionLabel          = JetLightQuarkAssociation_InputSelectionLabel
1704   JetLightQuarkAssociation.AssociationInfoContainerName = JetLightQuarkAssociation_AssociationInfoContainerName
1705   JetLightQuarkAssociation.OutputAssociationLabel       = JetLightQuarkAssociation_OutputAssociationLabel
1706   JetLightQuarkAssociation.DeltaRMax                    = JetLightQuarkAssociation_DeltaRMax
1707   JetLightQuarkAssociation.PdgId                        = JetLightQuarkAssociation_PdgId
1708   JetLightQuarkAssociation.AssociatedContainerName      = JetLightQuarkAssociation_AssociatedContainerName
1709 
1710 # Jet and Truth Tau association
1711   
1712   JetTruthTauAssociation = RecoToTruthAssociationLabelling("JetTruthTauAssociation")
1713   Sequence += JetTruthTauAssociation
1714   
1715   JetTruthTauAssociation.OutputLevel = INFO
1716   
1717   JetTruthTauAssociation.ContainerName                = JetTruthTauAssociation_ContainerName
1718   JetTruthTauAssociation.SelectionInfoContainerName   = JetTruthTauAssociation_SelectionInfoContainerName
1719   JetTruthTauAssociation.InputSelectionLabel          = JetTruthTauAssociation_InputSelectionLabel
1720   JetTruthTauAssociation.AssociationInfoContainerName = JetTruthTauAssociation_AssociationInfoContainerName
1721   JetTruthTauAssociation.OutputAssociationLabel       = JetTruthTauAssociation_OutputAssociationLabel
1722   JetTruthTauAssociation.DeltaRMax                    = JetTruthTauAssociation_DeltaRMax
1723   JetTruthTauAssociation.PdgId                        = JetTruthTauAssociation_PdgId
1724   JetTruthTauAssociation.AssociatedContainerName      = JetTruthTauAssociation_AssociatedContainerName
1725 
1726 # Electron/Muon/Jet and W/Z Vertex association
1727   
1728   TruthWZVertexAssociation = RecoToTruthAssociationLabelling("TruthWZVertexAssociation")
1729   Sequence += TruthWZVertexAssociation
1730   
1731   TruthWZVertexAssociation.OutputLevel = INFO
1732   
1733   TruthWZVertexAssociation.ContainerName                = TruthWZVertexAssociation_ContainerName
1734   TruthWZVertexAssociation.SelectionInfoContainerName   = TruthWZVertexAssociation_SelectionInfoContainerName
1735   TruthWZVertexAssociation.InputSelectionLabel          = TruthWZVertexAssociation_InputSelectionLabel
1736   TruthWZVertexAssociation.AssociationInfoContainerName = TruthWZVertexAssociation_AssociationInfoContainerName
1737   TruthWZVertexAssociation.OutputAssociationLabel       = TruthWZVertexAssociation_OutputAssociationLabel
1738   TruthWZVertexAssociation.DeltaRMax                    = TruthWZVertexAssociation_DeltaRMax
1739   TruthWZVertexAssociation.PdgId                        = TruthWZVertexAssociation_PdgId
1740   TruthWZVertexAssociation.AssociatedContainerName      = TruthWZVertexAssociation_AssociatedContainerName
1741 
1742 # Tau Jet and W/Z Hadronic Tau Decay association
1743   
1744   TruthWZVisibleTauAssociation = RecoToTruthAssociationLabelling("TruthWZVisibleTauAssociation")
1745   Sequence += TruthWZVisibleTauAssociation
1746   
1747   TruthWZVisibleTauAssociation.OutputLevel = INFO
1748   
1749   TruthWZVisibleTauAssociation.ContainerName                = TruthWZVisibleTauAssociation_ContainerName
1750   TruthWZVisibleTauAssociation.SelectionInfoContainerName   = TruthWZVisibleTauAssociation_SelectionInfoContainerName
1751   TruthWZVisibleTauAssociation.InputSelectionLabel          = TruthWZVisibleTauAssociation_InputSelectionLabel
1752   TruthWZVisibleTauAssociation.AssociationInfoContainerName = TruthWZVisibleTauAssociation_AssociationInfoContainerName
1753   TruthWZVisibleTauAssociation.OutputAssociationLabel       = TruthWZVisibleTauAssociation_OutputAssociationLabel
1754   TruthWZVisibleTauAssociation.DeltaRMax                    = TruthWZVisibleTauAssociation_DeltaRMax
1755   TruthWZVisibleTauAssociation.PdgId                        = TruthWZVisibleTauAssociation_PdgId
1756   TruthWZVisibleTauAssociation.AssociatedContainerName      = TruthWZVisibleTauAssociation_AssociatedContainerName
1757 
1758 # Electron/Muon and W/Z Leptonic Tau Decay association
1759   
1760   TruthWZTauDecayAssociation = RecoToTruthAssociationLabelling("TruthWZTauDecayAssociation")
1761   Sequence += TruthWZTauDecayAssociation
1762   
1763   TruthWZTauDecayAssociation.OutputLevel = INFO
1764   
1765   TruthWZTauDecayAssociation.ContainerName                = TruthWZTauDecayAssociation_ContainerName
1766   TruthWZTauDecayAssociation.SelectionInfoContainerName   = TruthWZTauDecayAssociation_SelectionInfoContainerName
1767   TruthWZTauDecayAssociation.InputSelectionLabel          = TruthWZTauDecayAssociation_InputSelectionLabel
1768   TruthWZTauDecayAssociation.AssociationInfoContainerName = TruthWZTauDecayAssociation_AssociationInfoContainerName
1769   TruthWZTauDecayAssociation.OutputAssociationLabel       = TruthWZTauDecayAssociation_OutputAssociationLabel
1770   TruthWZTauDecayAssociation.DeltaRMax                    = TruthWZTauDecayAssociation_DeltaRMax
1771   TruthWZTauDecayAssociation.PdgId                        = TruthWZTauDecayAssociation_PdgId
1772   TruthWZTauDecayAssociation.AssociatedContainerName      = TruthWZTauDecayAssociation_AssociatedContainerName
1773 
1774 # Jet and Truth Jet association
1775   
1776   TruthJetAssociation = AssociationLabelling("TruthJetAssociation")
1777   Sequence += TruthJetAssociation
1778   
1779   TruthJetAssociation.OutputLevel = INFO
1780   
1781   TruthJetAssociation.ContainerName                        = TruthJetAssociation_ContainerName
1782   TruthJetAssociation.SelectionInfoContainerName           = TruthJetAssociation_SelectionInfoContainerName
1783   TruthJetAssociation.InputSelectionLabel                  = TruthJetAssociation_InputSelectionLabel
1784   TruthJetAssociation.AssociationInfoContainerName         = TruthJetAssociation_AssociationInfoContainerName
1785   TruthJetAssociation.OutputAssociationLabel               = TruthJetAssociation_OutputAssociationLabel
1786   TruthJetAssociation.DeltaRMax                            = TruthJetAssociation_DeltaRMax
1787   TruthJetAssociation.AssociatedContainerName              = TruthJetAssociation_AssociatedContainerName
1788   TruthJetAssociation.AssociatedSelectionInfoContainerName = TruthJetAssociation_AssociatedSelectionInfoContainerName
1789   TruthJetAssociation.AssociatedInputSelectionLabel        = TruthJetAssociation_AssociatedInputSelectionLabel 
1790   TruthJetAssociation.HighestAssociation                   = TruthJetAssociation_HighestAssociation
1791 
1792 # Track and Truth Electron/Muon association
1793   
1794   if ExecuteTrackSelection:
1795   
1796     TruthTrackAssociation = RecoToTruthTrackAssociationLabelling("TruthTrackAssociation")
1797     Sequence += TruthTrackAssociation
1798     
1799     TruthTrackAssociation.OutputLevel = INFO
1800     
1801     TruthTrackAssociation.ContainerName                   = TruthTrackAssociation_ContainerName
1802     TruthTrackAssociation.SelectionInfoContainerName      = TruthTrackAssociation_SelectionInfoContainerName
1803     TruthTrackAssociation.InputSelectionLabel             = TruthTrackAssociation_InputSelectionLabel
1804     TruthTrackAssociation.AssociationInfoContainerName    = TruthTrackAssociation_AssociationInfoContainerName
1805     TruthTrackAssociation.OutputAssociationLabel          = TruthTrackAssociation_OutputAssociationLabel
1806     TruthTrackAssociation.DeltaRMax                       = TruthTrackAssociation_DeltaRMax
1807     TruthTrackAssociation.PdgId                           = TruthTrackAssociation_PdgId
1808     TruthTrackAssociation.AssociatedContainerName         = TruthTrackAssociation_AssociatedContainerName
1809     TruthTrackAssociation.TruthTrackParticleContainerName = TruthTrackAssociation_TruthTrackParticleContainerName
1810   
1811 
1812 # Truth and Reconstructed Object/Particle associations :
1813 
1814 if ExecuteTruthSelection and ExecuteTruthToRecoAssociation:
1815 
1816 # B Quark/C Quark/Light Quark and Jet/Truth Jet association
1817 
1818   QuarkJetAssociation = TruthToRecoAssociationLabelling("QuarkJetAssociation")
1819   Sequence += QuarkJetAssociation
1820   
1821   QuarkJetAssociation.OutputLevel = INFO
1822   
1823   QuarkJetAssociation.ContainerName                        = QuarkJetAssociation_ContainerName
1824   QuarkJetAssociation.AssociationInfoContainerName         = QuarkJetAssociation_AssociationInfoContainerName
1825   QuarkJetAssociation.OutputAssociationLabel               = QuarkJetAssociation_OutputAssociationLabel
1826   QuarkJetAssociation.DeltaRMax                            = QuarkJetAssociation_DeltaRMax
1827   QuarkJetAssociation.AssociatedContainerName              = QuarkJetAssociation_AssociatedContainerName
1828   QuarkJetAssociation.AssociatedSelectionInfoContainerName = QuarkJetAssociation_AssociatedSelectionInfoContainerName
1829   QuarkJetAssociation.AssociatedInputSelectionLabel        = QuarkJetAssociation_AssociatedInputSelectionLabel
1830   QuarkJetAssociation.AssociatedPdgId                      = QuarkJetAssociation_AssociatedPdgId
1831 
1832 # Truth Electron and Electron association
1833 
1834   TruthElectronAssociation = TruthToRecoAssociationLabelling("TruthElectronAssociation")
1835   Sequence += TruthElectronAssociation
1836   
1837   TruthElectronAssociation.OutputLevel = INFO
1838   
1839   TruthElectronAssociation.ContainerName                        = TruthElectronAssociation_ContainerName
1840   TruthElectronAssociation.AssociationInfoContainerName         = TruthElectronAssociation_AssociationInfoContainerName
1841   TruthElectronAssociation.OutputAssociationLabel               = TruthElectronAssociation_OutputAssociationLabel
1842   TruthElectronAssociation.DeltaRMax                            = TruthElectronAssociation_DeltaRMax
1843   TruthElectronAssociation.AssociatedContainerName              = TruthElectronAssociation_AssociatedContainerName
1844   TruthElectronAssociation.AssociatedSelectionInfoContainerName = TruthElectronAssociation_AssociatedSelectionInfoContainerName
1845   TruthElectronAssociation.AssociatedInputSelectionLabel        = TruthElectronAssociation_AssociatedInputSelectionLabel
1846   TruthElectronAssociation.AssociatedPdgId                      = TruthElectronAssociation_AssociatedPdgId
1847 
1848 # Truth Muon and Muon association
1849 
1850   TruthMuonAssociation = TruthToRecoAssociationLabelling("TruthMuonAssociation")
1851   Sequence += TruthMuonAssociation
1852   
1853   TruthMuonAssociation.OutputLevel = INFO
1854   
1855   TruthMuonAssociation.ContainerName                        = TruthMuonAssociation_ContainerName
1856   TruthMuonAssociation.AssociationInfoContainerName         = TruthMuonAssociation_AssociationInfoContainerName
1857   TruthMuonAssociation.OutputAssociationLabel               = TruthMuonAssociation_OutputAssociationLabel
1858   TruthMuonAssociation.DeltaRMax                            = TruthMuonAssociation_DeltaRMax
1859   TruthMuonAssociation.AssociatedContainerName              = TruthMuonAssociation_AssociatedContainerName
1860   TruthMuonAssociation.AssociatedSelectionInfoContainerName = TruthMuonAssociation_AssociatedSelectionInfoContainerName
1861   TruthMuonAssociation.AssociatedInputSelectionLabel        = TruthMuonAssociation_AssociatedInputSelectionLabel
1862   TruthMuonAssociation.AssociatedPdgId                      = TruthMuonAssociation_AssociatedPdgId
1863 
1864 # Truth Tau and Tau Jet association
1865 
1866   TruthTauAssociation = TruthToRecoAssociationLabelling("TruthTauAssociation")
1867   Sequence += TruthTauAssociation
1868   
1869   TruthTauAssociation.OutputLevel = INFO
1870   
1871   TruthTauAssociation.ContainerName                        = TruthTauAssociation_ContainerName
1872   TruthTauAssociation.AssociationInfoContainerName         = TruthTauAssociation_AssociationInfoContainerName
1873   TruthTauAssociation.OutputAssociationLabel               = TruthTauAssociation_OutputAssociationLabel
1874   TruthTauAssociation.DeltaRMax                            = TruthTauAssociation_DeltaRMax
1875   TruthTauAssociation.AssociatedContainerName              = TruthTauAssociation_AssociatedContainerName
1876   TruthTauAssociation.AssociatedSelectionInfoContainerName = TruthTauAssociation_AssociatedSelectionInfoContainerName
1877   TruthTauAssociation.AssociatedInputSelectionLabel        = TruthTauAssociation_AssociatedInputSelectionLabel
1878   TruthTauAssociation.AssociatedPdgId                      = TruthTauAssociation_AssociatedPdgId
1879 
1880 
1881 # Object property and user data dump :
1882     
1883 # Reconstructed Objects
1884 
1885 TreeMaker = TreeMaker("TreeMaker")
1886 Sequence += TreeMaker
1887   
1888 TreeMaker.OutputLevel = INFO
1889 
1890 TreeMaker.TreeName                     = TreeMaker_TreeName
1891 TreeMaker.McEventContainerName         = TreeMaker_McEventContainerName
1892 TreeMaker.EventInfoName                = TreeMaker_EventInfoName
1893 TreeMaker.MissingEtName                = TreeMaker_MissingEtName
1894 TreeMaker.MissingEtLabel               = TreeMaker_MissingEtLabel
1895 TreeMaker.ContainerName                = TreeMaker_ContainerName
1896 TreeMaker.ContainerLabel               = TreeMaker_ContainerLabel
1897 TreeMaker.ContainerDumpOption          = TreeMaker_ContainerDumpOption
1898 TreeMaker.SelectionInfoContainerName   = TreeMaker_SelectionInfoContainerName
1899 TreeMaker.InputSelectionLabel          = TreeMaker_InputSelectionLabel
1900 TreeMaker.RecordedSelectionLabel       = TreeMaker_RecordedSelectionLabel
1901 TreeMaker.AssociationInfoContainerName = TreeMaker_AssociationInfoContainerName
1902 TreeMaker.RecordedAssociationLabel     = TreeMaker_RecordedAssociationLabel
1903 TreeMaker.ContainerInfoContainerName   = TreeMaker_ContainerInfoContainerName
1904 TreeMaker.RecordedContainerLabel       = TreeMaker_RecordedContainerLabel
1905 TreeMaker.EventInfoContainerName       = TreeMaker_EventInfoContainerName
1906 TreeMaker.RecordedEventLabel           = TreeMaker_RecordedEventLabel
1907 TreeMaker.EgammaDetailContainerName    = TreeMaker_EgammaDetailContainerName
1908 TreeMaker.TauJetDetailContainerName    = TreeMaker_TauJetDetailContainerName
1909 
1910 # Event Info
1911 
1912 if ExecuteInfoTreeMaker:
1913   
1914   InfoTreeMaker = InfoTreeMaker("InfoTreeMaker")
1915   Sequence += InfoTreeMaker
1916     
1917   InfoTreeMaker.OutputLevel = INFO
1918     
1919   InfoTreeMaker.TreeName             = InfoTreeMaker_TreeName
1920   InfoTreeMaker.McEventContainerName = InfoTreeMaker_McEventContainerName
1921   InfoTreeMaker.EventInfoName        = InfoTreeMaker_EventInfoName
1922 
1923 # Trigger Decision and Objects
1924       
1925 if ExecuteTriggerTreeMaker:
1926   
1927   TriggerTreeMaker = TriggerTreeMaker("TriggerTreeMaker")
1928   Sequence += TriggerTreeMaker
1929     
1930   TriggerTreeMaker.OutputLevel = INFO
1931     
1932   TriggerTreeMaker.TreeName                     = TriggerTreeMaker_TreeName
1933   TriggerTreeMaker.TriggerDecisionLabel         = TriggerTreeMaker_TriggerDecisionLabel
1934   TriggerTreeMaker.Level1Name                   = TriggerTreeMaker_Level1Name 
1935   TriggerTreeMaker.MissingEtName                = TriggerTreeMaker_MissingEtName
1936   TriggerTreeMaker.MissingEtLabel               = TriggerTreeMaker_MissingEtLabel
1937   TriggerTreeMaker.ContainerName                = TriggerTreeMaker_ContainerName
1938   TriggerTreeMaker.ContainerLabel               = TriggerTreeMaker_ContainerLabel
1939   TriggerTreeMaker.AssociationInfoContainerName = TriggerTreeMaker_AssociationInfoContainerName
1940   TriggerTreeMaker.RecordedAssociationLabel     = TriggerTreeMaker_RecordedAssociationLabel
1941   TriggerTreeMaker.ElectronEMClusterDRMax       = TriggerTreeMaker_ElectronEMClusterDRMax
1942 
1943 # Jet tagging information
1944 
1945 if ExecuteJetTaggingTreeMaker:
1946 
1947   JetTaggingTreeMaker = JetTaggingTreeMaker("JetTaggingTreeMaker")
1948   Sequence += JetTaggingTreeMaker
1949   
1950   JetTaggingTreeMaker.OutputLevel = INFO
1951   
1952   JetTaggingTreeMaker.TreeName                   = JetTaggingTreeMaker_TreeName
1953   JetTaggingTreeMaker.ContainerName              = JetTaggingTreeMaker_ContainerName
1954   JetTaggingTreeMaker.SelectionInfoContainerName = JetTaggingTreeMaker_SelectionInfoContainerName
1955   JetTaggingTreeMaker.InputSelectionLabel        = JetTaggingTreeMaker_InputSelectionLabel
1956   JetTaggingTreeMaker.DumpOption                 = JetTaggingTreeMaker_DumpOption
1957 
1958 # Raw Objects
1959   
1960 if ExecuteCellSelection or ExecuteTowerSelection:
1961   
1962   RawTreeMaker = RawTreeMaker("RawTreeMaker")
1963   Sequence += RawTreeMaker
1964     
1965   RawTreeMaker.OutputLevel = INFO
1966     
1967   RawTreeMaker.TreeName       = RawTreeMaker_TreeName
1968   RawTreeMaker.ContainerName  = RawTreeMaker_ContainerName
1969   RawTreeMaker.ContainerLabel = RawTreeMaker_ContainerLabel
1970 
1971 # Truth Particles/Objects
1972   
1973 if ExecuteTruthSelection:
1974   
1975   TruthTreeMaker = TruthTreeMaker("TruthTreeMaker")
1976   Sequence += TruthTreeMaker
1977     
1978   TruthTreeMaker.OutputLevel = INFO
1979     
1980   TruthTreeMaker.TreeName                        = TruthTreeMaker_TreeName
1981   TruthTreeMaker.McEventContainerName            = TruthTreeMaker_McEventContainerName
1982   TruthTreeMaker.DumpPrimaryVertex               = TruthTreeMaker_DumpPrimaryVertex
1983   TruthTreeMaker.MissingEtName                   = TruthTreeMaker_MissingEtName
1984   TruthTreeMaker.MissingEtLabel                  = TruthTreeMaker_MissingEtLabel
1985   TruthTreeMaker.MissingEtSource                 = TruthTreeMaker_MissingEtSource
1986   TruthTreeMaker.ContainerName                   = TruthTreeMaker_ContainerName
1987   TruthTreeMaker.ContainerLabel                  = TruthTreeMaker_ContainerLabel
1988   TruthTreeMaker.ContainerInfoContainerName      = TruthTreeMaker_ContainerInfoContainerName
1989   TruthTreeMaker.RecordedContainerLabel          = TruthTreeMaker_RecordedContainerLabel
1990   TruthTreeMaker.AssociationInfoContainerName    = TruthTreeMaker_AssociationInfoContainerName
1991   TruthTreeMaker.RecordedAssociationLabel        = TruthTreeMaker_RecordedAssociationLabel
1992   TruthTreeMaker.JetContainerName                = TruthTreeMaker_JetContainerName
1993   TruthTreeMaker.JetContainerLabel               = TruthTreeMaker_JetContainerLabel
1994   TruthTreeMaker.JetContainerInfoContainerName   = TruthTreeMaker_JetContainerInfoContainerName
1995   TruthTreeMaker.JetRecordedContainerLabel       = TruthTreeMaker_JetRecordedContainerLabel
1996   TruthTreeMaker.JetSelectionInfoContainerName   = TruthTreeMaker_JetSelectionInfoContainerName
1997   TruthTreeMaker.JetInputSelectionLabel          = TruthTreeMaker_JetInputSelectionLabel
1998   TruthTreeMaker.JetRecordedSelectionLabel       = TruthTreeMaker_JetRecordedSelectionLabel
1999   TruthTreeMaker.JetAssociationInfoContainerName = TruthTreeMaker_JetAssociationInfoContainerName
2000   TruthTreeMaker.JetRecordedAssociationLabel     = TruthTreeMaker_JetRecordedAssociationLabel
2001   TruthTreeMaker.EventInfoContainerName          = TruthTreeMaker_EventInfoContainerName
2002   TruthTreeMaker.RecordedEventLabel              = TruthTreeMaker_RecordedEventLabel
2003 
2004 # Truth Pdf
2005 
2006 if ExecutePdfTreeMaker:
2007 
2008   PdfTreeMaker = PdfTreeMaker("PdfTreeMaker")
2009   Sequence += PdfTreeMaker
2010     
2011   PdfTreeMaker.OutputLevel = INFO
2012     
2013   PdfTreeMaker.TreeName                   = PdfTreeMaker_TreeName
2014   PdfTreeMaker.McEventContainerName       = PdfTreeMaker_McEventContainerName
2015   PdfTreeMaker.TruthParticleContainerName = PdfTreeMaker_TruthParticleContainerName 
2016   PdfTreeMaker.PdfMethod                  = PdfTreeMaker_PdfMethod 
2017   PdfTreeMaker.Barcode                    = PdfTreeMaker_Barcode
2018   PdfTreeMaker.PdgId                      = PdfTreeMaker_PdgId  
2019 
2020 
2021 # Output initializations
2022   
2023 from GaudiSvc.GaudiSvcConf import THistSvc
2024 
2025 ServiceMgr += THistSvc()
2026 ServiceMgr.THistSvc.Output = ["SingleTop DATAFILE='"+OutputFileName+"' OPT='recreate'"]
2027 
2028 ServiceMgr.THistSvc.OutputLevel = FATAL

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-10-19 15:48:25, 2.4 KB) [[attachment:DESYSubmission_jobOption.py]]
  • [get | view] (2009-10-19 15:48:29, 110.9 KB) [[attachment:DESYexeSingleTopDPDMaker.py]]
  • [get | view] (2009-10-19 15:48:35, 9.2 KB) [[attachment:DESYrunSingleTopDPDMaker.py]]
  • [get | view] (2009-10-19 15:48:39, 145.4 KB) [[attachment:DESYsetSingleTopDPDMaker.py]]
  • [get | view] (2009-10-19 15:48:42, 4.3 KB) [[attachment:Datasets.py]]
  • [get | view] (2009-10-19 15:48:46, 4.6 KB) [[attachment:SingleTopDPDSubmission]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.