ATLAS Offline Software
Loading...
Searching...
No Matches
BadLArRetriever.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_BADLARRETRIEVER_H
6#define JIVEXML_BADLARRETRIEVER_H
7
8
9
12
15#include "GaudiKernel/ToolHandle.h"
16
17#include "JiveXML/DataType.h" //DataMap typedef
18
19#include <string>
20class CaloCell_ID;
21namespace JiveXML{
22
39 class BadLArRetriever : virtual public IDataRetriever,
40 public AthAlgTool {
41
42 public:
43
45 BadLArRetriever(const std::string& type,const std::string& name,const IInterface* parent);
46
48 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
49 const DataMap getBadLArData(const CaloCellContainer* cellContainer);
50
52 virtual std::string dataTypeName() const { return "BadLAr"; };
53
55 StatusCode initialize();
56
57 private:
59 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
60
62 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
65 bool m_lar;
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
virtual std::string dataTypeName() const
Return the name of the data type.
BadLArRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
const CaloCell_ID * m_calocell_id
StatusCode initialize()
Default AthAlgTool methods.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
const DataMap getBadLArData(const CaloCellContainer *cellContainer)
Retrieve LAr bad cell location and details.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
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