ATLAS Offline Software
Loading...
Searching...
No Matches
LArRawChannelSimpleBuilder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
13
14#ifndef LARRAWCHANNELSIMPLEBUILDER
15#define LARRAWCHANNELSIMPLEBUILDER
16
18#include "GaudiKernel/ToolHandle.h"
30
32class LArOnlineID;
33
34
36{
37
38public:
39
40 LArRawChannelSimpleBuilder (const std::string& name, ISvcLocator* pSvcLocator);
41 virtual StatusCode initialize() override;
42 virtual StatusCode execute(const EventContext& ctx) const override;
43 virtual StatusCode finalize() override;
44
45
46private:
47 //Services & Tools
48 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"};
50 { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
55
56 ToolHandle<LArParabolaPeakRecoTool> m_peakParabolaTool;
57
58 //Algo-properties
60 { this, "DataLocation", "FREE", "" };
62 { this, "LArRawChannelContainerName", "LArRawChannels", "" };
64 std::string m_mode;
65 std::string m_FCALmodeTime;
70
71 float m_ADCtoMeVFCAL[3]{};
72 float m_ADCtoMeVHEC[2]{};
75 float m_ADCtoMeVEMB[4]{};
76
77 unsigned int m_iPedestal;
78};
79
80#endif
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.
An algorithm that can be simultaneously executed in multiple threads.
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Container for LArRawChannel (IDC using LArRawChannelCollection)
SG::ReadHandleKey< LArDigitContainer > m_DataLocation
ToolHandle< LArParabolaPeakRecoTool > m_peakParabolaTool
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode initialize() override
SG::WriteHandleKey< LArRawChannelContainer > m_ChannelContainerName
LArRawChannelSimpleBuilder(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
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.