ATLAS Offline Software
MbtsToVectorsTool.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // MbtsToVectorsTool.h
8 // Header file for class MBTSToVectors
10 #ifndef DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H
11 #define DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H 1
12 
14 
15 // FrameWork includes
19 
20 // PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces includes
22 
23 // STL includes
24 #include <string>
25 
26 // Forward declaration
27 class TileTBID;
28 
29 namespace DerivationFramework {
30 
31  class MbtsToVectorsTool: public extends<AthAlgTool, IAugmentationTool>
32  {
33 
34  public:
35 
36  using base_class::base_class;
37 
38  virtual StatusCode addBranches(const EventContext& ctx) const override final;
39  virtual StatusCode initialize() override final;
40 
41  private:
42 
43  Gaudi::Property<bool> m_saveEtaPhi{this, "SaveEtaPhiInfo", true};
44 
45  SG::ReadHandleKey<TileCellContainer> m_cellContainerKey{this, "CellContainer", "MBTSContainer"};
46 
51  SG::WriteHandleKey<std::vector<int> > m_qualityKey{this, "Quality", "quality"};
53  SG::WriteHandleKey<std::vector<int> > m_moduleKey{this, "Module", "module"};
54  SG::WriteHandleKey<std::vector<int> > m_channelKey{this, "Channel", "channel"};
55 
56  const TileTBID* m_tileTBID{};
57 
58  static const unsigned int MAX_MBTS_COUNTER{32};
59  };
60 
61 }
62 
63 
64 #endif //> !DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::MbtsToVectorsTool::m_timeKey
SG::WriteHandleKey< std::vector< float > > m_timeKey
Definition: MbtsToVectorsTool.h:48
DerivationFramework::MbtsToVectorsTool::m_typeKey
SG::WriteHandleKey< std::vector< int > > m_typeKey
Definition: MbtsToVectorsTool.h:52
IAugmentationTool.h
DerivationFramework::MbtsToVectorsTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: MbtsToVectorsTool.cxx:43
DerivationFramework::MbtsToVectorsTool::m_qualityKey
SG::WriteHandleKey< std::vector< int > > m_qualityKey
Definition: MbtsToVectorsTool.h:51
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::MbtsToVectorsTool::m_etaKey
SG::WriteHandleKey< std::vector< float > > m_etaKey
Definition: MbtsToVectorsTool.h:49
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework::MbtsToVectorsTool::MAX_MBTS_COUNTER
static const unsigned int MAX_MBTS_COUNTER
Definition: MbtsToVectorsTool.h:58
DerivationFramework::MbtsToVectorsTool::m_saveEtaPhi
Gaudi::Property< bool > m_saveEtaPhi
Definition: MbtsToVectorsTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::MbtsToVectorsTool::m_tileTBID
const TileTBID * m_tileTBID
Definition: MbtsToVectorsTool.h:56
DerivationFramework::MbtsToVectorsTool
Definition: MbtsToVectorsTool.h:32
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DerivationFramework::MbtsToVectorsTool::m_energyKey
SG::WriteHandleKey< std::vector< float > > m_energyKey
Definition: MbtsToVectorsTool.h:47
DerivationFramework::MbtsToVectorsTool::m_channelKey
SG::WriteHandleKey< std::vector< int > > m_channelKey
Definition: MbtsToVectorsTool.h:54
DerivationFramework::MbtsToVectorsTool::m_cellContainerKey
SG::ReadHandleKey< TileCellContainer > m_cellContainerKey
Definition: MbtsToVectorsTool.h:45
DerivationFramework::MbtsToVectorsTool::m_moduleKey
SG::WriteHandleKey< std::vector< int > > m_moduleKey
Definition: MbtsToVectorsTool.h:53
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
DerivationFramework::MbtsToVectorsTool::m_phiKey
SG::WriteHandleKey< std::vector< float > > m_phiKey
Definition: MbtsToVectorsTool.h:50
TileContainer.h
DerivationFramework::MbtsToVectorsTool::initialize
virtual StatusCode initialize() override final
Definition: MbtsToVectorsTool.cxx:25