ATLAS Offline Software
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 
6 
8 { }
9 
10 
12  return (CONTAINER::initialize());
13 }
14 
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  */
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 
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::LArShape32MC
LArShape32MC()
Definition: LArShape32MC.cxx:7
LArConditionsContainer< LArShapeP1 >::setPdata
void setPdata(const HWIdentifier id, const LArShapeP1 &payload, unsigned int gain=0)
put payload in persistent data
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArShape32MC::~LArShape32MC
virtual ~LArShape32MC()
Definition: LArShape32MC.cxx:15
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer< LArShapeP1 >
LArShape32MC::initialize
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
Definition: LArShape32MC.cxx:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition: LArShapeP1.h:16
LArShape32MC::set
void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vShape, const std::vector< float > &vShapeDer)
Definition: LArShape32MC.cxx:21
LArConditionsContainer< LArShapeP1 >::initialize
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
LArShape32MC::ShapeRef_t
ILArShape::ShapeRef_t ShapeRef_t
Definition: LArShape32MC.h:31
LArShape32MC.h
LArShape32MC::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32MC.cxx:44
LArShape32MC::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32MC.cxx:33
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38