ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloJiveXML
src
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
9
#include "
CaloEvent/CaloCellContainer.h
"
10
#include "
CaloIdentifier/CaloCell_ID.h
"
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
LArRawConditions/LArADC2MeV.h
"
13
14
#include "
JiveXML/IDataRetriever.h
"
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "
JiveXML/DataType.h
"
//DataMap
19
20
#include <string>
21
#include <vector>
22
23
class
IToolSvc;
24
25
class
Identifier
;
26
class
CaloCellContainer
;
27
28
namespace
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
:
66
const
CaloCell_ID
*
m_calocell_id
{};
67
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
68
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
69
70
SG::ReadCondHandleKey<LArADC2MeV>
m_adc2mevKey
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
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::CaloLArRetriever
Retrieves all Calo Cluster objects.
Definition
CaloLArRetriever.h:50
JiveXML::CaloLArRetriever::m_cellEnergyPrec
Gaudi::Property< int > m_cellEnergyPrec
Definition
CaloLArRetriever.h:76
JiveXML::CaloLArRetriever::m_cellTimePrec
Gaudi::Property< int > m_cellTimePrec
Definition
CaloLArRetriever.h:77
JiveXML::CaloLArRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Definition
CaloLArRetriever.h:74
JiveXML::CaloLArRetriever::initialize
virtual StatusCode initialize() override
Default AthAlgTool methods.
Definition
CaloLArRetriever.cxx:29
JiveXML::CaloLArRetriever::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
CaloLArRetriever.h:68
JiveXML::CaloLArRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition
CaloLArRetriever.h:66
JiveXML::CaloLArRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition
CaloLArRetriever.h:60
JiveXML::CaloLArRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition
CaloLArRetriever.cxx:44
JiveXML::CaloLArRetriever::m_adc2mevKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Definition
CaloLArRetriever.h:71
JiveXML::CaloLArRetriever::m_cellThreshold
Gaudi::Property< double > m_cellThreshold
Definition
CaloLArRetriever.h:75
JiveXML::CaloLArRetriever::m_doMaskLArChannelsM5
Gaudi::Property< bool > m_doMaskLArChannelsM5
Definition
CaloLArRetriever.h:82
JiveXML::CaloLArRetriever::m_doBadLAr
Gaudi::Property< bool > m_doBadLAr
Definition
CaloLArRetriever.h:83
JiveXML::CaloLArRetriever::m_LArChannelsToIgnoreM5
Gaudi::Property< std::vector< Identifier::value_type > > m_LArChannelsToIgnoreM5
Definition
CaloLArRetriever.h:81
JiveXML::CaloLArRetriever::m_doLArCellDetails
Gaudi::Property< bool > m_doLArCellDetails
Definition
CaloLArRetriever.h:79
JiveXML::CaloLArRetriever::getLArData
const DataMap getLArData(const CaloCellContainer *cellContainer)
Retrieve LAr cell location and details.
Definition
CaloLArRetriever.cxx:69
JiveXML::CaloLArRetriever::m_cellConditionCut
Gaudi::Property< bool > m_cellConditionCut
Definition
CaloLArRetriever.h:80
JiveXML::CaloLArRetriever::m_lar
Gaudi::Property< bool > m_lar
Definition
CaloLArRetriever.h:78
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