ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
23
25//Event classes
30
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
73
74 // Super Cell DD manager key
76 this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager"};
77};
78
79
80
81#endif
Definition of CaloDetDescrManager.
A LArRawConditionsContainer holding thresholds used by the DSP.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
Container class for CaloCell.
Container class for LArDigit.
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
SG::ReadCondHandleKey< ILArShape > m_shapeKey
Gaudi::Property< float > m_eCutFortQ
Gaudi::Property< int > m_firstSample
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Gaudi::Property< bool > m_absECutFortQ
const LArOnline_SuperCellID * m_onlineId
SG::WriteHandleKey< CaloCellContainer > m_cellKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Bad Channel masking for Super-Cells.
StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< LArDigitContainer > m_digitKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< bool > m_useShapeDer
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.