Atlfast AntiKt: Difference between revisions

From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary
mNo edit summary
Ā 
(2 intermediate revisions by the same user not shown)
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.


Producing AntiKt TruthJets and outputting them into an AAN can be done like this:
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 *
make_StandardJetGetter('AntiKt', 0.5, 'Truth')
make_StandardJetGetter('AntiKt', 0.4, 'Truth')
from JetRec.JetRecConf import CBNTAA_Jet
from JetRec.JetRecConf import CBNTAA_Jet
from JetRec.JetRecConf import CBNTAA_JetTool
from JetRec.JetRecConf import CBNTAA_JetTool
JetTool2 = CBNTAA_JetTool("JetTool")
JetTool2 = CBNTAA_JetTool("JetTool")
Jet2 = CBNTAA_Jet("CBNT_AntiKt5TruthJets")
Jet2 = CBNTAA_Jet("CBNT_AntiKt4TruthJets")
Jet2.InputJetCollection = "AntiKt5TruthJets"
Jet2.InputJetCollection = "AntiKt4TruthJets"
Jet2.BlockTag = "AntiKt5TruthJets"
Jet2.BlockTag = "AntiKt4TruthJets"
Jet2.Tools = [ JetTool2 ]
Jet2.Tools = [ JetTool2 ]
from AthenaCommon.AlgSequence import AlgSequence
from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()
topSequence = AlgSequence()
topSequence += Jet2
topSequence += Jet2

Regarding Atlfast reconstructed jets, it seems to be more complicated. There is AntiKt stub code in Atlfast, Athena Release 15.X, but it doesnt seem to be complete.



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

Latest revision as of 10:57, 19 May 2009

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

Producing AntiKt TruthJets and outputting them into an AAN can be done like this:

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

Regarding Atlfast reconstructed jets, it seems to be more complicated. There is AntiKt stub code in Atlfast, Athena Release 15.X, but it doesnt seem to be complete.


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