ATLAS Offline Software
Loading...
Searching...
No Matches
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.

◆ ~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

Definition at line 70 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_EM_sampling_SHIFT
const unsigned CALOCELL_DETINFO_EM_sampling

◆ getLArFCalSampling()

unsigned CaloCell_SimpleDetectorInfo::getLArFCalSampling ( ) const
inline

Definition at line 72 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_FCal_sampling
const unsigned CALOCELL_DETINFO_FCal_sampling_SHIFT

◆ getLArHECSampling()

unsigned CaloCell_SimpleDetectorInfo::getLArHECSampling ( ) const
inline

Definition at line 71 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_HEC_sampling
const unsigned CALOCELL_DETINFO_HEC_sampling_SHIFT

◆ getTileSampling()

unsigned CaloCell_SimpleDetectorInfo::getTileSampling ( ) const
inline

Definition at line 73 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Tile_sampling_SHIFT
const unsigned CALOCELL_DETINFO_Tile_sampling

◆ isLArEM()

bool CaloCell_SimpleDetectorInfo::isLArEM ( ) const
inline

Definition at line 55 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Atlas_Lar_EM

◆ isLArEMBarrel()

bool CaloCell_SimpleDetectorInfo::isLArEMBarrel ( ) const
inline

Definition at line 60 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_EM_barrel

◆ isLArEMEndcap()

bool CaloCell_SimpleDetectorInfo::isLArEMEndcap ( ) const
inline

Definition at line 61 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_EM_endcap_outer
const unsigned CALOCELL_DETINFO_EM_endcap_inner

◆ 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.

const unsigned CALOCELL_DETINFO_Atlas_Lar_FCal

◆ isLArHEC()

bool CaloCell_SimpleDetectorInfo::isLArHEC ( ) const
inline

Definition at line 56 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Atlas_Lar_HEC

◆ isTile()

bool CaloCell_SimpleDetectorInfo::isTile ( ) const
inline

Definition at line 58 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Atlas_Tile

◆ isTileBarrel()

bool CaloCell_SimpleDetectorInfo::isTileBarrel ( ) const
inline

Definition at line 65 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Tile_barrel

◆ isTileExtBarrel()

bool CaloCell_SimpleDetectorInfo::isTileExtBarrel ( ) const
inline

Definition at line 66 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Tile_extbarrel

◆ isTileGap()

bool CaloCell_SimpleDetectorInfo::isTileGap ( ) const
inline

Definition at line 67 of file CaloCell_SimpleDetectorInfo.h.

67{ return (m_det & CALOCELL_DETINFO_Tile_gap); }
const unsigned CALOCELL_DETINFO_Tile_gap

◆ isTileGapScin()

bool CaloCell_SimpleDetectorInfo::isTileGapScin ( ) const
inline

Definition at line 68 of file CaloCell_SimpleDetectorInfo.h.

const unsigned CALOCELL_DETINFO_Tile_gapscin

◆ 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.

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: