ATLAS Offline Software
Loading...
Searching...
No Matches
PartonSchemeConfig.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef PARTONS_PARTONSCHEMECONFIG_H
8#define PARTONS_PARTONSCHEMECONFIG_H
9
10#include <stdexcept>
11#include <string>
12#include <vector>
13
14namespace CP {
15
18 std::vector<std::string>
20 std::string decorationKey;
21 int idx = 0;
22 bool isVector = false;
23};
24
36
40 std::string parent = "";
41 std::string mode = "resonant";
42 int count = 1;
43 bool extended = false;
44};
45
63
66 enum Type { Z, W } type;
67 int count = 1;
68 bool extended = false;
69};
70
73 std::vector<std::string> truthCollections;
74 std::vector<DecoratorGroup>
76 std::vector<DecoratorZW>
78 std::vector<SpecialFillOp>
80 std::vector<GenericFillOp>
82};
83
86const PartonSchemeConfig& getSchemeConfig(const std::string& schemeName);
87
88} // namespace CP
89
90#endif // PARTONS_PARTONSCHEMECONFIG_H
Select isolated Photons, Electrons and Muons.
SpecialFillType
Maps to an existing Fill*PartonHistory method on CalcPartonHistory.
@ Z
FillZPartonHistory(history, parent, dec, count, mode)
@ Ttbar
FillTtbarPartonHistory.
@ W
FillWPartonHistory(history, parent, dec, count, mode)
@ Ztautau
FillZtautauPartonHistory(history, parent, dec, count, mode)
@ Higgs
FillHiggsPartonHistory(history, mode, dec)
@ Top
FillTopPartonHistory.
@ AntiTop
FillAntiTopPartonHistory.
@ Gamma
FillGammaPartonHistory(history, parent, dec)
const PartonSchemeConfig & getSchemeConfig(const std::string &schemeName)
Returns the configuration for a given scheme name.
DecoratorGroup
Maps to an existing Initialize*Decorators method (non-parameterized ones).
@ FourTop
Initialize4TopDecorators()
@ VectorAntiBottom
InitializeVectorAntiBottomDecorators()
@ VectorAntiCharm
InitializeVectorAntiCharmDecorators()
@ Bottom
InitializeBottomDecorators()
@ Charm
InitializeCharmDecorators()
@ AntiCharm
InitializeAntiCharmDecorators()
@ VectorBottom
InitializeVectorBottomDecorators()
@ VectorCharm
InitializeVectorCharmDecorators()
@ AntiBottom
InitializeAntiBottomDecorators()
Photon_v1 Photon
Definition of the current "egamma version".
Parameterized Z or W decorator initialisation (needs count/extended args).
bool extended
only relevant for Z
One call to FillGenericPartonHistory or FillGenericVectorPartonHistory.
std::vector< std::string > retrievalKeys
particle map keys to try (in order)
int idx
occurrence index in the particle map vector
bool isVector
true → use FillGenericVectorPartonHistory
std::string decorationKey
output decoration name (without prefix)
Top-level configuration for a named parton history scheme.
std::vector< SpecialFillOp > specialFills
calls to dedicated Fill* methods
std::vector< DecoratorZW > decoratorZWs
parameterized Z/W decorator groups
std::vector< std::string > truthCollections
truth containers to merge
std::vector< GenericFillOp > genericFills
calls to FillGenericPartonHistory
std::vector< DecoratorGroup > decoratorGroups
non-parameterized decorator groups
Parameterizes one special fill call.
std::string parent
for Z/W/Gamma: parent string arg
std::string mode
for Z/W/H: mode string arg
bool extended
for Z: whether to include tau decay products
int count
for Z/W: nZs or nWs
SpecialFillType type