ATLAS Offline Software
Loading...
Searching...
No Matches
CaloLArRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_CALOLARRETRIEVER_H
6#define JIVEXML_CALOLARRETRIEVER_H
7
8
13
16#include "GaudiKernel/ToolHandle.h"
18#include "JiveXML/DataType.h" //DataMap
19
20#include <string>
21#include <vector>
22
23class IToolSvc;
24
25class Identifier;
27
28namespace JiveXML{
29
50 class CaloLArRetriever : public extends<AthAlgTool,IDataRetriever> {
51
52 public:
53 using base_class::base_class;
54
56 virtual StatusCode retrieve (ToolHandle<IFormatTool> &FormatTool) override;
57 const DataMap getLArData(const CaloCellContainer* cellContainer);
58
60 virtual std::string dataTypeName() const override { return "LAr"; };
61
63 virtual StatusCode initialize() override;
64
65 private:
68 {this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
69
71 {this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO"};
72
74 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
75 Gaudi::Property<double> m_cellThreshold{this, "LArlCellThreshold", 50.};
76 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
77 Gaudi::Property<int> m_cellTimePrec{this, "CellTimePrec", 3};
78 Gaudi::Property<bool> m_lar{this, "RetrieveLAr", true};
79 Gaudi::Property<bool> m_doLArCellDetails{this, "DoLArCellDetails", false};
80 Gaudi::Property<bool> m_cellConditionCut{this, "CellConditionCut", false};
81 Gaudi::Property<std::vector<Identifier::value_type>> m_LArChannelsToIgnoreM5{this, "LArChannelsToIgnoreM5", {}};
82 Gaudi::Property<bool> m_doMaskLArChannelsM5{this, "DoMaskLArChannelsM5", false};
83 Gaudi::Property<bool> m_doBadLAr{this, "DoBadLAr", false};
84 };
85}
86#endif
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Retrieves all Calo Cluster objects.
Gaudi::Property< int > m_cellEnergyPrec
Gaudi::Property< int > m_cellTimePrec
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
virtual StatusCode initialize() override
Default AthAlgTool methods.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const CaloCell_ID * m_calocell_id
virtual std::string dataTypeName() const override
Return the name of the data type.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Gaudi::Property< double > m_cellThreshold
Gaudi::Property< bool > m_doMaskLArChannelsM5
Gaudi::Property< bool > m_doBadLAr
Gaudi::Property< std::vector< Identifier::value_type > > m_LArChannelsToIgnoreM5
Gaudi::Property< bool > m_doLArCellDetails
const DataMap getLArData(const CaloCellContainer *cellContainer)
Retrieve LAr cell location and details.
Gaudi::Property< bool > m_cellConditionCut
Gaudi::Property< bool > m_lar
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