5#ifndef LARROD_LARRAWCHANNELBUILDERITERALG_H
6#define LARROD_LARRAWCHANNELBUILDERITERALG_H
32 using AthReentrantAlgorithm::AthReentrantAlgorithm;
35 StatusCode
execute(
const EventContext& ctx)
const override;
42 "SG Key of LArDigitContaiiner"};
45 "SG key of the LArRawChannelContainer"};
60 Gaudi::Property<float>
m_eCutFortQ{
this,
"ECutFortQ",256.0,
"Time and Quality will be computed only for channels with E above this value"};
62 Gaudi::Property<bool>
m_absECutFortQ{
this,
"absECut",
true,
"Cut on fabs(E) for Q and t computation"};
63 Gaudi::Property<bool>
m_useShapeDer{
this,
"useShapeDer",
true,
"Use shape derivative in Q-factor computation"};
65 Gaudi::Property<bool>
m_useDBFortQ{
this,
"useDB",
true,
"Use DB for cut on t,Q"};
68 Gaudi::Property<int>
m_firstSample{
this,
"firstSample",0,
"first of the 32 sampels of the MC shape to be used"};
71 Gaudi::Property<unsigned short>
m_AdcMax{
this,
"ADCMax", 4095,
"Saturation cut"};
73 Gaudi::Property<float>
m_defaultPhase{
this,
"defaultPhase", 0,
"starting phase for iterations"};
76 Gaudi::Property<unsigned short>
m_minSample{
this,
"minSample", 0};
77 Gaudi::Property<unsigned short>
m_maxSample{
this,
"maxSample",31};
78 Gaudi::Property<unsigned short>
m_nIterProp{
"nIterations", 10};
80 Gaudi::Property<bool>
m_forceHighGain{
this,
"forceHighGain",
false,
"Force use of high gain for all shapes and OFC (default=false)"};
94 const unsigned nIter=0,
95 const unsigned npeak=2,
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 LArDigit.
Gaudi::Property< unsigned short > m_minSample
Gaudi::Property< unsigned short > m_AdcMax
StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< LArRawChannelContainer > m_rawChannelKey
StatusCode finalize() override
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Gaudi::Property< int > m_defaultShiftTimeSamples
Gaudi::Property< unsigned short > m_nIterProp
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
LArOFIterResults peak(const std::vector< float > &samples, const HWIdentifier chID, const CaloGain::CaloGain gain, const float delayIn, const ILArOFC *ofcs, const ILArShape *shapes, const unsigned nIter=0, const unsigned npeak=2, unsigned peak_low=2, unsigned peak_high=2) const
SG::ReadCondHandleKey< ILArShape > m_shapeKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
Gaudi::Property< bool > m_skipSaturatedCells
SG::ReadHandleKey< LArDigitContainer > m_digitKey
Gaudi::Property< unsigned short > m_minADCforIter
SG::WriteHandleKey< LArOFIterResultsContainer > m_timingContKey
Gaudi::Property< float > m_defaultPhase
const LArOnlineID * m_onlineId
Gaudi::Property< int > m_firstSample
Gaudi::Property< bool > m_useShapeDer
Gaudi::Property< bool > m_absECutFortQ
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
Gaudi::Property< unsigned short > m_maxSample
SG::ReadCondHandleKey< LArDSPThresholdsComplete > m_run1DSPThresholdsKey
Gaudi::Property< float > m_eCutFortQ
Gaudi::Property< float > m_minADCforIterInSigma
Gaudi::Property< bool > m_forceHighGain
SG::ReadCondHandleKey< AthenaAttributeList > m_run2DSPThresholdsKey
StatusCode initialize() override
Gaudi::Property< bool > m_useDBFortQ
Container for LArRawChannel (IDC using LArRawChannelCollection)
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.