ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloJiveXML
src
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
10
#include "
CaloEvent/CaloCellContainer.h
"
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
13
#include "
JiveXML/IDataRetriever.h
"
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
17
#include "
JiveXML/DataType.h
"
//DataMap typedef
18
19
#include <string>
20
class
CaloCell_ID
;
21
namespace
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
:
56
const
CaloCell_ID
*
m_calocell_id
{};
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
AthAlgTool.h
CaloCellContainer.h
DataType.h
IDataRetriever.h
LArOnOffIdMapping.h
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
JiveXML::BadLArRetriever
Retrieves all Calo Cluster objects.
Definition
BadLArRetriever.h:39
JiveXML::BadLArRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition
BadLArRetriever.h:50
JiveXML::BadLArRetriever::initialize
virtual StatusCode initialize() override
Default AthAlgTool methods.
Definition
BadLArRetriever.cxx:28
JiveXML::BadLArRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Definition
BadLArRetriever.h:60
JiveXML::BadLArRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition
BadLArRetriever.h:56
JiveXML::BadLArRetriever::m_cellConditionCut
Gaudi::Property< bool > m_cellConditionCut
Definition
BadLArRetriever.h:65
JiveXML::BadLArRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition
BadLArRetriever.cxx:42
JiveXML::BadLArRetriever::m_cellThreshold
Gaudi::Property< double > m_cellThreshold
Definition
BadLArRetriever.h:61
JiveXML::BadLArRetriever::m_doBadLAr
Gaudi::Property< bool > m_doBadLAr
Definition
BadLArRetriever.h:64
JiveXML::BadLArRetriever::m_lar
Gaudi::Property< bool > m_lar
Definition
BadLArRetriever.h:63
JiveXML::BadLArRetriever::getBadLArData
const DataMap getBadLArData(const CaloCellContainer *cellContainer)
Retrieve LAr bad cell location and details.
Definition
BadLArRetriever.cxx:67
JiveXML::BadLArRetriever::m_cellEnergyPrec
Gaudi::Property< int > m_cellEnergyPrec
Definition
BadLArRetriever.h:62
JiveXML::BadLArRetriever::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
BadLArRetriever.h:57
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
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