ATLAS Offline Software
Loading...
Searching...
No Matches
CaloHECRetriever.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_CALOHECRETRIEVER_H
6#define JIVEXML_CALOHECRETRIEVER_H
7
8
9
14
17#include "GaudiKernel/ToolHandle.h"
19
20#include "JiveXML/DataType.h"//DataMap typedef
21#include <string>
22#include <vector>
23
24class IToolSvc;
25
26class Identifier;
28
29namespace JiveXML{
30
51 class CaloHECRetriever : virtual public IDataRetriever,
52 public AthAlgTool {
53
54 public:
55
57 CaloHECRetriever(const std::string& type,const std::string& name,const IInterface* parent);
58
60 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
61 const DataMap getHECData(const CaloCellContainer* cellContainer);
62
64 virtual std::string dataTypeName() const { return "HEC"; };
65
66
68 StatusCode initialize();
69
70 private:
72 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
73
75 { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
76
78 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
82 bool m_hec{};
85 std::vector<Identifier::value_type> m_LArChannelsToIgnoreM5;
87 bool m_doBadHEC{};
88 };
89}
90#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.
StatusCode initialize()
Default AthAlgTool methods.
std::vector< Identifier::value_type > m_LArChannelsToIgnoreM5
const DataMap getHECData(const CaloCellContainer *cellContainer)
Retrieve HEC cell location and details.
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const CaloCell_ID * m_calocell_id
CaloHECRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
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