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