ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArRampSym.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/LArRampSym.h
"
6
#include "
LArRawConditions/LArRampMC.h
"
7
#include "
LArRawConditions/LArMCSym.h
"
8
9
10
LArRampSym::LArRampSym
(
const
LArMCSym
* mcSym,
const
LArRampMC
* rampComplete) :
11
m_mcSym(mcSym),
12
m_rampComplete(rampComplete)
//Implicit cast to base-class
13
{}
14
15
LArRampSym::~LArRampSym
() {}
16
17
ILArRamp::RampRef_t
LArRampSym::ADC2DAC
(
const
HWIdentifier
& hwid,
int
gain
)
const
{
18
HWIdentifier
symhwid=
m_mcSym
->
ZPhiSymOnl
(hwid);
19
return
m_rampComplete
->
get
(symhwid,
gain
).m_vRamp;
20
}
21
LArRampMC
Implementation of the interface ILArRamp for MC Derives from LArRampComplete, and implements the phi-...
Definition:
LArRampMC.h:22
LArRampSym::m_mcSym
const LArMCSym * m_mcSym
Definition:
LArRampSym.h:25
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArRampSym::m_rampComplete
const LArConditionsContainer< LArRampP1 > * m_rampComplete
Definition:
LArRampSym.h:26
HWIdentifier
Definition:
HWIdentifier.h:13
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition:
LArMCSym.h:19
LArRampMC.h
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
LArRampSym::LArRampSym
LArRampSym()=delete
LArRampSym::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const override
Definition:
LArRampSym.cxx:17
LArRampSym::~LArRampSym
virtual ~LArRampSym()
Definition:
LArRampSym.cxx:15
LArMCSym.h
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition:
LArVectorProxy.h:38
LArRampSym.h
Generated on Thu Nov 7 2024 21:19:53 for ATLAS Offline Software by
1.8.18