ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSubdetNames Class Reference

This class contains the ENUM needed to label the calorimeter pieces which be mooved independently, including the Cryostats, and mapping with the corresponding identifiers and strings when possible. More...

#include <CaloSubdetNames.h>

Collaboration diagram for CaloSubdetNames:

Public Types

enum  ALIGNVOL {
  LARCRYO_B = 0 , LARCRYO_EC_POS = 1 , LARCRYO_EC_NEG = 2 , PRESAMPLER_B_POS = 3 ,
  PRESAMPLER_B_NEG = 4 , EMB_POS = 5 , EMB_NEG = 6 , PRESAMPLER_EC_POS = 7 ,
  PRESAMPLER_EC_NEG = 8 , EMEC_POS = 9 , EMEC_NEG = 10 , HEC1_POS = 11 ,
  HEC1_NEG = 12 , HEC2_POS = 13 , HEC2_NEG = 14 , FCAL1_POS = 15 ,
  FCAL1_NEG = 16 , FCAL2_POS = 17 , FCAL2_NEG = 18 , FCAL3_POS = 19 ,
  FCAL3_NEG = 20 , SOLENOID = 21 , UNKNOWN = 22
}
 LAr Alignable volumes. More...

Public Member Functions

 CaloSubdetNames ()
 standard constructor
virtual ~CaloSubdetNames ()
 destructor
std::string alignVolName (CaloSubdetNames::ALIGNVOL alvol)
 Matching between names and enum.
CaloSubdetNames::ALIGNVOL alignVolEnum (const std::string &reconame)
 Matching between names and enum.

Private Member Functions

void match_names ()
 match names and enum

Private Attributes

std::vector< std::string > m_reconame
 vector of names
std::vector< CaloSubdetNames::ALIGNVOLm_alvol
 vector of ALIGNVOL enum values

Detailed Description

This class contains the ENUM needed to label the calorimeter pieces which be mooved independently, including the Cryostats, and mapping with the corresponding identifiers and strings when possible.

Claire Adam-Bourdarios, sept 2005

Definition at line 31 of file CaloSubdetNames.h.

Member Enumeration Documentation

◆ ALIGNVOL

LAr Alignable volumes.

Enumerator
LARCRYO_B 
LARCRYO_EC_POS 
LARCRYO_EC_NEG 
PRESAMPLER_B_POS 
PRESAMPLER_B_NEG 
EMB_POS 
EMB_NEG 
PRESAMPLER_EC_POS 
PRESAMPLER_EC_NEG 
EMEC_POS 
EMEC_NEG 
HEC1_POS 
HEC1_NEG 
HEC2_POS 
HEC2_NEG 
FCAL1_POS 
FCAL1_NEG 
FCAL2_POS 
FCAL2_NEG 
FCAL3_POS 
FCAL3_NEG 
SOLENOID 
UNKNOWN 

Definition at line 36 of file CaloSubdetNames.h.

Constructor & Destructor Documentation

◆ CaloSubdetNames()

CaloSubdetNames::CaloSubdetNames ( )

standard constructor

Definition at line 17 of file CaloSubdetNames.cxx.

◆ ~CaloSubdetNames()

CaloSubdetNames::~CaloSubdetNames ( )
virtualdefault

destructor

Member Function Documentation

◆ alignVolEnum()

CaloSubdetNames::ALIGNVOL CaloSubdetNames::alignVolEnum ( const std::string & reconame)

Matching between names and enum.

Definition at line 89 of file CaloSubdetNames.cxx.

◆ alignVolName()

std::string CaloSubdetNames::alignVolName ( CaloSubdetNames::ALIGNVOL alvol)

Matching between names and enum.

Definition at line 82 of file CaloSubdetNames.cxx.

◆ match_names()

void CaloSubdetNames::match_names ( )
private

match names and enum

Definition at line 23 of file CaloSubdetNames.cxx.

Member Data Documentation

◆ m_alvol

std::vector<CaloSubdetNames::ALIGNVOL> CaloSubdetNames::m_alvol
private

vector of ALIGNVOL enum values

Definition at line 73 of file CaloSubdetNames.h.

◆ m_reconame

std::vector<std::string> CaloSubdetNames::m_reconame
private

vector of names

Definition at line 70 of file CaloSubdetNames.h.


The documentation for this class was generated from the following files: