ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
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
5
#include "
LArRawConditions/LArDAC2uASym.h
"
6
#include "
LArRawConditions/LArDAC2uAMC.h
"
7
#include "
LArRawConditions/LArMCSym.h
"
8
9
10
LArDAC2uASym::LArDAC2uASym
(
const
LArMCSym
* mcSym,
const
LArDAC2uAMC
* DAC2uAComplete) :
11
m_mcSym
(mcSym),
12
m_DAC2uAComplete
(DAC2uAComplete)
//Implicit cast to base-class
13
{}
14
15
LArDAC2uASym::~LArDAC2uASym
() {}
16
17
const
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
LArDAC2uAMC.h
LArDAC2uASym.h
LArMCSym.h
HWIdentifier
Definition
HWIdentifier.h:13
LArDAC2uAMC
Implementation of the interface ILArDAC2uA for MC Derives from LArDAC2uAComplete, and implements the ...
Definition
LArDAC2uAMC.h:21
LArDAC2uASym::~LArDAC2uASym
virtual ~LArDAC2uASym()
Definition
LArDAC2uASym.cxx:15
LArDAC2uASym::DAC2UA
virtual const float & DAC2UA(const HWIdentifier &hwid) const override
access to DAC2UA conversion factor index by Identifier, and gain setting
Definition
LArDAC2uASym.cxx:17
LArDAC2uASym::m_DAC2uAComplete
const LArConditionsContainer< LArSingleFloatP > * m_DAC2uAComplete
Definition
LArDAC2uASym.h:26
LArDAC2uASym::m_mcSym
const LArMCSym * m_mcSym
Definition
LArDAC2uASym.h:25
LArDAC2uASym::LArDAC2uASym
LArDAC2uASym()=delete
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition
LArMCSym.h:19
Generated on
for ATLAS Offline Software by
1.14.0