Atlfast AntiKt: Difference between revisions

From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary
No edit summary
Line 1: Line 1:
AntiKt is the new official ATLAS algorithm, despite it currently not being used in the standard reconstruction.
AntiKt is the new official ATLAS algorithm, despite it currently not being used in the standard reconstruction.


To produce TruthJets using AntiKt and output them into an AAN, i used the following fragment in my JobOptions:
To produce AntiKt jets from Atlfast one only needs to add the following lines to joboptions. This was tested and works in release 14.5.0, while using Pythia->Atlfast->AAN:


from AtlfastAlgs.AtlfastAlgsConf import Atlfast__ClusterMaker
Atlfast__ClusterMaker.Strategy = "AntiKtsdfg";


Producing AntiKt TruthJets and outputting them into an AAN is a bit more complicated:


from JetRec.JetGetters import *
from JetRec.JetGetters import *
Line 17: Line 22:
topSequence += Jet2
topSequence += Jet2


--[[User:Fruehr|fruehr]] 13:45, 14 May 2009 (UTC)


Producing AntiKt Atlfast jets is probably more complicated, and under study.
--[[User:Fruehr|fruehr]] 15:28, 7 May 2009 (UTC)

Revision as of 13:45, 14 May 2009

AntiKt is the new official ATLAS algorithm, despite it currently not being used in the standard reconstruction.

To produce AntiKt jets from Atlfast one only needs to add the following lines to joboptions. This was tested and works in release 14.5.0, while using Pythia->Atlfast->AAN:

from AtlfastAlgs.AtlfastAlgsConf import Atlfast__ClusterMaker
Atlfast__ClusterMaker.Strategy = "AntiKtsdfg";


Producing AntiKt TruthJets and outputting them into an AAN is a bit more complicated:

from JetRec.JetGetters import *
make_StandardJetGetter('AntiKt', 0.5, 'Truth') 
from JetRec.JetRecConf import CBNTAA_Jet
from JetRec.JetRecConf import CBNTAA_JetTool
JetTool2 = CBNTAA_JetTool("JetTool")
Jet2 = CBNTAA_Jet("CBNT_AntiKt5TruthJets")
Jet2.InputJetCollection = "AntiKt5TruthJets"
Jet2.BlockTag = "AntiKt5TruthJets"
Jet2.Tools = [ JetTool2 ]
from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()
topSequence += Jet2

--fruehr 13:45, 14 May 2009 (UTC)