ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
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

Definition at line 19 of file LArShape32Sym.h.

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 {}

◆ ~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:
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer< LArShapeP1 >
LArMCSym::ZPhiSymOfl
HWIdentifier ZPhiSymOfl(const Identifier notSymOffId) const
Find the symmetric HWID for an offline cell identifier.
Definition: LArMCSym.h:48
LArShape32Sym::m_shapeComplete
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
Definition: LArShape32Sym.h:34
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition: LArShapeP1.h:16
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91
LArShape32Sym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArShape32Sym.h:33