ATLAS Offline Software
EventShapes.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
8 std::string EventShapes::getName()
9 {
10  std::string name="unknown";
11  switch (m_type)
12  {
13  case CENTRAL_CUT: name = "Central_Cut"; break;
14  case THRUST: name = "Thrust"; break;
15  case THRUST_MINOR: name = "ThrustMinor"; break;
16  case FLIPVALUES: name = "FlipValues"; break;
17  case HEAVY_JETMASS: name = "Heavy_JM"; break;
18  case LIGHT_JETMASS: name = "Light_JM"; break;
19  case TOTAL_BROADENING: name = "B_T"; break;
20  case WIDE_BROADENING: name = "B_W"; break;
21  case THRUST_PHI: name = "phi_Thrust"; break;
22  case THRUST_ETA: name = "eta_Thrust"; break;
23  case FORWARD_TERM: name = "forward_term";break;
24  case JET1_ET: name = "Jet1_ET"; break;
25  case JET2_ET: name = "Jet2_ET"; break;
26  case JET_ETA_CUT: name = "Jet1_eta_cut";break;
27  case FOXWOLFRAM: name = "FoxWolfram"; break;
28  case TRANSVERSESPHERICITY: name = "TransverseSphericity"; break;
29  case CPARAMETER: name = "CParameter"; break;
30  case EEC_PHI: name = "EECvsPhi"; break;
31  case EEC_ETA: name = "EECvsEta"; break;
32  case EEC_RAD: name = "EECvsRad"; break;
33  case UNKNOWN:
34  default: name = "unknown"; break;
35  }
36  return name;
37 }
EventShapes::JET2_ET
@ JET2_ET
Definition: EventShapes.h:42
EventShapes::TRANSVERSESPHERICITY
@ TRANSVERSESPHERICITY
Definition: EventShapes.h:28
EventShapes::UNKNOWN
@ UNKNOWN
Definition: EventShapes.h:44
EventShapes::EEC_RAD
@ EEC_RAD
Definition: EventShapes.h:36
EventShapes::HEAVY_JETMASS
@ HEAVY_JETMASS
Definition: EventShapes.h:21
EventShapes::CENTRAL_CUT
@ CENTRAL_CUT
Definition: EventShapes.h:39
EventShapes.h
EventShapes::CPARAMETER
@ CPARAMETER
Definition: EventShapes.h:30
EventShapes::FORWARD_TERM
@ FORWARD_TERM
Definition: EventShapes.h:38
EventShapes::JET1_ET
@ JET1_ET
Definition: EventShapes.h:41
EventShapes::EEC_ETA
@ EEC_ETA
Definition: EventShapes.h:35
EventShapes::EEC_PHI
@ EEC_PHI
Definition: EventShapes.h:34
EventShapes::THRUST_ETA
@ THRUST_ETA
Definition: EventShapes.h:26
EventShapes::FLIPVALUES
@ FLIPVALUES
Definition: EventShapes.h:33
EventShapes::JET_ETA_CUT
@ JET_ETA_CUT
Definition: EventShapes.h:40
EventShapes::getName
std::string getName()
Definition: EventShapes.cxx:8
EventShapes::LIGHT_JETMASS
@ LIGHT_JETMASS
Definition: EventShapes.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EventShapes::m_type
EventShapeType m_type
Definition: EventShapes.h:113
EventShapes::THRUST_MINOR
@ THRUST_MINOR
Definition: EventShapes.h:20
EventShapes::TOTAL_BROADENING
@ TOTAL_BROADENING
Definition: EventShapes.h:23
EventShapes::WIDE_BROADENING
@ WIDE_BROADENING
Definition: EventShapes.h:24
EventShapes::FOXWOLFRAM
@ FOXWOLFRAM
Definition: EventShapes.h:32
EventShapes::THRUST_PHI
@ THRUST_PHI
Definition: EventShapes.h:25
EventShapes::THRUST
@ THRUST
Definition: EventShapes.h:19