Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LArShapeDumperTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARCAFJOBS_LARSHAPEDUMPERTOOL_H
6 #define LARCAFJOBS_LARSHAPEDUMPERTOOL_H
7 
10 
11 #include "GaudiKernel/ToolHandle.h"
12 
16 
17 class ILArShape;
18 class LArOnlineID_Base;
19 
21 {
22  public:
23 
24  LArShapeDumperTool(const std::string& type, const std::string& name,
25  const IInterface* parent);
26 
27  virtual ~LArShapeDumperTool();
28 
29  StatusCode initialize() override;
30  StatusCode finalize() override;
31 
32  virtual LArSamples::CellInfo* makeCellInfo(const HWIdentifier& channelID, const Identifier& id, const CaloDetDescrElement* caloDetElement = 0) const override;
33  virtual LArSamples::ShapeInfo* retrieveShape(const HWIdentifier& channelID, CaloGain::CaloGain gain) const override;
34 
35  virtual bool doShape() const override { return m_doShape; }
36 
37  private:
38 
39  bool m_doShape, m_doAllShapes, m_isSC;
40  std::string m_shapeKey;
41 
42  const LArOnlineID_Base* m_onlineHelper{nullptr};
43  const LArEM_Base_ID* m_emId{nullptr};
44  const LArHEC_Base_ID* m_hecId{nullptr};
45  const LArFCAL_Base_ID* m_fcalId{nullptr};
46 };
47 #endif
LArFCAL_Base_ID
Definition: LArFCAL_Base_ID.h:19
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:50
LArEM_ID.h
ILArShapeDumperTool.h
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArHEC_Base_ID.h:44
LArEM_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArEM_Base_ID.h:38
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
initialize
void initialize()
Definition: run_EoverP.cxx:894
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
ILArShapeDumperTool::makeCellInfo
virtual LArSamples::CellInfo * makeCellInfo(const HWIdentifier &channelID, const Identifier &id, const CaloDetDescrElement *caloDetElement=0) const =0
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArShapeDumperTool::m_isSC
bool m_isSC
Definition: LArShapeDumperTool.h:39
LArHEC_ID.h
HWIdentifier
Definition: HWIdentifier.h:13
LArSamples::ShapeInfo
Definition: ShapeInfo.h:24
LArShapeDumperTool::doShape
virtual bool doShape() const override
Definition: LArShapeDumperTool.h:35
LArShapeDumperTool
Definition: LArShapeDumperTool.h:21
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArShapeDumperTool::m_shapeKey
std::string m_shapeKey
Definition: LArShapeDumperTool.h:40
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ILArShapeDumperTool::retrieveShape
virtual LArSamples::ShapeInfo * retrieveShape(const HWIdentifier &channelID, CaloGain::CaloGain gain) const =0
ILArShapeDumperTool
Definition: ILArShapeDumperTool.h:26
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArSamples::CellInfo
Definition: CellInfo.h:31
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
LArFCAL_ID.h
AthAlgTool
Definition: AthAlgTool.h:26
ILArShape
Definition: ILArShape.h:13
Identifier
Definition: IdentifierFieldParser.cxx:14