ATLAS Offline Software
Loading...
Searching...
No Matches
CaloFCalRetriever.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_CALOFCALRETRIEVER_H
6#define JIVEXML_CALOFCALRETRIEVER_H
7
8#include "CaloEvent/CaloCellContainer.h"//readhandle template param
9
10#include "LArCabling/LArOnOffIdMapping.h"//readhandle template param
11#include "LArRawConditions/LArADC2MeV.h"//readhandle template param
12
15#include "GaudiKernel/ToolHandle.h"
17
18#include <string>
19#include <vector>
20//
21class IToolSvc;
22class CaloCell_ID;
23class Identifier;
24
25namespace JiveXML{
26
47 class CaloFCalRetriever : public extends<AthAlgTool,IDataRetriever> {
48
49 public:
50
51 using base_class::base_class;
52
54 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool) override;
55 const DataMap getFCalData(const CaloCellContainer* cellContainer);
56
58 virtual std::string dataTypeName() const override { return "FCAL"; };
59
61 virtual StatusCode initialize() override;
62
63 private:
65
67 {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
69 { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
71 {this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
72
74 Gaudi::Property<double> m_cellThreshold{this, "FCallCellThreshold", 50.};
75 Gaudi::Property<int> m_cellEnergyPrec{this, "CellEnergyPrec", 3};
76 Gaudi::Property<int> m_cellTimePrec{this, "CellTimePrec", 3};
77 Gaudi::Property<bool> m_fcal{this, "RetrieveFCal", true};
78 Gaudi::Property<bool> m_doFCalCellDetails{this, "DoFCalCellDetails", false};
79 Gaudi::Property<bool> m_cellConditionCut{this, "CellConditionCut", false};
80 Gaudi::Property<std::vector<Identifier::value_type>> m_LArChannelsToIgnoreM5{this, "LArChannelsToIgnoreM5", {}};
81 Gaudi::Property<bool> m_doMaskLArChannelsM5{this, "DoMaskLArChannelsM5", false};
82 Gaudi::Property<bool> m_doBadFCal{this, "DoBadFCal", false};
83
84 };
85}
86#endif
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Retrieves all Calo Cluster objects.
virtual StatusCode initialize() override
Default AthAlgTool methods.
Gaudi::Property< bool > m_fcal
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Gaudi::Property< bool > m_doBadFCal
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< int > m_cellTimePrec
Gaudi::Property< bool > m_doMaskLArChannelsM5
Gaudi::Property< int > m_cellEnergyPrec
Gaudi::Property< bool > m_cellConditionCut
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Gaudi::Property< double > m_cellThreshold
for properties
SG::ReadHandleKey< CaloCellContainer > m_sgKey
const CaloCell_ID * m_calocell_id
virtual std::string dataTypeName() const override
Return the name of the data type.
Gaudi::Property< std::vector< Identifier::value_type > > m_LArChannelsToIgnoreM5
const DataMap getFCalData(const CaloCellContainer *cellContainer)
Retrieve FCal cell location and details.
Gaudi::Property< bool > m_doFCalCellDetails
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