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

#include <LArShape32Sym.h>

Inheritance diagram for LArShape32Sym:
Collaboration diagram for LArShape32Sym:

Public Types

typedef ILArShape::ShapeRef_t ShapeRef_t

Public Member Functions

 LArShape32Sym ()=delete
 LArShape32Sym (const LArMCSym *mcsym, const LArShape32MC *shapeComplete)
virtual ~LArShape32Sym ()
virtual ShapeRef_t Shape (const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
virtual ShapeRef_t ShapeDer (const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
virtual ShapeRef_t Shape (const Identifier &CellID, int gain, int tbin=0, int mode=0) const
virtual ShapeRef_t ShapeDer (const Identifier &CellID, int gain, int tbin=0, int mode=0) const

Private Attributes

const LArMCSymm_mcSym
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete

Detailed Description

Definition at line 16 of file LArShape32Sym.h.

Member Typedef Documentation

◆ ShapeRef_t

Constructor & Destructor Documentation

◆ LArShape32Sym() [1/2]

LArShape32Sym::LArShape32Sym ( )
delete

◆ LArShape32Sym() [2/2]

LArShape32Sym::LArShape32Sym ( const LArMCSym * mcsym,
const LArShape32MC * shapeComplete )

Definition at line 9 of file LArShape32Sym.cxx.

9 :
10 m_mcSym(mcsym),
11 m_shapeComplete(static_cast<const LArConditionsContainer<LArShapeP1>*>(shapeComplete))
12{}
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
const LArMCSym * m_mcSym

◆ ~LArShape32Sym()

LArShape32Sym::~LArShape32Sym ( )
virtual

Definition at line 14 of file LArShape32Sym.cxx.

14{}

Member Function Documentation

◆ Shape() [1/2]

ILArShape::ShapeRef_t LArShape32Sym::Shape ( const HWIdentifier & CellID,
int gain,
int tbin = 0,
int mode = 0 ) const
virtual

Implements ILArShape.

Definition at line 17 of file LArShape32Sym.cxx.

18 {
19 HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
20 const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
21 return t.m_vShape;
22}

◆ Shape() [2/2]

ILArShape::ShapeRef_t LArShape32Sym::Shape ( const Identifier & CellID,
int gain,
int tbin = 0,
int mode = 0 ) const
virtual

Definition at line 34 of file LArShape32Sym.cxx.

35 {
36 HWIdentifier symhwid=m_mcSym->ZPhiSymOfl(id);
37 const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
38 return t.m_vShape;
39}

◆ ShapeDer() [1/2]

ILArShape::ShapeRef_t LArShape32Sym::ShapeDer ( const HWIdentifier & CellID,
int gain,
int tbin = 0,
int mode = 0 ) const
virtual

Implements ILArShape.

Definition at line 25 of file LArShape32Sym.cxx.

26 {
27 HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
28 const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
29 return t.m_vShapeDer;
30}

◆ ShapeDer() [2/2]

ILArShape::ShapeRef_t LArShape32Sym::ShapeDer ( const Identifier & CellID,
int gain,
int tbin = 0,
int mode = 0 ) const
virtual

Definition at line 42 of file LArShape32Sym.cxx.

43 {
44 HWIdentifier symhwid=m_mcSym->ZPhiSymOfl(id);
45 const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
46 return t.m_vShapeDer;
47}

Member Data Documentation

◆ m_mcSym

const LArMCSym* LArShape32Sym::m_mcSym
private

Definition at line 33 of file LArShape32Sym.h.

◆ m_shapeComplete

const LArConditionsContainer<LArShapeP1>* LArShape32Sym::m_shapeComplete
private

Definition at line 34 of file LArShape32Sym.h.


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