Atlfast AntiKt: Difference between revisions
From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
from AtlfastAlgs.AtlfastAlgsConf import Atlfast__ClusterMaker |
from AtlfastAlgs.AtlfastAlgsConf import Atlfast__ClusterMaker |
||
Atlfast__ClusterMaker.Strategy = " |
Atlfast__ClusterMaker.Strategy = "AntiKt"; |
||
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 = "AntiKt";
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)