ATLAS Offline Software
Loading...
Searching...
No Matches
LArDAC2uASym.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9
10LArDAC2uASym::LArDAC2uASym(const LArMCSym* mcSym, const LArDAC2uAMC* DAC2uAComplete) :
11 m_mcSym(mcSym),
12 m_DAC2uAComplete(DAC2uAComplete) //Implicit cast to base-class
13{}
14
16
17const float& LArDAC2uASym::DAC2UA(const HWIdentifier& hwid) const {
18 HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19 return m_DAC2uAComplete->get(symhwid).m_data;
20}
21
22
Implementation of the interface ILArDAC2uA for MC Derives from LArDAC2uAComplete, and implements the ...
Definition LArDAC2uAMC.h:21
virtual ~LArDAC2uASym()
virtual const float & DAC2UA(const HWIdentifier &hwid) const override
access to DAC2UA conversion factor index by Identifier, and gain setting
const LArConditionsContainer< LArSingleFloatP > * m_DAC2uAComplete
const LArMCSym * m_mcSym
LArDAC2uASym()=delete
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition LArMCSym.h:19