ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTileRetriever.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_CALOTILERETRIEVER_H
6#define JIVEXML_CALOTILERETRIEVER_H
7
8
9
10
14
16
19
22#include "GaudiKernel/ToolHandle.h"
23#include <string>
24
25class CaloCell_ID;
26class Identifier;
27
28namespace JiveXML{
29
48 class CaloTileRetriever : virtual public IDataRetriever,
49 public AthAlgTool {
50
51 public:
52
54 CaloTileRetriever(const std::string& type,const std::string& name,const IInterface* parent);
55
57 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
58 const DataMap getCaloTileData(const CaloCellContainer* cellContainer);
59
61 virtual std::string dataTypeName() const { return "TileDigit"; };
62
64 StatusCode initialize();
65
66 private:
67 ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
68 "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
69
70 ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
71 "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
72
73 ToolHandle<ITileBadChanTool> m_tileBadChanTool{this,
74 "TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"};
75
78
79 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
80 SG::ReadHandleKey<TileDigitsContainer> m_sgKeyTileDigits{this, "TileDigitsContainerKey", "", "Name of the TileDigitsContainer"};
81 SG::ReadHandleKey<TileRawChannelContainer> m_sgKeyTileRawChannel{this, "TileRawChannelContainerKey", "", "Name of the TileRawChannelContainer"};
85 bool m_tile;
89
91 };
92}
93#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
SG::ReadHandleKey< CaloCellContainer > m_sgKey
const DataMap getCaloTileData(const CaloCellContainer *cellContainer)
Retrieve Tile cell location and details.
const CaloCell_ID * m_calocell_id
void calcTILELayerSub(Identifier &)
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
virtual std::string dataTypeName() const
Return the name of the data type.
ToolHandle< TileCondToolTiming > m_tileToolTiming
StatusCode initialize()
Default AthAlgTool methods.
ToolHandle< ITileBadChanTool > m_tileBadChanTool
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
CaloTileRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
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.
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
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
Definition DataType.h:58