ATLAS Offline Software
Loading...
Searching...
No Matches
BadLArRetriever.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_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 : public extends<AthAlgTool, IDataRetriever> {
40
41 public:
42
43 using base_class::base_class;
44
46 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
47 const DataMap getBadLArData(const CaloCellContainer* cellContainer);
48
50 virtual std::string dataTypeName() const override{ return "BadLAr"; };
51
53 virtual StatusCode initialize() override;
54
55 private:
57 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
58
60 SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
61 Gaudi::Property<double> m_cellThreshold{this, "LArlCellThreshold", 50.};
62 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
63 Gaudi::Property<bool> m_lar{this, "RetrieveLAr", true};
64 Gaudi::Property<bool> m_doBadLAr{this, "DoBadLAr", false};
65 Gaudi::Property<bool> m_cellConditionCut{this, "CellConditionCut", false};
66 };
67}
68#endif
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Retrieves all Calo Cluster objects.
virtual std::string dataTypeName() const override
Return the name of the data type.
virtual StatusCode initialize() override
Default AthAlgTool methods.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
const CaloCell_ID * m_calocell_id
Gaudi::Property< bool > m_cellConditionCut
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Gaudi::Property< double > m_cellThreshold
Gaudi::Property< bool > m_doBadLAr
Gaudi::Property< bool > m_lar
const DataMap getBadLArData(const CaloCellContainer *cellContainer)
Retrieve LAr bad cell location and details.
Gaudi::Property< int > m_cellEnergyPrec
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
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