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

#include <LArMphysOverMcalSym.h>

Inheritance diagram for LArMphysOverMcalSym:
Collaboration diagram for LArMphysOverMcalSym:

Public Types

enum  { ERRORCODE = LArElecCalib::ERRORCODE }
 

Public Member Functions

 LArMphysOverMcalSym ()=delete
 
 LArMphysOverMcalSym (const LArMCSym *mcsym, const LArMphysOverMcalMC *MphysOverMcalComplete)
 
virtual ~LArMphysOverMcalSym ()
 
virtual const float & MphysOverMcal (const HWIdentifier &hwid, int gain) const override
 

Private Attributes

const LArMCSymm_mcSym
 
const LArConditionsContainer< LArSingleFloatP > * m_MphysOverMcalComplete
 

Detailed Description

Definition at line 15 of file LArMphysOverMcalSym.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
ERRORCODE 

Definition at line 29 of file ILArMphysOverMcal.h.

Constructor & Destructor Documentation

◆ LArMphysOverMcalSym() [1/2]

LArMphysOverMcalSym::LArMphysOverMcalSym ( )
delete

◆ LArMphysOverMcalSym() [2/2]

LArMphysOverMcalSym::LArMphysOverMcalSym ( const LArMCSym mcsym,
const LArMphysOverMcalMC MphysOverMcalComplete 
)

Definition at line 10 of file LArMphysOverMcalSym.cxx.

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

◆ ~LArMphysOverMcalSym()

LArMphysOverMcalSym::~LArMphysOverMcalSym ( )
virtual

Definition at line 15 of file LArMphysOverMcalSym.cxx.

15 {}

Member Function Documentation

◆ MphysOverMcal()

const float & LArMphysOverMcalSym::MphysOverMcal ( const HWIdentifier hwid,
int  gain 
) const
overridevirtual

Implements ILArMphysOverMcal.

Definition at line 17 of file LArMphysOverMcalSym.cxx.

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

Member Data Documentation

◆ m_mcSym

const LArMCSym* LArMphysOverMcalSym::m_mcSym
private

Definition at line 25 of file LArMphysOverMcalSym.h.

◆ m_MphysOverMcalComplete

const LArConditionsContainer<LArSingleFloatP>* LArMphysOverMcalSym::m_MphysOverMcalComplete
private

Definition at line 26 of file LArMphysOverMcalSym.h.


The documentation for this class was generated from the following files:
LArParamsProperties::MphysOverMcalComplete
@ MphysOverMcalComplete
Definition: LArParamsProperties.h:85
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
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
LArMphysOverMcalSym::m_MphysOverMcalComplete
const LArConditionsContainer< LArSingleFloatP > * m_MphysOverMcalComplete
Definition: LArMphysOverMcalSym.h:26
LArMphysOverMcalSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArMphysOverMcalSym.h:25
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition: LArCalibErrorCode.h:17
ILArMphysOverMcal::ERRORCODE
@ ERRORCODE
Definition: ILArMphysOverMcal.h:29