ATLAS Offline Software
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
LArDAC2uASym::m_DAC2uAComplete
const LArConditionsContainer< LArSingleFloatP > * m_DAC2uAComplete
Definition:
LArDAC2uASym.h:26
LArDAC2uASym.h
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
LArDAC2uAMC.h
HWIdentifier
Definition:
HWIdentifier.h:13
LArDAC2uASym::LArDAC2uASym
LArDAC2uASym()=delete
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition:
LArMCSym.h:19
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
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
LArMCSym.h
Generated on Sun Dec 22 2024 21:13:23 for ATLAS Offline Software by
1.8.18