ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CaloCell_SimpleDetectorInfo Class Reference

#include <CaloCell_SimpleDetectorInfo.h>

Collaboration diagram for CaloCell_SimpleDetectorInfo:

Public Member Functions

 CaloCell_SimpleDetectorInfo ()
 
virtual ~CaloCell_SimpleDetectorInfo ()
 
 CaloCell_SimpleDetectorInfo (unsigned d)
 
void set (unsigned d)
 
void reset ()
 
unsigned get () const
 
bool isLArEM () const
 
bool isLArHEC () const
 
bool isLArFCal () const
 
bool isTile () const
 
bool isLArEMBarrel () const
 
bool isLArEMEndcap () const
 
bool isLArEMEndcapInner () const
 
bool isLArEMEndcapOuter () const
 
bool isTileBarrel () const
 
bool isTileExtBarrel () const
 
bool isTileGap () const
 
bool isTileGapScin () const
 
unsigned getLArEMSampling () const
 
unsigned getLArHECSampling () const
 
unsigned getLArFCalSampling () const
 
unsigned getTileSampling () const
 

Private Attributes

unsigned m_det
 

Detailed Description

Definition at line 44 of file CaloCell_SimpleDetectorInfo.h.

Constructor & Destructor Documentation

◆ CaloCell_SimpleDetectorInfo() [1/2]

CaloCell_SimpleDetectorInfo::CaloCell_SimpleDetectorInfo ( )
inline

Definition at line 47 of file CaloCell_SimpleDetectorInfo.h.

47 : m_det(0) {};

◆ ~CaloCell_SimpleDetectorInfo()

virtual CaloCell_SimpleDetectorInfo::~CaloCell_SimpleDetectorInfo ( )
inlinevirtual

Definition at line 48 of file CaloCell_SimpleDetectorInfo.h.

48 {};

◆ CaloCell_SimpleDetectorInfo() [2/2]

CaloCell_SimpleDetectorInfo::CaloCell_SimpleDetectorInfo ( unsigned  d)
inline

Definition at line 49 of file CaloCell_SimpleDetectorInfo.h.

49 : m_det(d) {};

Member Function Documentation

◆ get()

unsigned CaloCell_SimpleDetectorInfo::get ( ) const
inline

Definition at line 53 of file CaloCell_SimpleDetectorInfo.h.

53 { return m_det; }

◆ getLArEMSampling()

unsigned CaloCell_SimpleDetectorInfo::getLArEMSampling ( ) const
inline

◆ getLArFCalSampling()

unsigned CaloCell_SimpleDetectorInfo::getLArFCalSampling ( ) const
inline

◆ getLArHECSampling()

unsigned CaloCell_SimpleDetectorInfo::getLArHECSampling ( ) const
inline

◆ getTileSampling()

unsigned CaloCell_SimpleDetectorInfo::getTileSampling ( ) const
inline

◆ isLArEM()

bool CaloCell_SimpleDetectorInfo::isLArEM ( ) const
inline

Definition at line 55 of file CaloCell_SimpleDetectorInfo.h.

◆ isLArEMBarrel()

bool CaloCell_SimpleDetectorInfo::isLArEMBarrel ( ) const
inline

Definition at line 60 of file CaloCell_SimpleDetectorInfo.h.

60 { return (m_det & CALOCELL_DETINFO_EM_barrel); }

◆ isLArEMEndcap()

bool CaloCell_SimpleDetectorInfo::isLArEMEndcap ( ) const
inline

◆ isLArEMEndcapInner()

bool CaloCell_SimpleDetectorInfo::isLArEMEndcapInner ( ) const
inline

Definition at line 62 of file CaloCell_SimpleDetectorInfo.h.

◆ isLArEMEndcapOuter()

bool CaloCell_SimpleDetectorInfo::isLArEMEndcapOuter ( ) const
inline

Definition at line 63 of file CaloCell_SimpleDetectorInfo.h.

◆ isLArFCal()

bool CaloCell_SimpleDetectorInfo::isLArFCal ( ) const
inline

Definition at line 57 of file CaloCell_SimpleDetectorInfo.h.

◆ isLArHEC()

bool CaloCell_SimpleDetectorInfo::isLArHEC ( ) const
inline

Definition at line 56 of file CaloCell_SimpleDetectorInfo.h.

◆ isTile()

bool CaloCell_SimpleDetectorInfo::isTile ( ) const
inline

Definition at line 58 of file CaloCell_SimpleDetectorInfo.h.

58 { return (m_det & CALOCELL_DETINFO_Atlas_Tile); }

◆ isTileBarrel()

bool CaloCell_SimpleDetectorInfo::isTileBarrel ( ) const
inline

Definition at line 65 of file CaloCell_SimpleDetectorInfo.h.

65 { return (m_det & CALOCELL_DETINFO_Tile_barrel); }

◆ isTileExtBarrel()

bool CaloCell_SimpleDetectorInfo::isTileExtBarrel ( ) const
inline

Definition at line 66 of file CaloCell_SimpleDetectorInfo.h.

◆ isTileGap()

bool CaloCell_SimpleDetectorInfo::isTileGap ( ) const
inline

Definition at line 67 of file CaloCell_SimpleDetectorInfo.h.

67 { return (m_det & CALOCELL_DETINFO_Tile_gap); }

◆ isTileGapScin()

bool CaloCell_SimpleDetectorInfo::isTileGapScin ( ) const
inline

Definition at line 68 of file CaloCell_SimpleDetectorInfo.h.

◆ reset()

void CaloCell_SimpleDetectorInfo::reset ( )
inline

Definition at line 52 of file CaloCell_SimpleDetectorInfo.h.

52 { m_det = 0; }

◆ set()

void CaloCell_SimpleDetectorInfo::set ( unsigned  d)
inline

Definition at line 51 of file CaloCell_SimpleDetectorInfo.h.

51 { m_det = d; }

Member Data Documentation

◆ m_det

unsigned CaloCell_SimpleDetectorInfo::m_det
private

Definition at line 76 of file CaloCell_SimpleDetectorInfo.h.


The documentation for this class was generated from the following file:
CALOCELL_DETINFO_HEC_sampling_SHIFT
const unsigned CALOCELL_DETINFO_HEC_sampling_SHIFT
Definition: CaloCell_SimpleDetectorInfo.h:32
CALOCELL_DETINFO_FCal_sampling
const unsigned CALOCELL_DETINFO_FCal_sampling
Definition: CaloCell_SimpleDetectorInfo.h:34
hist_file_dump.d
d
Definition: hist_file_dump.py:137
CALOCELL_DETINFO_Atlas_Lar_EM
const unsigned CALOCELL_DETINFO_Atlas_Lar_EM
Definition: CaloCell_SimpleDetectorInfo.h:20
CALOCELL_DETINFO_Tile_extbarrel
const unsigned CALOCELL_DETINFO_Tile_extbarrel
Definition: CaloCell_SimpleDetectorInfo.h:40
CALOCELL_DETINFO_Atlas_Tile
const unsigned CALOCELL_DETINFO_Atlas_Tile
Definition: CaloCell_SimpleDetectorInfo.h:23
CALOCELL_DETINFO_Tile_sampling_SHIFT
const unsigned CALOCELL_DETINFO_Tile_sampling_SHIFT
Definition: CaloCell_SimpleDetectorInfo.h:38
CaloCell_SimpleDetectorInfo::m_det
unsigned m_det
Definition: CaloCell_SimpleDetectorInfo.h:76
CALOCELL_DETINFO_Atlas_Lar_FCal
const unsigned CALOCELL_DETINFO_Atlas_Lar_FCal
Definition: CaloCell_SimpleDetectorInfo.h:22
CALOCELL_DETINFO_EM_endcap_inner
const unsigned CALOCELL_DETINFO_EM_endcap_inner
Definition: CaloCell_SimpleDetectorInfo.h:29
CALOCELL_DETINFO_Atlas_Lar_HEC
const unsigned CALOCELL_DETINFO_Atlas_Lar_HEC
Definition: CaloCell_SimpleDetectorInfo.h:21
CALOCELL_DETINFO_Tile_gap
const unsigned CALOCELL_DETINFO_Tile_gap
Definition: CaloCell_SimpleDetectorInfo.h:41
CALOCELL_DETINFO_HEC_sampling
const unsigned CALOCELL_DETINFO_HEC_sampling
Definition: CaloCell_SimpleDetectorInfo.h:31
CALOCELL_DETINFO_EM_sampling_SHIFT
const unsigned CALOCELL_DETINFO_EM_sampling_SHIFT
Definition: CaloCell_SimpleDetectorInfo.h:26
CALOCELL_DETINFO_Tile_sampling
const unsigned CALOCELL_DETINFO_Tile_sampling
Definition: CaloCell_SimpleDetectorInfo.h:37
CALOCELL_DETINFO_Tile_barrel
const unsigned CALOCELL_DETINFO_Tile_barrel
Definition: CaloCell_SimpleDetectorInfo.h:39
CALOCELL_DETINFO_Tile_gapscin
const unsigned CALOCELL_DETINFO_Tile_gapscin
Definition: CaloCell_SimpleDetectorInfo.h:42
CALOCELL_DETINFO_FCal_sampling_SHIFT
const unsigned CALOCELL_DETINFO_FCal_sampling_SHIFT
Definition: CaloCell_SimpleDetectorInfo.h:35
CALOCELL_DETINFO_EM_sampling
const unsigned CALOCELL_DETINFO_EM_sampling
Definition: CaloCell_SimpleDetectorInfo.h:25
CALOCELL_DETINFO_EM_endcap_outer
const unsigned CALOCELL_DETINFO_EM_endcap_outer
Definition: CaloCell_SimpleDetectorInfo.h:28
CALOCELL_DETINFO_EM_barrel
const unsigned CALOCELL_DETINFO_EM_barrel
Definition: CaloCell_SimpleDetectorInfo.h:27