ATLAS Offline Software
LArShape32Sym.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 LArShape32Sym::LArShape32Sym(const LArMCSym* mcsym, const LArShape32MC* shapeComplete):
10  m_mcSym(mcsym),
11  m_shapeComplete(static_cast<const LArConditionsContainer<LArShapeP1>*>(shapeComplete))
12 {}
13 
15 
16 
18  int /*tbin*/, int /*mode*/ ) const {
19  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
20  const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
21  return t.m_vShape;
22 }
23 
24 
26  int /*tbin*/, int /*mode*/ ) const {
27  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
28  const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
29  return t.m_vShapeDer;
30 }
31 
32 
33 
35  int /*tbin*/, int /*mode*/ ) const {
36  HWIdentifier symhwid=m_mcSym->ZPhiSymOfl(id);
37  const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
38  return t.m_vShape;
39 }
40 
41 
43  int /*tbin*/, int /*mode*/ ) const {
44  HWIdentifier symhwid=m_mcSym->ZPhiSymOfl(id);
45  const LArShapeP1& t = m_shapeComplete->get(symhwid,gain);
46  return t.m_vShapeDer;
47 }
LArShape32Sym::LArShape32Sym
LArShape32Sym()=delete
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArMCSym::ZPhiSymOfl
HWIdentifier ZPhiSymOfl(const Identifier notSymOffId) const
Find the symmetric HWID for an offline cell identifier.
Definition: LArMCSym.h:48
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
LArShape32Sym::m_shapeComplete
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
Definition: LArShape32Sym.h:34
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition: LArShapeP1.h:16
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91
LArShape32MC
This class implements the ILArShape interface.
Definition: LArShape32MC.h:27
LArShape32Sym::~LArShape32Sym
virtual ~LArShape32Sym()
Definition: LArShape32Sym.cxx:14
LArShape32Sym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArShape32Sym.h:33
LArShape32MC.h
LArShape32Sym::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32Sym.cxx:17
LArShape32Sym::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32Sym.cxx:25
LArShape32Sym.h
LArMCSym.h
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38