ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTileRetriever.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_CALOTILERETRIEVER_H
6#define JIVEXML_CALOTILERETRIEVER_H
7
11
13
16
19#include "GaudiKernel/ToolHandle.h"
20#include <string>
21
22class CaloCell_ID;
23class Identifier;
24
25namespace JiveXML{
26
45 class CaloTileRetriever : public extends<AthAlgTool,IDataRetriever> {
46
47 public:
48 using base_class::base_class;
49
51 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
52 const DataMap getCaloTileData(const CaloCellContainer* cellContainer);
53
55 virtual std::string dataTypeName() const override{ return "TileDigit"; };
56
58 virtual StatusCode initialize() override;
59
60 private:
61 ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
62 "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
63
64 ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
65 "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
66
67 ToolHandle<ITileBadChanTool> m_tileBadChanTool{this,
68 "TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"};
69
72
73 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
75 "Input collection to retrieve Tile digits, used when doTileDigit is True"};
77 "Input collection to retrieve Tile raw channels, used when doTileCellDetails is True"};
78 Gaudi::Property<double> m_cellThreshold{this, "CellThreshold", 50.};
79 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
80 Gaudi::Property<int> m_cellTimePrec{this, "CellTimePrec", 3};
81 Gaudi::Property<bool> m_tile{this, "RetrieveTILE", true};
82 Gaudi::Property<bool> m_doTileDigit{this, "DoTileDigit", false};
83 Gaudi::Property<bool> m_doTileCellDetails{this, "DoTileCellDetails", false};
84 Gaudi::Property<bool> m_doBadTile{this, "DoBadTile", false};
85
87 };
88}
89#endif
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Retrieves all Tile Calo Cell objects.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
const DataMap getCaloTileData(const CaloCellContainer *cellContainer)
Retrieve Tile cell location and details.
const CaloCell_ID * m_calocell_id
virtual StatusCode initialize() override
Default AthAlgTool methods.
void calcTILELayerSub(Identifier &)
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
Gaudi::Property< bool > m_doTileCellDetails
ToolHandle< TileCondToolTiming > m_tileToolTiming
Gaudi::Property< double > m_cellThreshold
ToolHandle< ITileBadChanTool > m_tileBadChanTool
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
Gaudi::Property< int > m_cellTimePrec
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
virtual std::string dataTypeName() const override
Return the name of the data type.
Gaudi::Property< bool > m_doBadTile
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Gaudi::Property< int > m_cellEnergyPrec
Gaudi::Property< bool > m_tile
Gaudi::Property< bool > m_doTileDigit
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