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

Enumerations

enum  Type {
  LCTopo, EMTopo, TopoTower, Tower,
  Truth, TruthWZ, Track, PFlow,
  LCPFlow, EMPFlow, EMCPFlow, Jet,
  LCTopoOrigin, EMTopoOrigin, TrackCaloCluster, TruthDressedWZ,
  EMTopoOriginSK, EMTopoOriginCS, EMTopoOriginVor, EMTopoOriginCSSK,
  EMTopoOriginVorSK, LCTopoOriginSK, LCTopoOriginCS, LCTopoOriginVor,
  LCTopoOriginCSSK, LCTopoOriginVorSK, EMPFlowSK, EMPFlowCS,
  EMPFlowVor, EMPFlowCSSK, EMPFlowVorSK, TruthCharged,
  EMTopoOriginTime, EMTopoOriginSKTime, EMTopoOriginCSSKTime, EMTopoOriginVorSKTime,
  EMPFlowTime, EMPFlowSKTime, EMPFlowCSSKTime, EMPFlowVorSKTime,
  HI, HIClusters, PFlowCustomVtx, EMPFlowByVertex,
  Other = 100, Uncategorized = 1000
}
 

Functions

bool isValidConstitType (Type t)
 
const std::string & typeName (Type id)
 
Type inputType (const std::string &n)
 

Enumeration Type Documentation

◆ Type

Enumerator
LCTopo 
EMTopo 
TopoTower 
Tower 
Truth 
TruthWZ 
Track 
PFlow 
LCPFlow 
EMPFlow 
EMCPFlow 
Jet 
LCTopoOrigin 
EMTopoOrigin 
TrackCaloCluster 
TruthDressedWZ 
EMTopoOriginSK 
EMTopoOriginCS 
EMTopoOriginVor 
EMTopoOriginCSSK 
EMTopoOriginVorSK 
LCTopoOriginSK 
LCTopoOriginCS 
LCTopoOriginVor 
LCTopoOriginCSSK 
LCTopoOriginVorSK 
EMPFlowSK 
EMPFlowCS 
EMPFlowVor 
EMPFlowCSSK 
EMPFlowVorSK 
TruthCharged 
EMTopoOriginTime 
EMTopoOriginSKTime 
EMTopoOriginCSSKTime 
EMTopoOriginVorSKTime 
EMPFlowTime 
EMPFlowSKTime 
EMPFlowCSSKTime 
EMPFlowVorSKTime 
HI 
HIClusters 
PFlowCustomVtx 
EMPFlowByVertex 
Other 
Uncategorized 

Definition at line 54 of file JetContainerInfo.h.

54  {
55  LCTopo,
56  EMTopo,
57  TopoTower,
58  Tower,
59  Truth,
60  TruthWZ,
61  Track,
62  PFlow,
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
81  EMPFlowSK,
82  EMPFlowCS,
83  EMPFlowVor,
86  TruthCharged, // Truth jets with only charged particles
95  HI,
96  HIClusters,
97  PFlowCustomVtx, // for testing
99  Other = 100,
100  Uncategorized= 1000
101  };

Function Documentation

◆ inputType()

Type xAOD::JetInput::inputType ( const std::string &  n)

Definition at line 208 of file JetContainerInfo.cxx.

208  {
209 
210  auto itr = nameToTypemap.find( n );
211  if( itr != nameToTypemap.end() ) {
212  return itr->second;
213  }
214  return Uncategorized;
215  }

◆ isValidConstitType()

bool xAOD::JetInput::isValidConstitType ( Type  t)

Definition at line 193 of file JetContainerInfo.cxx.

193  {
194 
195  auto itr = typeToNamemap.find( t );
196  return ( ( itr != typeToNamemap.end() ) && ( t != Uncategorized ) );
197  }

◆ typeName()

const std::string & xAOD::JetInput::typeName ( Type  id)

Definition at line 199 of file JetContainerInfo.cxx.

199  {
200 
201  auto itr = typeToNamemap.find( id );
202  if( itr != typeToNamemap.end() ) {
203  return itr->second;
204  }
205  return c_unCategorized;
206  }
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
xAOD::JetInput::LCTopoOriginCS
@ LCTopoOriginCS
Definition: JetContainerInfo.h:77
xAOD::JetInput::EMTopoOriginVorSK
@ EMTopoOriginVorSK
Definition: JetContainerInfo.h:75
OfflineHitType::Other
@ Other
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::JetInput::LCTopoOriginVorSK
@ LCTopoOriginVorSK
Definition: JetContainerInfo.h:80
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::JetInput::LCTopo
@ LCTopo
Definition: JetContainerInfo.h:55
xAOD::JetInput::EMPFlowByVertex
@ EMPFlowByVertex
Definition: JetContainerInfo.h:98
xAOD::JetInput::TruthDressedWZ
@ TruthDressedWZ
Definition: JetContainerInfo.h:70
xAOD::JetInput::EMPFlowCSSKTime
@ EMPFlowCSSKTime
Definition: JetContainerInfo.h:93
xAOD::JetInput::EMTopoOrigin
@ EMTopoOrigin
Definition: JetContainerInfo.h:68
xAOD::JetInput::LCPFlow
@ LCPFlow
Definition: JetContainerInfo.h:63
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
beamspotman.n
n
Definition: beamspotman.py:731
xAOD::JetInput::TrackCaloCluster
@ TrackCaloCluster
Definition: JetContainerInfo.h:69
xAOD::JetInput::Truth
@ Truth
Definition: JetContainerInfo.h:59
xAOD::JetInput::EMPFlow
@ EMPFlow
Definition: JetContainerInfo.h:64
xAOD::JetInput::HI
@ HI
Definition: JetContainerInfo.h:95
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::JetInput::EMPFlowSKTime
@ EMPFlowSKTime
Definition: JetContainerInfo.h:92
xAOD::JetInput::EMTopo
@ EMTopo
Definition: JetContainerInfo.h:56
xAOD::JetInput::LCTopoOriginVor
@ LCTopoOriginVor
Definition: JetContainerInfo.h:78
xAOD::JetInput::LCTopoOriginSK
@ LCTopoOriginSK
Definition: JetContainerInfo.h: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::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