ATLAS Offline Software
LArShape32Sym.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_LARSHAPE32SYM_H
6 #define LARRAWCONDITIONS_LARSHAPE32SYM_H
7 
9 #include "Identifier/Identifier.h"
10 
11 class LArMCSym;
12 class LArShape32MC;
13 class LArShapeP1;
14 template<typename LArShapeP1> class LArConditionsContainer;
15 
16 class LArShape32Sym: public ILArShape {
17 
18  public:
20  LArShape32Sym() = delete;
21  LArShape32Sym(const LArMCSym* mcsym, const LArShape32MC* shapeComplete);
22  virtual ~LArShape32Sym( );
23 
24  // retrieving Shape using online ID
25  virtual ShapeRef_t Shape (const HWIdentifier& CellID, int gain, int tbin = 0, int mode = 0 ) const;
26  virtual ShapeRef_t ShapeDer(const HWIdentifier& CellID, int gain, int tbin = 0, int mode = 0) const;
27 
28  // retrieving Shape using offline ID
29  virtual ShapeRef_t Shape (const Identifier& CellID, int gain, int tbin = 0, int mode = 0) const;
30  virtual ShapeRef_t ShapeDer(const Identifier& CellID, int gain, int tbin = 0, int mode = 0) const;
31 
32  private:
33  const LArMCSym* m_mcSym;
35 };
36 
37 #include "AthenaKernel/CLASS_DEF.h"
38 #include "AthenaKernel/CondCont.h"
39 CLASS_DEF( LArShape32Sym,237619693,1)
41 #endif
LArShape32Sym::ShapeRef_t
ILArShape::ShapeRef_t ShapeRef_t
Definition: LArShape32Sym.h:19
CondCont.h
Hold mappings of ranges to condition objects.
LArShape32Sym::LArShape32Sym
LArShape32Sym()=delete
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
CONDCONT_DEF
CONDCONT_DEF(LArShape32Sym, 110670317, ILArShape)
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
LArShape32Sym::m_shapeComplete
const LArConditionsContainer< LArShapeP1 > * m_shapeComplete
Definition: LArShape32Sym.h:34
LArShapeP1
c-struct reproducing the structure of the persistent data
Definition: LArShapeP1.h:16
Preparation.mode
mode
Definition: Preparation.py:94
LArShape32MC
This class implements the ILArShape interface.
Definition: LArShape32MC.h:27
ILArShape.h
LArShape32Sym::~LArShape32Sym
virtual ~LArShape32Sym()
Definition: LArShape32Sym.cxx:14
LArShape32Sym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArShape32Sym.h:33
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
LArShape32Sym::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32Sym.cxx:17
LArShape32Sym::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition: LArShape32Sym.cxx:25
ILArShape
Definition: ILArShape.h:13
LArShape32Sym
Definition: LArShape32Sym.h:16
CLASS_DEF.h
macros to associate a CLID to a type
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38
Identifier
Definition: IdentifierFieldParser.cxx:14