ATLAS Offline Software
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;
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;
40  std::string m_shapeKey;
41 
42  const LArOnlineID* m_onlineHelper{nullptr};
43  const LArEM_ID* m_emId{nullptr};
44  const LArHEC_ID* m_hecId{nullptr};
45  const LArFCAL_ID* m_fcalId{nullptr};
46 };
47 #endif
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
LArEM_ID.h
ILArShapeDumperTool.h
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
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
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
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
LArOnlineID
Definition: LArOnlineID.h:20
LArSamples::CellInfo
Definition: CellInfo.h:31
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
LArFCAL_ID.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArShapeDumperTool::m_doShape
bool m_doShape
Definition: LArShapeDumperTool.h:39
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
AthAlgTool
Definition: AthAlgTool.h:26
ILArShape
Definition: ILArShape.h:13
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60