ATLAS Offline Software
Loading...
Searching...
No Matches
LArfSamplSym.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
6
7
8LArfSamplSym::LArfSamplSym(const LArMCSym* mcSym, const LArfSamplMC* fSamplComplete) :
9 m_mcSym(mcSym),
10 m_fSamplCont(fSamplComplete) //Implicit cast to base-class
11{}
12
14
15const float& LArfSamplSym::FSAMPL(const HWIdentifier& hwid) const {
16 HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
17 return m_fSamplCont->get(symhwid).m_fSampl;
18}
19
20const float& LArfSamplSym::FSAMPL(const Identifier& id) const {
21 HWIdentifier symhwid=m_mcSym->ZPhiSymOfl(id);
22 return m_fSamplCont->get(symhwid).m_fSampl;
23}
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition LArMCSym.h:19
Implementation of the interface ILArfSampl for MC Derives from LArfSamplComplete, and implements the ...
Definition LArfSamplMC.h:23
virtual ~LArfSamplSym()
const LArConditionsContainer< LArfSamplP > * m_fSamplCont
LArfSamplSym()=delete
virtual const float & FSAMPL(const HWIdentifier &CellID) const override
const LArMCSym * m_mcSym