ATLAS Offline Software
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 
12 #include "JiveXML/IDataRetriever.h"
14 #include "JiveXML/DataType.h" //DataMap typedef
15 
16 #include <string>
17 
18 class CaloCell_ID;
19 class Identifier;
20 
21 namespace 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 
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
DataType.h
JiveXML::DataVect
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
Definition: DataType.h:58
JiveXML::BadTileRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: BadTileRetriever.cxx:55
SG::ReadHandleKey< CaloCellContainer >
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::BadTileRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition: BadTileRetriever.h:59
JiveXML::BadTileRetriever::m_cellThreshold
double m_cellThreshold
Definition: BadTileRetriever.h:62
JiveXML::BadTileRetriever::calcTILELayerSub
void calcTILELayerSub(Identifier &)
Definition: BadTileRetriever.cxx:129
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::BadTileRetriever::getBadTileData
const DataMap getBadTileData(const CaloCellContainer *cellContainer)
Retrieve Tile bad cell location and details.
Definition: BadTileRetriever.cxx:86
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
JiveXML::BadTileRetriever::m_tile
bool m_tile
Definition: BadTileRetriever.h:64
JiveXML::BadTileRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: BadTileRetriever.cxx:65
JiveXML::BadTileRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
Definition: BadTileRetriever.h:61
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JiveXML::BadTileRetriever::m_cellEnergyPrec
int m_cellEnergyPrec
Definition: BadTileRetriever.h:63
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
JiveXML::BadTileRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: BadTileRetriever.h:52
JiveXML::BadTileRetriever
Retrieves all Tile Calo Cell objects.
Definition: BadTileRetriever.h:40
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::BadTileRetriever::m_sub
DataVect m_sub
Definition: BadTileRetriever.h:67
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::BadTileRetriever::m_doBadTile
bool m_doBadTile
Definition: BadTileRetriever.h:65
JiveXML::BadTileRetriever::BadTileRetriever
BadTileRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: BadTileRetriever.cxx:37
Identifier
Definition: IdentifierFieldParser.cxx:14