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

#include <LArDAC2uASym.h>

Inheritance diagram for LArDAC2uASym:
Collaboration diagram for LArDAC2uASym:

Public Types

enum  { ERRORCODE = LArElecCalib::ERRORCODE }
 

Public Member Functions

 LArDAC2uASym ()=delete
 
 LArDAC2uASym (const LArMCSym *mcsym, const LArDAC2uAMC *DAC2uAComplete)
 
virtual ~LArDAC2uASym ()
 
virtual const float & DAC2UA (const HWIdentifier &hwid) const override
 access to DAC2UA conversion factor index by Identifier, and gain setting More...
 

Private Attributes

const LArMCSymm_mcSym
 
const LArConditionsContainer< LArSingleFloatP > * m_DAC2uAComplete
 

Detailed Description

Definition at line 16 of file LArDAC2uASym.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
ERRORCODE 

Definition at line 37 of file ILArDAC2uA.h.

Constructor & Destructor Documentation

◆ LArDAC2uASym() [1/2]

LArDAC2uASym::LArDAC2uASym ( )
delete

◆ LArDAC2uASym() [2/2]

LArDAC2uASym::LArDAC2uASym ( const LArMCSym mcsym,
const LArDAC2uAMC DAC2uAComplete 
)

Definition at line 10 of file LArDAC2uASym.cxx.

10  :
11  m_mcSym(mcSym),
12  m_DAC2uAComplete(DAC2uAComplete) //Implicit cast to base-class
13 {}

◆ ~LArDAC2uASym()

LArDAC2uASym::~LArDAC2uASym ( )
virtual

Definition at line 15 of file LArDAC2uASym.cxx.

15 {}

Member Function Documentation

◆ DAC2UA()

const float & LArDAC2uASym::DAC2UA ( const HWIdentifier id) const
overridevirtual

access to DAC2UA conversion factor index by Identifier, and gain setting

Implements ILArDAC2uA.

Definition at line 17 of file LArDAC2uASym.cxx.

17  {
18  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19  return m_DAC2uAComplete->get(symhwid).m_data;
20 }

Member Data Documentation

◆ m_DAC2uAComplete

const LArConditionsContainer<LArSingleFloatP>* LArDAC2uASym::m_DAC2uAComplete
private

Definition at line 26 of file LArDAC2uASym.h.

◆ m_mcSym

const LArMCSym* LArDAC2uASym::m_mcSym
private

Definition at line 25 of file LArDAC2uASym.h.


The documentation for this class was generated from the following files:
LArDAC2uASym::m_DAC2uAComplete
const LArConditionsContainer< LArSingleFloatP > * m_DAC2uAComplete
Definition: LArDAC2uASym.h:26
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91
LArDAC2uASym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArDAC2uASym.h:25
ILArDAC2uA::ERRORCODE
@ ERRORCODE
Definition: ILArDAC2uA.h:37
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition: LArCalibErrorCode.h:17