ATLAS Offline Software
LArAutoCorrSym.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 LArAutoCorrSym::LArAutoCorrSym(const LArMCSym* mcSym, const LArAutoCorrMC* acComplete) :
10  m_mcSym(mcSym),
11  m_acComplete(acComplete) //Implicit cast to base-class
12 {}
13 
15 
17  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
18  return m_acComplete->get(symhwid,gain).m_vAutoCorr;
19 }
20 
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArAutoCorrSym.h
LArAutoCorrSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArAutoCorrSym.h:26
HWIdentifier
Definition: HWIdentifier.h:13
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
LArAutoCorrSym::~LArAutoCorrSym
virtual ~LArAutoCorrSym()
Definition: LArAutoCorrSym.cxx:14
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
LArAutoCorrMC.h
LArAutoCorrSym::LArAutoCorrSym
LArAutoCorrSym()=delete
LArAutoCorrSym::m_acComplete
const LArConditionsContainer< LArAutoCorrP1 > * m_acComplete
Definition: LArAutoCorrSym.h:27
LArAutoCorrSym::autoCorr
virtual AutoCorrRef_t autoCorr(const HWIdentifier &CellID, int gain) const override
Definition: LArAutoCorrSym.cxx:16
LArAutoCorrMC
Implementation of the interface ILArAutoCorr for MC Derives from LArAutoCorrComplete,...
Definition: LArAutoCorrMC.h:24
LArMCSym.h
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38