ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
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
5
#include "
LArRawConditions/LArShape32Sym.h
"
6
#include "
LArRawConditions/LArShape32MC.h
"
7
#include "
LArRawConditions/LArMCSym.h
"
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
14
LArShape32Sym::~LArShape32Sym
() {}
15
16
17
ILArShape::ShapeRef_t
LArShape32Sym::Shape
(
const
HWIdentifier
& hwid,
int
gain,
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
25
ILArShape::ShapeRef_t
LArShape32Sym::ShapeDer
(
const
HWIdentifier
& hwid,
int
gain,
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
34
ILArShape::ShapeRef_t
LArShape32Sym::Shape
(
const
Identifier
&
id
,
int
gain,
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
42
ILArShape::ShapeRef_t
LArShape32Sym::ShapeDer
(
const
Identifier
&
id
,
int
gain,
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
}
LArMCSym.h
LArShape32MC.h
LArShape32Sym.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArShape::ShapeRef_t
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition
ILArShape.h:26
LArConditionsContainer
Definition
LArConditionsContainer.h:65
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition
LArMCSym.h:19
LArShape32MC
This class implements the ILArShape interface.
Definition
LArShape32MC.h:27
LArShape32Sym::LArShape32Sym
LArShape32Sym()=delete
LArShape32Sym::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShape32Sym.cxx:17
LArShape32Sym::~LArShape32Sym
virtual ~LArShape32Sym()
Definition
LArShape32Sym.cxx:14
LArShape32Sym::m_shapeComplete
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
Definition
LArShape32Sym.h:34
LArShape32Sym::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShape32Sym.cxx:25
LArShape32Sym::m_mcSym
const LArMCSym * m_mcSym
Definition
LArShape32Sym.h:33
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition
LArShapeP1.h:16
const
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0