ATLAS Offline Software
Loading...
Searching...
No Matches
LArDigits2NtupleEB.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARDIGITS2NTUPLEEB_H
6#define LARDIGITS2NTUPLEEB_H
7
13
14
15
17{
18 public:
19 LArDigits2NtupleEB(const std::string & name, ISvcLocator * pSvcLocator);
20
21 // Standard algorithm methods
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute() override;
24
25 protected:
26
28
29 long m_event;
30
31 Gaudi::Property< unsigned int > m_Nsamples{this, "NSamples", 32, "number of samples to store"};
32 Gaudi::Property< unsigned int > m_Net{this, "Net", 5, "number of energies to store"};
33 Gaudi::Property< std::vector<unsigned int> > m_FTlist{this, "FTlist", {}, "which FT to dump"};
34 Gaudi::Property< bool > m_fillBCID{this, "FillBCID", false, "if to fill BCID"};
35
36 NTuple::Array<int> m_ntNsamples;
37 NTuple::Array<short> m_gain;
38 NTuple::Array<short> m_ELVL1Id;
39 NTuple::Item<unsigned long long> m_IEvent;
40 NTuple::Matrix<short> m_samples;
41 NTuple::Item<short> m_bcid;
42
43 NTuple::Matrix<float> m_energyVec_ET;
44 NTuple::Matrix<float> m_bcidVec_ET;
45 NTuple::Matrix<bool> m_saturVec_ET;
46
47 NTuple::Matrix<float> m_energyVec_ET_ID;
48 NTuple::Matrix<float> m_bcidVec_ET_ID;
49 NTuple::Matrix<bool> m_saturVec_ET_ID;
50
51 SG::ReadHandleKey<LArDigitContainer> m_contKey{this, "ContainerKey", "FREE", "key for LArDigitContainer"};
52 SG::ReadHandleKey<xAOD::EventInfo> m_evtInfoKey { this, "EventInfoKey", "EventInfo", "SG for EventInfo Key" };
53 SG::ReadHandleKey<LArFebHeaderContainer> m_LArFebHeaderContainerKey { this, "LArFebHeaderKey", "LArFebHeader" };
54};
55
56#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
LArCond2NtupleBaseEB(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< short > m_ELVL1Id
Gaudi::Property< unsigned int > m_Net
NTuple::Item< unsigned long long > m_IEvent
NTuple::Array< int > m_ntNsamples
NTuple::Matrix< float > m_bcidVec_ET
LArDigits2NtupleEB(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< short > m_gain
virtual StatusCode initialize() override
Gaudi::Property< std::vector< unsigned int > > m_FTlist
virtual StatusCode execute() override
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
SG::ReadHandleKey< LArFebHeaderContainer > m_LArFebHeaderContainerKey
Gaudi::Property< unsigned int > m_Nsamples
Gaudi::Property< bool > m_fillBCID
NTuple::Matrix< float > m_energyVec_ET_ID
NTuple::Matrix< short > m_samples
NTuple::Matrix< bool > m_saturVec_ET_ID
NTuple::Matrix< bool > m_saturVec_ET
NTuple::Matrix< float > m_bcidVec_ET_ID
NTuple::Matrix< float > m_energyVec_ET
NTuple::Item< short > m_bcid
SG::ReadHandleKey< LArDigitContainer > m_contKey
Property holding a SG store/key/clid from which a ReadHandle is made.