ATLAS Offline Software
LArMphysOverMcalSym.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 
11  m_mcSym(mcSym),
12  m_MphysOverMcalComplete(MphysOverMcalComplete) //Implicit cast to base-class
13 {}
14 
16 
17 const float& LArMphysOverMcalSym::MphysOverMcal(const HWIdentifier& hwid, int gain) const {
18  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19  return m_MphysOverMcalComplete->get(symhwid,gain).m_data;
20 }
21 
22 
LArMphysOverMcalMC
Implementation of the interface ILArMphysOverMcal for MC Derives from LArMphysOverMcalComplete,...
Definition: LArMphysOverMcalMC.h:21
LArParamsProperties::MphysOverMcalComplete
@ MphysOverMcalComplete
Definition: LArParamsProperties.h:85
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArMphysOverMcalSym::~LArMphysOverMcalSym
virtual ~LArMphysOverMcalSym()
Definition: LArMphysOverMcalSym.cxx:15
LArMphysOverMcalMC.h
HWIdentifier
Definition: HWIdentifier.h:13
LArMphysOverMcalSym::LArMphysOverMcalSym
LArMphysOverMcalSym()=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
LArMphysOverMcalSym.h
LArMphysOverMcalSym::m_MphysOverMcalComplete
const LArConditionsContainer< LArSingleFloatP > * m_MphysOverMcalComplete
Definition: LArMphysOverMcalSym.h:26
LArMphysOverMcalSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArMphysOverMcalSym.h:25
LArMphysOverMcalSym::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &hwid, int gain) const override
Definition: LArMphysOverMcalSym.cxx:17
LArMCSym.h