 |
ATLAS Offline Software
|
◆ getDFJets()
| def python.HION7.getDFJets |
( |
|
flags | ) |
|
Create updated version of AntiKt*HIJets
Definition at line 66 of file HION7.py.
67 """ Create updated version of AntiKt*HIJets"""
70 JetColl = flags.HeavyIon.HIJetPrefix
71 from HIJetRec.HIJetRecConfigCA
import HIJetRecCfg
73 if flags.HeavyIon.doHIBTagging:
74 from BTagging.FlavorTaggingConfig
import FlavorTaggingCfg
76 from BTagging.TrackLeptonConfig
import TrackLeptonDecorationCfg
77 acc.merge(TrackLeptonDecorationCfg(flags))
◆ HION7Cfg()
| def python.HION7.HION7Cfg |
( |
|
flags | ) |
|
Definition at line 216 of file HION7.py.
220 JetColl = flags.HeavyIon.HIJetPrefix
223 acc.merge(
HION7KernelCfg(flags, name=
"HION7Kernel",StreamName =
"StreamDAOD_HION7"))
225 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
226 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
227 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
228 from DerivationFrameworkHI
import ListSlimming
◆ HION7GlobalAugmentationToolCfg()
| def python.HION7.HION7GlobalAugmentationToolCfg |
( |
|
flags | ) |
|
Configure the example augmentation tool
Definition at line 123 of file HION7.py.
124 """Configure the example augmentation tool"""
130 caloClusterKey =
"CaloCalTopoClusters"
131 from AthenaConfiguration.Enums
import HIMode
132 if flags.Reco.HIMode == HIMode.HI:
136 augmentation_tool = CompFactory.DerivationFramework.HIGlobalAugmentationTool(name=
"HION7AugmentationTool",
138 doTopoClusDec = doTopoClus,
139 CaloClusterKey = caloClusterKey
142 acc.addPublicTool(augmentation_tool, primary=
True)
◆ HION7KernelCfg()
| def python.HION7.HION7KernelCfg |
( |
|
flags, |
|
|
|
name = 'HION7Kernel', |
|
|
** |
kwargs |
|
) |
| |
Configure the derivation framework driving algorithm (kernel)
Definition at line 147 of file HION7.py.
148 """Configure the derivation framework driving algorithm (kernel)"""
◆ HION7SkimmingToolCfg()
| def python.HION7.HION7SkimmingToolCfg |
( |
|
flags | ) |
|
Skiming.
Configure the example skimming tool
Definition at line 84 of file HION7.py.
85 """Configure the example skimming tool"""
87 JetColl = flags.HeavyIon.HIJetPrefix
89 ExtraData += [
'xAOD::JetContainer/'+JetColl+
'AntiKt2HIJets']
90 ExtraData += [
'xAOD::JetContainer/'+JetColl+
'AntiKt4HIJets']
92 acc.addSequence(
seqAND(
"HION7Sequence") )
93 acc.getSequence(
"HION7Sequence").ExtraDataForDynamicConsumers = ExtraData
94 acc.getSequence(
"HION7Sequence").ProcessDynamicDataDependencies =
True
98 from DerivationFrameworkHI
import ListTriggers
99 from CoolConvUtilities.ParticleTypeUtil
import getTypeForRun
101 isSmallSystem =
False
102 if (info.getBeam1Type() < 11)
or (info.getBeam2Type() < 11):
104 if not flags.Input.isMC:
105 print(
'project: ', flags.Input.ProjectName,
', isSmallSystem: ', isSmallSystem)
106 TriggerDict = ListTriggers.GetTriggers(flags.Input.ProjectName, isSmallSystem)
107 for i, key
in enumerate(TriggerDict):
108 expression = expression +
'(' + key +
' && count('+JetColl+
'AntiKt4HIJets.pt >' +
str(TriggerDict[key]) +
'*GeV) >=1 ) ' +
'|| (' + key +
' && count('+JetColl+
'AntiKt2HIJets.pt >' +
str(TriggerDict[key]) +
'*GeV) >=1 ) '
109 if not i == len(TriggerDict) - 1:
110 expression = expression +
' || '
112 expression = expression +
'count('+JetColl+
'AntiKt2HIJets.pt > 15000) > 1 || count('+JetColl+
'AntiKt4HIJets.pt > 15000) > 1'
114 from TrigDecisionTool.TrigDecisionToolConfig
import TrigDecisionToolCfg
116 acc.addPublicTool(CompFactory.DerivationFramework.xAODStringSkimmingTool(name =
"HION7StringSkimmingTool",
117 expression = expression,
118 TrigDecisionTool=tdt),
◆ PhysAugmentationsHION7Cfg()
| def python.HION7.PhysAugmentationsHION7Cfg |
( |
|
flags | ) |
|
in place of common PhysCommonAugmentations:
Configure the physics augmentation for HION7
Definition at line 11 of file HION7.py.
13 """Configure the physics augmentation for HION7"""
18 from DerivationFrameworkMCTruth.MCTruthCommonConfig
import (
19 AddStandardTruthContentsCfg,
20 AddHFAndDownstreamParticlesCfg,
21 AddMiniTruthCollectionLinksCfg,
23 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import TruthCollectionMakerCfg
26 name =
"PhysCommonTruthCharmTool",
27 NewCollectionName =
"TruthCharm",
28 KeepNavigationInfo =
False,
29 ParticleSelectionString =
"(abs(TruthParticles.pdgId) == 4)",
31 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
32 acc.addEventAlgo(CommonAugmentation(
"PhysCommonTruthCharmKernel",AugmentationTools=[PhysCommonTruthCharmTool]))
36 navInputCollections =[
"TruthElectrons",
46 "TruthHFWithDecayParticles"]))
51 from DerivationFrameworkInDet.InDetCommonConfig
import InDetCommonCfg
52 from DerivationFrameworkMuons.MuonsCommonConfig
import MuonsCommonCfg
53 from DerivationFrameworkEGamma.EGammaCommonConfig
import EGammaCommonCfg
55 DoVertexFinding = flags.Tracking.doVertexFinding,
56 AddPseudoTracks = flags.Tracking.doPseudoTracking,
58 DoR3LargeD0 = flags.Tracking.doLargeD0,
59 StoreSeparateLargeD0Container = flags.Tracking.storeSeparateLargeD0Container,
◆ AllVariables
| python.HION7.AllVariables |
◆ AllVars
◆ AntiKt2HIJetsThinningTool
| python.HION7.AntiKt2HIJetsThinningTool |
Initial value:
3 name =
"AntiKt2HIJetsThinningTool",
4 StreamName = kwargs[
'StreamName'],
5 JetKey = JetColl+
"AntiKt2HIJets",
6 SelectionString = JetColl+
"AntiKt2HIJets.pt > "+
str(pTCut) +
"*GeV",
7 InDetTrackParticlesKey =
"InDetTrackParticles"))
Definition at line 176 of file HION7.py.
◆ AntiKt4HIJetsThinningTool
| python.HION7.AntiKt4HIJetsThinningTool |
Initial value:
3 name =
"AntiKt4HIJetsThinningTool",
4 StreamName = kwargs[
'StreamName'],
5 JetKey = JetColl+
"AntiKt4HIJets",
6 SelectionString = JetColl+
"AntiKt4HIJets.pt > "+
str(pTCut) +
"*GeV",
7 InDetTrackParticlesKey =
"InDetTrackParticles"))
Definition at line 184 of file HION7.py.
◆ augmentationTool
◆ extra_AppendToDictionary
| dictionary python.HION7.extra_AppendToDictionary = {} |
◆ ExtraVariables
| python.HION7.ExtraVariables |
◆ ExtraVars
◆ globalAugmentationTool
◆ HIJetRemovedBranches
◆ HION7ItemList
| python.HION7.HION7ItemList = HION7SlimmingHelper.GetItemList() |
◆ HION7SlimmingHelper
| python.HION7.HION7SlimmingHelper = SlimmingHelper("HION7SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags) |
◆ info
| python.HION7.info = getTypeForRun(flags.Input.RunNumbers[0]) |
◆ isSmallSystem
| bool python.HION7.isSmallSystem = False |
◆ jet_var_str
◆ JetColl
| python.HION7.JetColl = flags.HeavyIon.HIJetPrefix |
◆ jetRlist
| python.HION7.jetRlist = flags.HeavyIon.Jet.RValues |
◆ minTrackPt
| python.HION7.minTrackPt = flags.HeavyIon.MinTrackPt |
◆ output
Initial value: 1 = [
"xAOD::JetContainer#"+JetColl+
"AntiKt"+
str(jetR)+
"HIJets",
2 "xAOD::JetAuxContainer#"+JetColl+
"AntiKt"+
str(jetR)+
"HIJetsAux.-PseudoJet"+jet_var_str]
Definition at line 261 of file HION7.py.
◆ pTCut
| int python.HION7.pTCut = 20 |
◆ sequenceName
| python.HION7.sequenceName |
◆ skimmingTool
◆ SmartCollections
| python.HION7.SmartCollections |
◆ thinningTools
| list python.HION7.thinningTools |
Initial value: 1 = [TrackParticleThinningTool,
2 AntiKt2HIJetsThinningTool,
3 AntiKt4HIJetsThinningTool]
Definition at line 192 of file HION7.py.
◆ track_thinning_expression
| string python.HION7.track_thinning_expression = "InDetTrackParticles.pt > "+str(minTrackPt)+"*GeV" |
◆ TrackParticleThinningTool
| python.HION7.TrackParticleThinningTool |
Initial value:
3 name =
"PHYSTrackParticleThinningTool",
4 StreamName = kwargs[
'StreamName'],
5 SelectionString = track_thinning_expression,
6 InDetTrackParticlesKey =
"InDetTrackParticles"))
Definition at line 169 of file HION7.py.
◆ truth_thinning_expression
| string python.HION7.truth_thinning_expression = "(TruthParticles.status==1) && (TruthParticles.pt > "+str(minTrackPt-0.2)+"*GeV) && (abs(TruthParticles.eta) < 2.7)" |
◆ TruthParticleThinningTool
| python.HION7.TruthParticleThinningTool |
Initial value:
2 name=
"TruthParticleThinningTool",
3 StreamName=kwargs[
'StreamName'],
4 ParticleSelectionString = truth_thinning_expression
Definition at line 198 of file HION7.py.
def FlavorTaggingCfg(cfgFlags, JetCollection, pv_col='PrimaryVertices', trackAugmenterPrefix=None, fast=False, JetTrackAssociator='TracksForBTagging', trackCollection='InDetTrackParticles')
def AddMiniTruthCollectionLinksCfg(flags, **kwargs)
def AddPVCollectionCfg(flags)
def EGammaCommonCfg(ConfigFlags)
def HION7GlobalAugmentationToolCfg(flags)
def getTypeForRun(run, quiet=False)
def MuonsCommonCfg(flags, suff="")
def HION7KernelCfg(flags, name='HION7Kernel', **kwargs)
def AddStandardTruthContentsCfg(flags, decorationDressing='dressedPhoton', includeTausInDressingPhotonRemoval=False, navInputCollections=["TruthElectrons", "TruthMuons", "TruthPhotons", "TruthTaus", "TruthNeutrinos", "TruthBSM", "TruthBottom", "TruthTop", "TruthBoson"], prefix='')
void print(char *figname, TCanvas *c1)
def AddHFAndDownstreamParticlesCfg(flags, **kwargs)
Add electrons, photons, and their downstream particles in a special collection def addEgammaAndDownst...
def TrigDecisionToolCfg(flags)
def InDetCommonCfg(flags, **kwargs)
def seqAND(name, subs=[], invert=False)
def PhysAugmentationsHION7Cfg(flags)
in place of common PhysCommonAugmentations:
def HION7SkimmingToolCfg(flags)
Skiming.