ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
LArShape32MC.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArShape32MC.h
"
6
7
LArShape32MC::LArShape32MC
() :
CONTAINER
()
8
{ }
9
10
11
StatusCode
LArShape32MC::initialize
(){
12
return
(
CONTAINER::initialize
());
13
}
14
15
LArShape32MC::~LArShape32MC
() {}
16
17
18
/* Fill transient object in ATHENA *****************************************
19
*/
20
21
void
LArShape32MC::set
(
const
HWIdentifier
& CellID,
int
gain,
22
const
std::vector<float>& vShape,
23
const
std::vector<float>& vShapeDer){
24
LArShapeP1
t;
25
t.m_vShape = vShape;
26
t.m_vShapeDer = vShapeDer;
27
setPdata
(CellID, t, gain);
28
}
29
30
/* retrieve Shape ******************************************************
31
*/
32
LArShape32MC::ShapeRef_t
33
LArShape32MC::Shape
(
const
HWIdentifier
&,
34
int
,
35
int
/*tbin*/
,
36
int
/*mode*/
)
const
37
{
38
std::cout <<
"LArShape32MC is deprecated. Use LArShape32Sym"
<< std::endl;
39
std::abort();
40
return
LArShape32MC::ShapeRef_t
();
41
}
42
43
LArShape32MC::ShapeRef_t
44
LArShape32MC::ShapeDer
(
const
HWIdentifier
&,
45
int
,
46
int
/*tbin*/
,
47
int
/*mode*/
)
const
48
{
49
std::cout <<
"LArShape32MC is deprecated. Use LArShape32Sym"
<< std::endl;
50
std::abort();
51
return
LArShape32MC::ShapeRef_t
();
52
}
LArShape32MC.h
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArShapeP1 >::setPdata
void setPdata(const HWIdentifier id, const LArShapeP1 &payload, unsigned int gain=0)
LArConditionsContainer< LArShapeP1 >::initialize
virtual StatusCode initialize()
LArShape32MC::set
void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vShape, const std::vector< float > &vShapeDer)
Definition
LArShape32MC.cxx:21
LArShape32MC::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShape32MC.cxx:44
LArShape32MC::initialize
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
Definition
LArShape32MC.cxx:11
LArShape32MC::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShape32MC.cxx:33
LArShape32MC::~LArShape32MC
virtual ~LArShape32MC()
Definition
LArShape32MC.cxx:15
LArShape32MC::ShapeRef_t
ILArShape::ShapeRef_t ShapeRef_t
Definition
LArShape32MC.h:31
LArShape32MC::LArShape32MC
LArShape32MC()
Definition
LArShape32MC.cxx:7
LArShape32MC::CONTAINER
LArConditionsContainer< LArShapeP1 > CONTAINER
Definition
LArShape32MC.h:32
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition
LArShapeP1.h:16
Generated on
for ATLAS Offline Software by
1.17.0