ATLAS Offline Software
Loading...
Searching...
No Matches
CaloMBTSRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_CALOMBTSRETRIEVER_H
6#define JIVEXML_CALOMBTSRETRIEVER_H
7
8
9
16
19#include "GaudiKernel/ToolHandle.h"
20
21#include <string>
22#include <vector>
23#include <cstddef>
24#include <map>
25
26class IToolSvc;
27class Identifier;
28class TileTBID;
29
30namespace JiveXML{
31
47 class CaloMBTSRetriever : public extends<AthAlgTool,IDataRetriever> {
48
49 public:
50 using base_class::base_class;
51
53 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
54 const DataMap getMBTSData(const TileCellContainer* tileMBTSCellContainer);
55
57 virtual std::string dataTypeName() const override { return "MBTS"; };
58
60 virtual StatusCode initialize() override;
61
62 private:
63 ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
64 "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
65
66 ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
67 "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
68
70
71 SG::ReadHandleKey<TileCellContainer> m_sgKeyMBTS{this, "StoreGateKey", "MBTSContainer", "Name of the TileCellContainer"};
73 , "Input collection to retrieve Tile raw channels, used when DoMBTSCellDetails is True"};
75 , "Input collection to retrieve Tile digits, used when doTileDigit is True"};
76
77 Gaudi::Property<double> m_mbtsThreshold{this, "MBTSThreshold", 0.05};
78 Gaudi::Property<bool> m_mbts{this, "RetrieveMBTS", true};
79 Gaudi::Property<bool> m_mbtsdigit{this, "DoMBTSDigits", false};
80 Gaudi::Property<bool> m_mbtsCellDetails{this, "DoMBTSCellDetails", false};
81 };
82}
83#endif
TileContainer< TileCell > TileCellContainer
Retrieves all Calo Cluster objects.
virtual std::string dataTypeName() const override
Return the name of the data type.
const DataMap getMBTSData(const TileCellContainer *tileMBTSCellContainer)
Retrieve MBTS cell location and details.
SG::ReadHandleKey< TileCellContainer > m_sgKeyMBTS
Gaudi::Property< double > m_mbtsThreshold
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
Gaudi::Property< bool > m_mbtsCellDetails
virtual StatusCode initialize() override
Default AthAlgTool methods.
Gaudi::Property< bool > m_mbtsdigit
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Gaudi::Property< bool > m_mbts
ToolHandle< TileCondToolTiming > m_tileToolTiming
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
std::map< std::string, DataVect > DataMap
Definition DataType.h:59