6#ifndef LARROD_LARLATOMEBUILDERALG_H
7#define LARROD_LARLATOMEBUILDERALG_H
36 StatusCode
execute(
const EventContext& ctx)
const override;
62 Gaudi::Property<int>
m_startSample{
this,
"startEnergy",0,
"the first energy to compute with respect to the BCID"};
63 Gaudi::Property<int>
m_nEnergies{
this,
"nEnergies", 1,
"how many energies to compute"};
66 Gaudi::Property<bool>
m_applyMphysOverMcal{
this,
"applyMphysOverMcal",
true,
"apply MphysOverMcal correction"};
67 Gaudi::Property<bool>
m_useR0{
this,
"useR0",
false,
"use R0 from Ramp"};
68 Gaudi::Property<bool>
m_isADCBas{
this,
"isADCBas",
true,
"Digits are ADC BAS"};
74 static bool floatToInt(
float val,
int &newval,
int hardpoint,
int size) ;
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.
SG::ReadCondHandleKey< ILArHVScaleCorr > m_keyHVScaleCorrSC
static bool floatToInt(float val, int &newval, int hardpoint, int size)
reproduce LDPB package computation in https://gitlab.cern.ch/atlas-lar-online/onlinelatomedb/-/blob/m...
SG::ReadCondHandleKey< ILArDAC2uA > m_keyDAC2uASC
SG::WriteHandleKey< LArRawSCContainer > m_larRawSCKey
SG::ReadCondHandleKey< ILArPedestal > m_keyPedestalSC
LArLATOMEBuilderAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_applyHVCorrection
SG::ReadCondHandleKey< ILArMphysOverMcal > m_keyMphysOverMcalSC
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::ReadCondHandleKey< ILAruA2MeV > m_keyuA2MeVSC
StatusCode finalize() override
StatusCode execute(const EventContext &ctx) const override
StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< int > m_nEnergies
SG::ReadCondHandleKey< ILArRamp > m_keyRampSC
SG::ReadCondHandleKey< ILArOFC > m_keyOFCSC
Gaudi::Property< bool > m_useR0
SG::ReadHandleKey< LArDigitContainer > m_digitKey
Gaudi::Property< bool > m_applyMphysOverMcal
Gaudi::Property< bool > m_isADCBas
const LArOnlineID_Base * m_onlineId
Gaudi::Property< int > m_startSample
Helper for the Liquid Argon Calorimeter cell identifiers.
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.