ATLAS Offline Software
Loading...
Searching...
No Matches
CaloMBTSRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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 : virtual public IDataRetriever,
48 public AthAlgTool {
49
50 public:
51
53 CaloMBTSRetriever(const std::string& type,const std::string& name,const IInterface* parent);
54
56 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
57 const DataMap getMBTSData(const TileCellContainer* tileMBTSCellContainer);
58
60 virtual std::string dataTypeName() const { return "MBTS"; };
61
63 StatusCode initialize();
64
65 private:
66 ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
67 "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
68
69 ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
70 "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
71
73
75 SG::ReadHandleKey<TileCellContainer> m_sgKeyMBTS{this, "StoreGateKey", "MBTSContainer", "Name of the TileCellContainer"};
76 SG::ReadHandleKey<TileDigitsContainer> m_sgKeyTileDigits{this, "TileDigitsContainerKey", "", "Name of the TileDigitsContainer"};
77 SG::ReadHandleKey<TileRawChannelContainer> m_sgKeyTileRawChannel{this, "TileRawChannelContainerKey", "", "Name of the TileRawChannelContainer"};
79 bool m_mbts;
82 };
83}
84#endif
TileContainer< TileCell > TileCellContainer
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
CaloMBTSRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
const DataMap getMBTSData(const TileCellContainer *tileMBTSCellContainer)
Retrieve MBTS cell location and details.
SG::ReadHandleKey< TileCellContainer > m_sgKeyMBTS
properties:
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
StatusCode initialize()
Default AthAlgTool methods.
ToolHandle< TileCondToolTiming > m_tileToolTiming
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
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