ATLAS Offline Software
LArShape32MC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRAWCONDITIONS_LARSHAPE32MC_H
6 #define LARRAWCONDITIONS_LARSHAPE32MC_H
7 
8 #include "LArElecCalib/ILArShape.h"
11 #include "AthenaKernel/BaseInfo.h"
12 
13 #include <vector>
14 
25 class LArShape32MC: public ILArShape,
26  public LArConditionsContainer<LArShapeP1>
27  {
28 
29  public:
30 
33 
34  LArShape32MC();
35 
36  virtual ~LArShape32MC( );
37  virtual StatusCode initialize( );
38 
39  // retrieving Shape using online ID
40  virtual ShapeRef_t Shape (const HWIdentifier& CellID, int gain, int tbin = 0, int mode = 0 ) const ;
41  virtual ShapeRef_t ShapeDer(const HWIdentifier& CellID, int gain, int tbin = 0, int mode = 0) const ;
42 
43  // set method filling the data members individually (if one
44  // wants to fill this class not using the DB)
45  void set(const HWIdentifier& CellID, int gain,
46  const std::vector<float>& vShape,
47  const std::vector<float>& vShapeDer);
48 
49 };
50 
51 #include "AthenaKernel/CondCont.h"
52 CLASS_DEF( LArShape32MC,107446859,1)
54 
55 
56 #endif
LArShape32MC::LArShape32MC
LArShape32MC()
Definition: LArShape32MC.cxx:7
CondCont.h
Hold mappings of ranges to condition objects.
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArShape32MC::~LArShape32MC
virtual ~LArShape32MC()
Definition: LArShape32MC.cxx:15
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
LArShape32MC::CONTAINER
LArConditionsContainer< LArShapeP1 > CONTAINER
Definition: LArShape32MC.h:32
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArShape32MC::initialize
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
Definition: LArShape32MC.cxx:11
BaseInfo.h
Provide an interface for finding inheritance information at run time.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Preparation.mode
mode
Definition: Preparation.py:94
LArShape32MC
This class implements the ILArShape interface.
Definition: LArShape32MC.h:27
LArShape32MC::set
void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vShape, const std::vector< float > &vShapeDer)
Definition: LArShape32MC.cxx:21
ILArShape.h
LArShapeP1.h
CONDCONT_DEF
CONDCONT_DEF(LArShape32MC, 27292873, ILArShape)
LArShape32MC::ShapeRef_t
ILArShape::ShapeRef_t ShapeRef_t
Definition: LArShape32MC.h:31
LArShape32MC::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32MC.cxx:44
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
ILArShape
Definition: ILArShape.h:13
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