ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
LArMCSym.h
LArRampMC.h
LArRampSym.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArRamp::RampRef_t
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition
ILArRamp.h:31
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition
LArMCSym.h:19
LArRampMC
Implementation of the interface ILArRamp for MC Derives from LArRampComplete, and implements the phi-...
Definition
LArRampMC.h:22
LArRampSym::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const override
Definition
LArRampSym.cxx:17
LArRampSym::LArRampSym
LArRampSym()=delete
LArRampSym::~LArRampSym
virtual ~LArRampSym()
Definition
LArRampSym.cxx:15
LArRampSym::m_mcSym
const LArMCSym * m_mcSym
Definition
LArRampSym.h:25
LArRampSym::m_rampComplete
const LArConditionsContainer< LArRampP1 > * m_rampComplete
Definition
LArRampSym.h:26
Generated on
for ATLAS Offline Software by
1.17.0