ATLAS Offline Software
Loading...
Searching...
No Matches
BadTileRetriever.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_BADTILERETRIEVER_H
6#define JIVEXML_BADTILERETRIEVER_H
7
8
9
11
14#include "JiveXML/DataType.h" //DataMap typedef
15
16#include <string>
17
18class CaloCell_ID;
19class Identifier;
20
21namespace JiveXML{
22
39 class BadTileRetriever : virtual public IDataRetriever,
40 public AthAlgTool {
41
42 public:
43
45 BadTileRetriever(const std::string& type,const std::string& name,const IInterface* parent);
46
48 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
49 const DataMap getBadTileData(const CaloCellContainer* cellContainer);
50
52 virtual std::string dataTypeName() const { return "BadTILE"; };
53
55 StatusCode initialize();
56
57 private:
60
61 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
64 bool m_tile;
66
68 };
69}
70#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
virtual std::string dataTypeName() const
Return the name of the data type.
const CaloCell_ID * m_calocell_id
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
void calcTILELayerSub(Identifier &)
BadTileRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
StatusCode initialize()
Default AthAlgTool methods.
const DataMap getBadTileData(const CaloCellContainer *cellContainer)
Retrieve Tile bad cell location and details.
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