ATLAS Offline Software
Loading...
Searching...
No Matches
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
9LArShape32Sym::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}
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition ILArShape.h:26
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition LArMCSym.h:19
This class implements the ILArShape interface.
LArShape32Sym()=delete
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
virtual ~LArShape32Sym()
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
const LArMCSym * m_mcSym
c-struct reproducing the structure of the persistent data
Definition LArShapeP1.h:16