ATLAS Offline Software
Loading...
Searching...
No Matches
BadTileRetriever.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_BADTILERETRIEVER_H
6#define JIVEXML_BADTILERETRIEVER_H
7
9
12#include "JiveXML/DataType.h" //DataMap typedef
13
14#include <string>
15
16class CaloCell_ID;
17class Identifier;
18
19namespace JiveXML{
20
37 class BadTileRetriever : public extends<AthAlgTool,IDataRetriever> {
38
39 public:
40 using base_class::base_class;
42 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
43 const DataMap getBadTileData(const CaloCellContainer* cellContainer);
44
46 virtual std::string dataTypeName() const override{ return "BadTILE"; };
47
49 virtual StatusCode initialize() override;
50
51 private:
54
55 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
56 Gaudi::Property<double> m_cellThreshold{this, "CellThreshold", 50.};
57 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
58 Gaudi::Property<bool> m_tile{this, "RetrieveTILE", true};
59 Gaudi::Property<bool> m_doBadTile{this, "DoBadTile", false};
60
62 };
63}
64#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
Gaudi::Property< double > m_cellThreshold
Gaudi::Property< bool > m_doBadTile
const CaloCell_ID * m_calocell_id
void calcTILELayerSub(Identifier &)
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
virtual std::string dataTypeName() const override
Return the name of the data type.
virtual StatusCode initialize() override
Default AthAlgTool methods.
Gaudi::Property< bool > m_tile
const DataMap getBadTileData(const CaloCellContainer *cellContainer)
Retrieve Tile bad cell location and details.
Gaudi::Property< int > m_cellEnergyPrec
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