Skip to content
Snippets Groups Projects
Commit 46b7cb85 authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska
Browse files

Merge branch '21.6-jetalg' into '21.6'

correct syntax in GenerateTruthJets, so that multiple jets filters could be used

See merge request atlas/athena!26568
parents c2da9758 b60f379a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# art-description: Generation test Pythia8 with two jet filters QCDTruthJetJZ2 with R=0.6 and MultiBJetFilter with R=0.4
# art-type: build
# art-include: 21.6/AthGeneration
# art-output: *.root
# art-output: log.generate
## Any arguments are considered overrides, and will be added at the end
export TRF_ECHO=True;
Gen_tf.py --ecmEnergy=13000 --jobConfig=421126 --maxEvents=10 \
--outputEVNTFile=test_Py8JZ2MultiBJetFilt.EVNT.pool.root \
echo "art-result: $? generate"
...@@ -4,8 +4,10 @@ jetlog = Logging.logging.getLogger("GenerateTruthJets") ...@@ -4,8 +4,10 @@ jetlog = Logging.logging.getLogger("GenerateTruthJets")
# Attach jet algorithms # Attach jet algorithms
def PrepareTruthJetInputs(algseq): def PrepareTruthJetInputs(algseq):
print "will prepare thruth jets" print "will prepare thruth jets"
if "JetTruthCopyAlg" in algseq: return # if "JetTruthCopyAlg" in algseq:
print "it was not returned" if hasattr( algseq, "JetTruthCopyAlg" ):
"JetTruthCopyAlg already present, no need to add again"
return
from AthenaCommon.AppMgr import ToolSvc from AthenaCommon.AppMgr import ToolSvc
from MCTruthClassifier import MCTruthClassifierConf from MCTruthClassifier import MCTruthClassifierConf
from ParticleJetTools import ParticleJetToolsConf from ParticleJetTools import ParticleJetToolsConf
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment