ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArROD
src
LArRawChannelBuilderSCAlg.h
Go to the documentation of this file.
1
//Dear emacs, this is -*-c++-*-
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef LARROD_LARRAWCHANNELBUILDERSCALG_H
7
#define LARROD_LARRAWCHANNELBUILDERSCALG_H
8
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
StoreGate/ReadHandle.h
"
12
#include "
StoreGate/WriteHandle.h
"
13
#include "
StoreGate/ReadCondHandle.h
"
14
15
#include "
LArElecCalib/ILArPedestal.h
"
16
#include "
LArRawConditions/LArADC2MeV.h
"
17
#include "
LArRawConditions/LArDSPThresholdsComplete.h
"
18
#include "
LArElecCalib/ILArOFC.h
"
19
#include "
LArElecCalib/ILArShape.h
"
20
#include "
LArCabling/LArOnOffIdMapping.h
"
21
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
22
#include "
LArRecConditions/LArBadChannelCont.h
"
23
24
#include "
CaloDetDescr/CaloDetDescrManager.h
"
25
//Event classes
26
class
LArDigitContainer
;
27
class
CaloCellContainer
;
28
class
CaloSuperCellDetDescrManager
;
29
class
LArOnline_SuperCellID
;
30
31
class
LArRawChannelBuilderSCAlg
:
public
AthReentrantAlgorithm
{
32
33
public
:
34
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
35
36
StatusCode
initialize
()
override
;
37
StatusCode
execute
(
const
EventContext& ctx)
const override
;
38
StatusCode
finalize
()
override
;
39
40
41
private
:
42
//Event input:
43
SG::ReadHandleKey<LArDigitContainer>
m_digitKey
{
this
,
"LArDigitKey"
,
"LArDigitSCL2"
,
44
"SG Key of LArDigitContaiiner"
};
45
//Event output:
46
SG::WriteHandleKey<CaloCellContainer>
m_cellKey
{
this
,
"CaloCellKey"
,
"SCellnoBCID"
,
47
"SG key of the output CaloCellContainer"
};
48
49
//Conditions input:
50
SG::ReadCondHandleKey<ILArPedestal>
m_pedestalKey
{
this
,
"PedestalKey"
,
"LArPedestalSC"
,
"SG Key of Pedestal conditions object"
};
51
SG::ReadCondHandleKey<LArADC2MeV>
m_adc2MeVKey
{
this
,
"ADC2MeVKey"
,
"LArADC2MeVSC"
,
"SG Key of ADC2MeV conditions object"
};
52
SG::ReadCondHandleKey<ILArOFC>
m_ofcKey
{
this
,
"OFCKey"
,
"LArOFCSC"
,
"SG Key of OFC conditions object"
};
53
SG::ReadCondHandleKey<ILArShape>
m_shapeKey
{
this
,
"ShapeKey"
,
"LArShapeSC"
,
"SG Key of Shape conditions object"
};
54
55
56
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMapSC"
,
"SG Key of LArOnOffIdMapping object"
};
57
59
SG::ReadCondHandleKey<LArBadChannelCont>
m_bcContKey
{
this
,
"LArBadChannelKey"
,
"LArBadChannelSC"
,
"Key of the LArBadChannelCont SC"
};
60
61
//Other jobOptions:
62
Gaudi::Property<float>
m_eCutFortQ
{
this
,
"ECutFortQ"
,256.0,
"Time and Quality will be computed only for channels with E above this value"
};
63
//This flag decides if we compute Q and t for cells with negative energy
64
Gaudi::Property<bool>
m_absECutFortQ
{
this
,
"absECut"
,
true
,
"Cut on fabs(E) for Q and t computation"
};
65
Gaudi::Property<bool>
m_useShapeDer
{
this
,
"useShapeDer"
,
true
,
"Use shape derivative in Q-factor computation"
};
66
67
//The following matters only in the MC case, when we have a 32 sample shapes
68
Gaudi::Property<int>
m_firstSample
{
this
,
"firstSample"
,0,
"first of the 32 sampels of the MC shape to be used"
};
69
70
71
//Identifier helper
72
const
LArOnline_SuperCellID
*
m_onlineId
=
nullptr
;
73
74
// Super Cell DD manager key
75
SG::ReadCondHandleKey<CaloSuperCellDetDescrManager>
m_caloSuperCellMgrKey
{
76
this
,
"CaloSuperCellDetDescrManager"
,
"CaloSuperCellDetDescrManager"
,
"SG key of the resulting CaloSuperCellDetDescrManager"
};
77
};
78
79
80
81
#endif
AthReentrantAlgorithm.h
AthenaAttributeList.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArOFC.h
ILArPedestal.h
ILArShape.h
LArADC2MeV.h
LArBadChannelCont.h
LArDSPThresholdsComplete.h
A LArRawConditionsContainer holding thresholds used by the DSP.
LArOnOffIdMapping.h
ReadCondHandle.h
ReadHandle.h
Handle class for reading from StoreGate.
WriteHandle.h
Handle class for recording to StoreGate.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloSuperCellDetDescrManager
Definition
CaloDetDescrManager.h:486
LArDigitContainer
Container class for LArDigit.
Definition
LArDigitContainer.h:24
LArOnline_SuperCellID
Definition
LArOnline_SuperCellID.h:21
LArRawChannelBuilderSCAlg
Definition
LArRawChannelBuilderSCAlg.h:31
LArRawChannelBuilderSCAlg::m_pedestalKey
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Definition
LArRawChannelBuilderSCAlg.h:50
LArRawChannelBuilderSCAlg::m_shapeKey
SG::ReadCondHandleKey< ILArShape > m_shapeKey
Definition
LArRawChannelBuilderSCAlg.h:53
LArRawChannelBuilderSCAlg::m_eCutFortQ
Gaudi::Property< float > m_eCutFortQ
Definition
LArRawChannelBuilderSCAlg.h:62
LArRawChannelBuilderSCAlg::m_firstSample
Gaudi::Property< int > m_firstSample
Definition
LArRawChannelBuilderSCAlg.h:68
LArRawChannelBuilderSCAlg::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition
LArRawChannelBuilderSCAlg.h:75
LArRawChannelBuilderSCAlg::m_absECutFortQ
Gaudi::Property< bool > m_absECutFortQ
Definition
LArRawChannelBuilderSCAlg.h:64
LArRawChannelBuilderSCAlg::m_onlineId
const LArOnline_SuperCellID * m_onlineId
Definition
LArRawChannelBuilderSCAlg.h:72
LArRawChannelBuilderSCAlg::m_cellKey
SG::WriteHandleKey< CaloCellContainer > m_cellKey
Definition
LArRawChannelBuilderSCAlg.h:46
LArRawChannelBuilderSCAlg::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Bad Channel masking for Super-Cells.
Definition
LArRawChannelBuilderSCAlg.h:59
LArRawChannelBuilderSCAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
LArRawChannelBuilderSCAlg.cxx:36
LArRawChannelBuilderSCAlg::initialize
StatusCode initialize() override
Definition
LArRawChannelBuilderSCAlg.cxx:16
LArRawChannelBuilderSCAlg::m_digitKey
SG::ReadHandleKey< LArDigitContainer > m_digitKey
Definition
LArRawChannelBuilderSCAlg.h:43
LArRawChannelBuilderSCAlg::m_adc2MeVKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
Definition
LArRawChannelBuilderSCAlg.h:51
LArRawChannelBuilderSCAlg::m_ofcKey
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
Definition
LArRawChannelBuilderSCAlg.h:52
LArRawChannelBuilderSCAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArRawChannelBuilderSCAlg.h:56
LArRawChannelBuilderSCAlg::m_useShapeDer
Gaudi::Property< bool > m_useShapeDer
Definition
LArRawChannelBuilderSCAlg.h:65
LArRawChannelBuilderSCAlg::finalize
StatusCode finalize() override
Definition
LArRawChannelBuilderSCAlg.cxx:32
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0