ATLAS Offline Software
Loading...
Searching...
No Matches
LAruA2MeVSym.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
10LAruA2MeVSym::LAruA2MeVSym(const LArMCSym* mcSym, const LAruA2MeVMC* uA2MeVComplete) :
11 m_mcSym(mcSym),
12 m_uA2MeVComplete(uA2MeVComplete) //Implicit cast to base-class
13{}
14
16
17const float& LAruA2MeVSym::UA2MEV(const HWIdentifier& hwid) const {
18 HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19 return m_uA2MeVComplete->get(symhwid).m_data;
20}
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition LArMCSym.h:19
Implementation of the interface ILAruA2MeV for MC Derives from LAruA2MeVComplete, and implements the ...
Definition LAruA2MeVMC.h:22
const LArMCSym * m_mcSym
LAruA2MeVSym()=delete
virtual const float & UA2MEV(const HWIdentifier &hwid) const override
virtual ~LAruA2MeVSym()
const LArConditionsContainer< LArSingleFloatP > * m_uA2MeVComplete