ATLAS Offline Software
JetContainerInfo.h
Go to the documentation of this file.
1 // this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODJET_JETALGORITHMTYPE_H
8 #define XAODJET_JETALGORITHMTYPE_H
9 
18 
19 #include <string>
20 #include <unordered_set>
21 
22 namespace xAOD {
23 
24 
25  namespace JetAlgorithmType{
29  enum ID {
30  // fastjet enums
41  // nothing more for now...
42  };
43 
45  const std::string& algName(ID id);
46 
48  ID algId(const std::string & n);
49 
50  }
51 
52  namespace JetInput {
53 
54  enum Type {
63  LCPFlow, // LC PFlow
64  EMPFlow, // EM Pflow at EM scale
65  EMCPFlow, // EM Pflow calibrated to LC scale
66  Jet,
70  TruthDressedWZ, // Truth jets without prompt e/mu (or dressed photons) or prompt gammas
86  TruthCharged, // Truth jets with only charged particles
95  HI,
97  PFlowCustomVtx, // for testing
99  Other = 100,
100  Uncategorized= 1000
101  };
102 
103  bool isValidConstitType(Type t);
104 
105  const std::string& typeName(Type t);
106 
107  Type inputType(const std::string &n);
108  }
109 
110  namespace JetTransform {
112  enum Type {
115  Trim = 2,
116  Prune = 3,
117  MassDrop = 4,
120  AntiKtRecluster = 7
121  };
123  std::string name(Type t);
125  Type type(const std::string& name);
126  }
127 
128 }
129 #endif
xAOD::JetInput::PFlowCustomVtx
@ PFlowCustomVtx
Definition: JetContainerInfo.h:97
xAOD::JetInput::LCTopoOrigin
@ LCTopoOrigin
Definition: JetContainerInfo.h:67
xAOD::JetInput::EMPFlowVorSKTime
@ EMPFlowVorSKTime
Definition: JetContainerInfo.h:94
xAOD::JetInput::LCTopoOriginCSSK
@ LCTopoOriginCSSK
Definition: JetContainerInfo.h:79
xAOD::JetInput::EMPFlowVor
@ EMPFlowVor
Definition: JetContainerInfo.h:83
xAOD::JetInput::HIClusters
@ HIClusters
Definition: JetContainerInfo.h:96
xAOD::JetInput::PFlow
@ PFlow
Definition: JetContainerInfo.h:62
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
xAOD::JetAlgorithmType::ee_genkt_algorithm
@ ee_genkt_algorithm
Definition: JetContainerInfo.h:38
xAOD::JetAlgorithmType::kt_algorithm
@ kt_algorithm
Definition: JetContainerInfo.h:31
xAOD::JetInput::LCTopoOriginCS
@ LCTopoOriginCS
Definition: JetContainerInfo.h:77
xAOD::JetInput::EMTopoOriginVorSK
@ EMTopoOriginVorSK
Definition: JetContainerInfo.h:75
xAOD::JetAlgorithmType::algName
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
Definition: JetContainerInfo.cxx:67
xAOD::JetInput::EMTopoOriginSK
@ EMTopoOriginSK
Definition: JetContainerInfo.h:71
xAOD::JetInput::EMTopoOriginCSSK
@ EMTopoOriginCSSK
Definition: JetContainerInfo.h:74
xAOD::JetInput::Track
@ Track
Definition: JetContainerInfo.h:61
xAOD::JetInput::EMTopoOriginCSSKTime
@ EMTopoOriginCSSKTime
Definition: JetContainerInfo.h:89
xAOD::JetInput::EMTopoOriginTime
@ EMTopoOriginTime
Definition: JetContainerInfo.h:87
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JetInput::LCTopoOriginVorSK
@ LCTopoOriginVorSK
Definition: JetContainerInfo.h:80
xAOD::JetAlgorithmType::ee_kt_algorithm
@ ee_kt_algorithm
Definition: JetContainerInfo.h:37
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::JetInput::typeName
const std::string & typeName(Type id)
Definition: JetContainerInfo.cxx:199
xAOD::JetInput::isValidConstitType
bool isValidConstitType(Type t)
Definition: JetContainerInfo.cxx:193
xAOD::JetInput::LCTopo
@ LCTopo
Definition: JetContainerInfo.h:55
xAOD::JetInput::EMPFlowByVertex
@ EMPFlowByVertex
Definition: JetContainerInfo.h:98
xAOD::JetInput::inputType
Type inputType(const std::string &n)
Definition: JetContainerInfo.cxx:208
xAOD::JetInput::TruthDressedWZ
@ TruthDressedWZ
Definition: JetContainerInfo.h:70
xAOD::JetInput::EMPFlowCSSKTime
@ EMPFlowCSSKTime
Definition: JetContainerInfo.h:93
xAOD::JetAlgorithmType::cambridge_for_passive_algorithm
@ cambridge_for_passive_algorithm
Definition: JetContainerInfo.h:35
xAOD::JetInput::EMTopoOrigin
@ EMTopoOrigin
Definition: JetContainerInfo.h:68
xAOD::JetAlgorithmType::plugin_algorithm
@ plugin_algorithm
Definition: JetContainerInfo.h:39
xAOD::JetAlgorithmType::genkt_algorithm
@ genkt_algorithm
Definition: JetContainerInfo.h:34
xAOD::JetInput::LCPFlow
@ LCPFlow
Definition: JetContainerInfo.h:63
xAOD::JetTransform::NoTransform
@ NoTransform
Definition: JetContainerInfo.h:114
xAOD::JetInput::TruthWZ
@ TruthWZ
Definition: JetContainerInfo.h:60
xAOD::JetInput::EMTopoOriginCS
@ EMTopoOriginCS
Definition: JetContainerInfo.h:72
xAOD::JetInput::EMPFlowCSSK
@ EMPFlowCSSK
Definition: JetContainerInfo.h:84
xAOD::JetInput::TruthCharged
@ TruthCharged
Definition: JetContainerInfo.h:86
xAOD::JetTransform::AntiKtRecluster
@ AntiKtRecluster
Definition: JetContainerInfo.h:120
beamspotman.n
n
Definition: beamspotman.py:731
xAOD::JetInput::TrackCaloCluster
@ TrackCaloCluster
Definition: JetContainerInfo.h:69
xAOD::JetInput::Truth
@ Truth
Definition: JetContainerInfo.h:59
xAOD::JetAlgorithmType::ID
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
Definition: JetContainerInfo.h:29
xAOD::JetAlgorithmType::undefined_jet_algorithm
@ undefined_jet_algorithm
Definition: JetContainerInfo.h:40
xAODType
Definition: ObjectType.h:13
xAOD::JetInput::EMPFlow
@ EMPFlow
Definition: JetContainerInfo.h:64
xAOD::JetTransform::MassDrop
@ MassDrop
Definition: JetContainerInfo.h:117
xAOD::JetInput::HI
@ HI
Definition: JetContainerInfo.h:95
xAOD::JetTransform::type
Type type(const std::string &name)
Convert string to jet transformation enum.
Definition: JetContainerInfo.cxx:235
xAOD::JetTransform::KtRecluster
@ KtRecluster
Definition: JetContainerInfo.h:118
xAOD::JetAlgorithmType::genkt_for_passive_algorithm
@ genkt_for_passive_algorithm
Definition: JetContainerInfo.h:36
xAOD::JetInput::EMTopoOriginSKTime
@ EMTopoOriginSKTime
Definition: JetContainerInfo.h:88
xAOD::JetInput::EMPFlowCS
@ EMPFlowCS
Definition: JetContainerInfo.h:82
xAOD::JetInput::EMPFlowTime
@ EMPFlowTime
Definition: JetContainerInfo.h:91
xAOD::JetAlgorithmType::cambridge_algorithm
@ cambridge_algorithm
Definition: JetContainerInfo.h:32
xAOD::JetInput::EMPFlowSKTime
@ EMPFlowSKTime
Definition: JetContainerInfo.h:92
xAOD::JetAlgorithmType::antikt_algorithm
@ antikt_algorithm
Definition: JetContainerInfo.h:33
xAOD::JetInput::EMTopo
@ EMTopo
Definition: JetContainerInfo.h:56
xAOD::JetTransform::Trim
@ Trim
Definition: JetContainerInfo.h:115
xAOD::JetInput::LCTopoOriginVor
@ LCTopoOriginVor
Definition: JetContainerInfo.h:78
xAOD::JetTransform::Prune
@ Prune
Definition: JetContainerInfo.h:116
xAOD::JetTransform::name
std::string name(Type type)
Convert jet transformation enum to string.
Definition: JetContainerInfo.cxx:221
xAOD::JetInput::LCTopoOriginSK
@ LCTopoOriginSK
Definition: JetContainerInfo.h:76
xAOD::JetInput::Other
@ Other
Definition: JetContainerInfo.h:99
xAOD::JetAlgorithmType::algId
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
Definition: JetContainerInfo.cxx:76
xAOD::JetInput::EMTopoOriginVorSKTime
@ EMTopoOriginVorSKTime
Definition: JetContainerInfo.h:90
xAOD::JetInput::EMPFlowSK
@ EMPFlowSK
Definition: JetContainerInfo.h:81
xAOD::JetInput::EMCPFlow
@ EMCPFlow
Definition: JetContainerInfo.h:65
xAOD::JetInput::TopoTower
@ TopoTower
Definition: JetContainerInfo.h:57
xAOD::JetInput::EMPFlowVorSK
@ EMPFlowVorSK
Definition: JetContainerInfo.h:85
xAOD::JetTransform::UnknownTransform
@ UnknownTransform
Definition: JetContainerInfo.h:113
xAOD::JetTransform::CamKtRecluster
@ CamKtRecluster
Definition: JetContainerInfo.h:119
xAOD::JetInput::Tower
@ Tower
Definition: JetContainerInfo.h:58
xAOD::JetInput::Jet
@ Jet
Definition: JetContainerInfo.h:66
xAOD::JetInput::Uncategorized
@ Uncategorized
Definition: JetContainerInfo.h:100
xAOD::JetInput::EMTopoOriginVor
@ EMTopoOriginVor
Definition: JetContainerInfo.h:73