ATLAS Offline Software
CaloSubdetNames.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef CALODETDESCR_CALOSUBDETNAMES_H
16 # define CALODETDESCR_CALOSUBDETNAMES_H
17 
18 
19 #include <vector>
20 #include "Identifier/Identifier.h"
21 
32 {
33  public:
38  EMB_POS = 5, EMB_NEG = 6,
40  EMEC_POS = 9, EMEC_NEG = 10,
41  HEC1_POS = 11, HEC1_NEG = 12,
42  HEC2_POS = 13, HEC2_NEG = 14,
43  FCAL1_POS = 15, FCAL1_NEG = 16,
44  FCAL2_POS = 17, FCAL2_NEG = 18,
45  FCAL3_POS = 19, FCAL3_NEG = 20,
46  SOLENOID = 21, UNKNOWN = 22 };
50 
53  virtual ~CaloSubdetNames();
54 
57  std::string alignVolName(CaloSubdetNames::ALIGNVOL alvol);
60  CaloSubdetNames::ALIGNVOL alignVolEnum(const std::string& reconame);
61 
62 
63  private:
66  void match_names();
67 
70  std::vector <std::string> m_reconame;
73  std::vector <CaloSubdetNames::ALIGNVOL> m_alvol;
74 };
75 
76 #endif // CALODETDESCR_CALOSUBDETNAMES_H
CaloSubdetNames::HEC2_POS
@ HEC2_POS
Definition: CaloSubdetNames.h:42
CaloSubdetNames::EMB_POS
@ EMB_POS
Definition: CaloSubdetNames.h:38
CaloSubdetNames::PRESAMPLER_B_NEG
@ PRESAMPLER_B_NEG
Definition: CaloSubdetNames.h:37
CaloSubdetNames::FCAL2_POS
@ FCAL2_POS
Definition: CaloSubdetNames.h:44
CaloSubdetNames::alignVolName
std::string alignVolName(CaloSubdetNames::ALIGNVOL alvol)
Matching between names and enum.
Definition: CaloSubdetNames.cxx:82
CaloSubdetNames::HEC1_NEG
@ HEC1_NEG
Definition: CaloSubdetNames.h:41
CaloSubdetNames::FCAL1_POS
@ FCAL1_POS
Definition: CaloSubdetNames.h:43
CaloSubdetNames::EMEC_POS
@ EMEC_POS
Definition: CaloSubdetNames.h:40
CaloSubdetNames::HEC2_NEG
@ HEC2_NEG
Definition: CaloSubdetNames.h:42
CaloSubdetNames::FCAL3_POS
@ FCAL3_POS
Definition: CaloSubdetNames.h:45
CaloSubdetNames::PRESAMPLER_EC_POS
@ PRESAMPLER_EC_POS
Definition: CaloSubdetNames.h:39
CaloSubdetNames::UNKNOWN
@ UNKNOWN
Definition: CaloSubdetNames.h:46
CaloSubdetNames::PRESAMPLER_B_POS
@ PRESAMPLER_B_POS
Definition: CaloSubdetNames.h:37
CaloSubdetNames::EMEC_NEG
@ EMEC_NEG
Definition: CaloSubdetNames.h:40
CaloSubdetNames::LARCRYO_B
@ LARCRYO_B
Definition: CaloSubdetNames.h:36
CaloSubdetNames::LARCRYO_EC_POS
@ LARCRYO_EC_POS
Definition: CaloSubdetNames.h:36
CaloSubdetNames::FCAL3_NEG
@ FCAL3_NEG
Definition: CaloSubdetNames.h:45
CaloSubdetNames::m_alvol
std::vector< CaloSubdetNames::ALIGNVOL > m_alvol
vector of ALIGNVOL enum values
Definition: CaloSubdetNames.h:73
CaloSubdetNames::HEC1_POS
@ HEC1_POS
Definition: CaloSubdetNames.h:41
CaloSubdetNames::match_names
void match_names()
match names and enum
Definition: CaloSubdetNames.cxx:23
CaloSubdetNames::PRESAMPLER_EC_NEG
@ PRESAMPLER_EC_NEG
Definition: CaloSubdetNames.h:39
CaloSubdetNames::EMB_NEG
@ EMB_NEG
Definition: CaloSubdetNames.h:38
CaloSubdetNames::m_reconame
std::vector< std::string > m_reconame
vector of names
Definition: CaloSubdetNames.h:70
CaloSubdetNames::FCAL2_NEG
@ FCAL2_NEG
Definition: CaloSubdetNames.h:44
CaloSubdetNames::SOLENOID
@ SOLENOID
Definition: CaloSubdetNames.h:46
CaloSubdetNames
This class contains the ENUM needed to label the calorimeter pieces which be mooved independently,...
Definition: CaloSubdetNames.h:32
CaloSubdetNames::CaloSubdetNames
CaloSubdetNames()
standard constructor
Definition: CaloSubdetNames.cxx:17
CaloSubdetNames::FCAL1_NEG
@ FCAL1_NEG
Definition: CaloSubdetNames.h:43
CaloSubdetNames::alignVolEnum
CaloSubdetNames::ALIGNVOL alignVolEnum(const std::string &reconame)
Matching between names and enum.
Definition: CaloSubdetNames.cxx:89
CaloSubdetNames::LARCRYO_EC_NEG
@ LARCRYO_EC_NEG
Definition: CaloSubdetNames.h:36
CaloSubdetNames::ALIGNVOL
ALIGNVOL
LAr Alignable volumes.
Definition: CaloSubdetNames.h:36
CaloSubdetNames::~CaloSubdetNames
virtual ~CaloSubdetNames()
destructor