ATLAS Offline Software
Enumerations | Functions
xAOD::JetTransform Namespace Reference

Enumerations

enum  Type {
  UnknownTransform = 0, NoTransform = 1, Trim = 2, Prune = 3,
  MassDrop = 4, KtRecluster = 5, CamKtRecluster = 6, AntiKtRecluster = 7
}
 Enum for types of jet transformations. More...
 

Functions

std::string name (Type t)
 Convert jet transformation enum to string. More...
 
Type type (const std::string &name)
 Convert string to jet transformation enum. More...
 

Enumeration Type Documentation

◆ Type

Enum for types of jet transformations.

Enumerator
UnknownTransform 
NoTransform 
Trim 
Prune 
MassDrop 
KtRecluster 
CamKtRecluster 
AntiKtRecluster 

Definition at line 112 of file JetContainerInfo.h.

112  {
113  UnknownTransform = 0,
114  NoTransform = 1,
115  Trim = 2,
116  Prune = 3,
117  MassDrop = 4,
118  KtRecluster = 5,
119  CamKtRecluster = 6,
120  AntiKtRecluster = 7
121  };

Function Documentation

◆ name()

std::string xAOD::JetTransform::name ( Type  type)

Convert jet transformation enum to string.

Definition at line 221 of file JetContainerInfo.cxx.

221  {
222  switch(type) {
223  case UnknownTransform: return "UnknownTransform";
224  case NoTransform: return "NoTransform";
225  case Trim: return "Trim";
226  case Prune: return "Prune";
227  case MassDrop: return "MassDrop";
228  case KtRecluster: return "KtRecluster";
229  case CamKtRecluster: return "CamKtRecluster";
230  case AntiKtRecluster: return "AntiKtRecluster";
231  }
232  return "UnknownTransform";
233  }

◆ type()

Type xAOD::JetTransform::type ( const std::string &  name)

Convert string to jet transformation enum.

Definition at line 235 of file JetContainerInfo.cxx.

235  {
236  if ( name == "UnknownTransform" ) return NoTransform;
237  if ( name == "NoTransform" ) return NoTransform;
238  if ( name == "Trim" ) return Trim;
239  if ( name == "Prune" ) return Prune;
240  if ( name == "MassDrop" ) return MassDrop;
241  if ( name == "KtRecluster" ) return KtRecluster;
242  if ( name == "CamKtRecluster" ) return CamKtRecluster;
243  if ( name == "AntiKtRecluster" ) return AntiKtRecluster;
244  return UnknownTransform;
245  }
xAOD::JetTransform::NoTransform
@ NoTransform
Definition: JetContainerInfo.h:114
xAOD::JetTransform::AntiKtRecluster
@ AntiKtRecluster
Definition: JetContainerInfo.h:120
xAOD::JetTransform::MassDrop
@ MassDrop
Definition: JetContainerInfo.h:117
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAOD::JetTransform::Trim
@ Trim
Definition: JetContainerInfo.h:115
xAOD::JetTransform::Prune
@ Prune
Definition: JetContainerInfo.h:116
xAOD::JetTransform::UnknownTransform
@ UnknownTransform
Definition: JetContainerInfo.h:113
xAOD::JetTransform::CamKtRecluster
@ CamKtRecluster
Definition: JetContainerInfo.h:119