ATLAS Offline Software
SCT_CalibHitmapTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef SCT_CalibHitmapTool_h
12 #define SCT_CalibHitmapTool_h
13 
14 //Athena includes
17 
18 //Inner detector includes
19 #include "InDetIdentifier/SCT_ID.h"
21 
22 //local includes
24 
25 //Gaudi includes
26 #include "GaudiKernel/ToolHandle.h"
27 
28 //STL includes
29 #include <string>
30 
31 //fwd declarations
32 
33 class StatusCode;
34 
35 class SCT_CalibHitmapTool : public extends<AthAlgTool, ISCT_CalibHistoTool>
36 {
37 
38  public:
39  //@name Tool methods, reimplemented
41  SCT_CalibHitmapTool(const std::string&, const std::string&, const IInterface*);
42  virtual ~SCT_CalibHitmapTool() = default;
43  virtual StatusCode initialize();
44  virtual StatusCode finalize();
46  //@name ISCT_CalibHistoTool methods, reimplemented
48  virtual bool book();
49  virtual bool read(const std::string& fileName);
50  virtual bool fill(const bool fromData=false);
51  virtual bool fillFromData();
53 
54  private:
55  const SCT_ID* m_pSCTHelper{nullptr};
58  typedef std::vector<int> VecInt;
62 
63  SG::ReadHandleKey<SCT_RDO_Container> m_rdoContainerKey{this, "RDOContainer", "SCT_RDOs"};
64 
65 };
66 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SCT_CalibHitmapTool::m_sct_rdoGroupSize
VecInt m_sct_rdoGroupSize
Definition: SCT_CalibHitmapTool.h:61
SCT_CalibHitmapTool::SCT_CalibHitmapTool
SCT_CalibHitmapTool(const std::string &, const std::string &, const IInterface *)
Definition: SCT_CalibHitmapTool.cxx:36
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
SCT_CalibHitmapTool::finalize
virtual StatusCode finalize()
Definition: SCT_CalibHitmapTool.cxx:59
SCT_CalibHitmapTool::m_sct_firstStrip
VecInt m_sct_firstStrip
Definition: SCT_CalibHitmapTool.h:60
SCT_ID::const_id_iterator
std::vector< Identifier >::const_iterator const_id_iterator
Definition: SCT_ID.h:73
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
SCT_CalibHitmapTool::read
virtual bool read(const std::string &fileName)
Definition: SCT_CalibHitmapTool.cxx:101
SCT_CalibHitmapTool::m_waferItrBegin
SCT_ID::const_id_iterator m_waferItrBegin
Definition: SCT_CalibHitmapTool.h:56
SCT_CalibHitmapTool::fill
virtual bool fill(const bool fromData=false)
Definition: SCT_CalibHitmapTool.cxx:134
SCT_CalibHitmapTool::initialize
virtual StatusCode initialize()
Definition: SCT_CalibHitmapTool.cxx:42
SCT_CalibHitmapTool::fillFromData
virtual bool fillFromData()
Definition: SCT_CalibHitmapTool.cxx:158
SCT_RDO_Container.h
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
SCT_CalibHitmapTool::m_pSCTHelper
const SCT_ID * m_pSCTHelper
Definition: SCT_CalibHitmapTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
SCT_CalibHitmapTool
Definition: SCT_CalibHitmapTool.h:36
SCT_CalibHitmapTool::m_sct_waferHash
VecInt m_sct_waferHash
Definition: SCT_CalibHitmapTool.h:59
SCT_ID
Definition: SCT_ID.h:68
SCT_CalibHitmapTool::m_rdoContainerKey
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainerKey
Definition: SCT_CalibHitmapTool.h:63
ISCT_CalibHistoTool.h
SCT_CalibHitmapTool::VecInt
std::vector< int > VecInt
Definition: SCT_CalibHitmapTool.h:58
SCT_CalibHitmapTool::m_waferItrEnd
SCT_ID::const_id_iterator m_waferItrEnd
Definition: SCT_CalibHitmapTool.h:57
SCT_CalibHitmapTool::book
virtual bool book()
Definition: SCT_CalibHitmapTool.cxx:66
SCT_CalibHitmapTool::~SCT_CalibHitmapTool
virtual ~SCT_CalibHitmapTool()=default