ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloJiveXML
src
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
8
#include "
CaloEvent/CaloCellContainer.h
"
9
#include "
CaloIdentifier/CaloCell_ID.h
"
10
#include "
LArCabling/LArOnOffIdMapping.h
"
11
#include "
LArRawConditions/LArADC2MeV.h
"
12
13
#include "
JiveXML/IDataRetriever.h
"
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
18
#include "
JiveXML/DataType.h
"
//DataMap typedef
19
#include <string>
20
#include <vector>
21
22
class
IToolSvc;
23
24
class
Identifier
;
25
class
CaloCellContainer
;
26
27
namespace
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
:
67
const
CaloCell_ID
*
m_calocell_id
{};
68
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
69
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
70
71
SG::ReadCondHandleKey<LArADC2MeV>
m_adc2mevKey
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
AthAlgTool.h
CaloCellContainer.h
CaloCell_ID.h
DataType.h
IDataRetriever.h
LArADC2MeV.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
JiveXML::CaloHECRetriever
Retrieves all Calo Cluster objects.
Definition
CaloHECRetriever.h:49
JiveXML::CaloHECRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition
CaloHECRetriever.cxx:44
JiveXML::CaloHECRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition
CaloHECRetriever.h:60
JiveXML::CaloHECRetriever::getHECData
const DataMap getHECData(const CaloCellContainer *cellContainer)
Retrieve HEC cell location and details.
Definition
CaloHECRetriever.cxx:69
JiveXML::CaloHECRetriever::m_LArChannelsToIgnoreM5
Gaudi::Property< std::vector< Identifier::value_type > > m_LArChannelsToIgnoreM5
Definition
CaloHECRetriever.h:82
JiveXML::CaloHECRetriever::m_hec
Gaudi::Property< bool > m_hec
Definition
CaloHECRetriever.h:79
JiveXML::CaloHECRetriever::m_adc2mevKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Definition
CaloHECRetriever.h:72
JiveXML::CaloHECRetriever::initialize
virtual StatusCode initialize() override
Default AthAlgTool methods.
Definition
CaloHECRetriever.cxx:29
JiveXML::CaloHECRetriever::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
CaloHECRetriever.h:69
JiveXML::CaloHECRetriever::m_cellEnergyPrec
Gaudi::Property< int > m_cellEnergyPrec
Definition
CaloHECRetriever.h:77
JiveXML::CaloHECRetriever::m_cellConditionCut
Gaudi::Property< bool > m_cellConditionCut
Definition
CaloHECRetriever.h:81
JiveXML::CaloHECRetriever::m_doHECCellDetails
Gaudi::Property< bool > m_doHECCellDetails
Definition
CaloHECRetriever.h:80
JiveXML::CaloHECRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition
CaloHECRetriever.h:67
JiveXML::CaloHECRetriever::m_doMaskLArChannelsM5
Gaudi::Property< bool > m_doMaskLArChannelsM5
Definition
CaloHECRetriever.h:83
JiveXML::CaloHECRetriever::m_cellThreshold
Gaudi::Property< double > m_cellThreshold
Definition
CaloHECRetriever.h:76
JiveXML::CaloHECRetriever::m_cellTimePrec
Gaudi::Property< int > m_cellTimePrec
Definition
CaloHECRetriever.h:78
JiveXML::CaloHECRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Definition
CaloHECRetriever.h:75
JiveXML::CaloHECRetriever::m_doBadHEC
Gaudi::Property< bool > m_doBadHEC
Definition
CaloHECRetriever.h:84
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Identifier
Definition
IdentifierFieldParser.cxx:14
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition
BadLArRetriever.cxx:22
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition
DataType.h:59
Generated on
for ATLAS Offline Software by
1.17.0