ATLAS Offline Software
Loading...
Searching...
No Matches
CaloHECRetriever.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_CALOHECRETRIEVER_H
6#define JIVEXML_CALOHECRETRIEVER_H
7
12
15#include "GaudiKernel/ToolHandle.h"
17
18#include "JiveXML/DataType.h"//DataMap typedef
19#include <string>
20#include <vector>
21
22class IToolSvc;
23
24class Identifier;
26
27namespace JiveXML{
28
49 class CaloHECRetriever : public extends<AthAlgTool,IDataRetriever> {
50
51 public:
52
53 using base_class::base_class;
54
56 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
57 const DataMap getHECData(const CaloCellContainer* cellContainer);
58
60 virtual std::string dataTypeName() const override { return "HEC"; };
61
62
64 virtual StatusCode initialize() override;
65
66 private:
69 { this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
70
72 { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
73
75 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
76 Gaudi::Property<double> m_cellThreshold{this, "HEClCellThreshold", 50.};
77 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
78 Gaudi::Property<int> m_cellTimePrec{this, "CellTimePrec", 3};
79 Gaudi::Property<bool> m_hec{this, "RetrieveHEC", true};
80 Gaudi::Property<bool> m_doHECCellDetails{this, "DoHECCellDetails", false};
81 Gaudi::Property<bool> m_cellConditionCut{this, "CellConditionCut", false};
82 Gaudi::Property<std::vector<Identifier::value_type>> m_LArChannelsToIgnoreM5{this, "LArChannelsToIgnoreM5", {}};
83 Gaudi::Property<bool> m_doMaskLArChannelsM5{this, "DoMaskLArChannelsM5", false};
84 Gaudi::Property<bool> m_doBadHEC{this, "DoBadHEC", false};
85 };
86}
87#endif
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Retrieves all Calo Cluster objects.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
virtual std::string dataTypeName() const override
Return the name of the data type.
const DataMap getHECData(const CaloCellContainer *cellContainer)
Retrieve HEC cell location and details.
Gaudi::Property< std::vector< Identifier::value_type > > m_LArChannelsToIgnoreM5
Gaudi::Property< bool > m_hec
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
virtual StatusCode initialize() override
Default AthAlgTool methods.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< int > m_cellEnergyPrec
Gaudi::Property< bool > m_cellConditionCut
Gaudi::Property< bool > m_doHECCellDetails
const CaloCell_ID * m_calocell_id
Gaudi::Property< bool > m_doMaskLArChannelsM5
Gaudi::Property< double > m_cellThreshold
Gaudi::Property< int > m_cellTimePrec
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Gaudi::Property< bool > m_doBadHEC
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