ATLAS Offline Software
Loading...
Searching...
No Matches
CaloFCalRetriever.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_CALOFCALRETRIEVER_H
6#define JIVEXML_CALOFCALRETRIEVER_H
7
8
9
10#include "CaloEvent/CaloCellContainer.h"//readhandle template param
11
12#include "LArCabling/LArOnOffIdMapping.h"//readhandle template param
13#include "LArRawConditions/LArADC2MeV.h"//readhandle template param
14
17#include "GaudiKernel/ToolHandle.h"
19
20#include <string>
21#include <vector>
22//
23class IToolSvc;
24class CaloCell_ID;
25class Identifier;
26
27namespace JiveXML{
28
49 class CaloFCalRetriever : virtual public IDataRetriever,
50 public AthAlgTool {
51
52 public:
53
55 CaloFCalRetriever(const std::string& type,const std::string& name,const IInterface* parent);
56
58 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
59 const DataMap getFCalData(const CaloCellContainer* cellContainer);
60
62 virtual std::string dataTypeName() const { return "FCAL"; };
63
64
66 StatusCode initialize();
67
68 private:
70 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
71
73 { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
74
76 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
80 bool m_fcal;
83 std::vector<Identifier::value_type> m_LArChannelsToIgnoreM5;
86 };
87}
88#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::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
CaloFCalRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
std::vector< Identifier::value_type > m_LArChannelsToIgnoreM5
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
const CaloCell_ID * m_calocell_id
StatusCode initialize()
Default AthAlgTool methods.
const DataMap getFCalData(const CaloCellContainer *cellContainer)
Retrieve FCal 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