ATLAS Offline Software
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 
27  int m_ipass;
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArDigits2NtupleEB::m_FTlist
Gaudi::Property< std::vector< unsigned int > > m_FTlist
Definition: LArDigits2NtupleEB.h:33
LArDigits2NtupleEB::m_evtInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
Definition: LArDigits2NtupleEB.h:52
LArDigits2NtupleEB
Definition: LArDigits2NtupleEB.h:17
LArDigits2NtupleEB::initialize
virtual StatusCode initialize() override
Definition: LarDigits2NtupleEB.cxx:22
LArDigits2NtupleEB::m_bcidVec_ET_ID
NTuple::Matrix< float > m_bcidVec_ET_ID
Definition: LArDigits2NtupleEB.h:48
LArDigits2NtupleEB::m_Net
Gaudi::Property< unsigned int > m_Net
Definition: LArDigits2NtupleEB.h:32
LArDigits2NtupleEB::m_ntNsamples
NTuple::Array< int > m_ntNsamples
Definition: LArDigits2NtupleEB.h:36
LArDigits2NtupleEB::m_bcidVec_ET
NTuple::Matrix< float > m_bcidVec_ET
Definition: LArDigits2NtupleEB.h:44
SG::ReadHandleKey< LArDigitContainer >
LArDigits2NtupleEB::LArDigits2NtupleEB
LArDigits2NtupleEB(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LarDigits2NtupleEB.cxx:12
LArDigits2NtupleEB::m_saturVec_ET_ID
NTuple::Matrix< bool > m_saturVec_ET_ID
Definition: LArDigits2NtupleEB.h:49
LArDigits2NtupleEB::m_bcid
NTuple::Item< short > m_bcid
Definition: LArDigits2NtupleEB.h:41
LArCond2NtupleBaseEB.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArDigits2NtupleEB::m_energyVec_ET
NTuple::Matrix< float > m_energyVec_ET
Definition: LArDigits2NtupleEB.h:43
LArDigits2NtupleEB::m_LArFebHeaderContainerKey
SG::ReadHandleKey< LArFebHeaderContainer > m_LArFebHeaderContainerKey
Definition: LArDigits2NtupleEB.h:53
LArCond2NtupleBaseEB
Definition: LArCond2NtupleBaseEB.h:32
LArDigits2NtupleEB::m_energyVec_ET_ID
NTuple::Matrix< float > m_energyVec_ET_ID
Definition: LArDigits2NtupleEB.h:47
LArDigits2NtupleEB::m_samples
NTuple::Matrix< short > m_samples
Definition: LArDigits2NtupleEB.h:40
LArFebHeaderContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArDigits2NtupleEB::m_Nsamples
Gaudi::Property< unsigned int > m_Nsamples
Definition: LArDigits2NtupleEB.h:31
LArDigits2NtupleEB::m_IEvent
NTuple::Item< unsigned long long > m_IEvent
Definition: LArDigits2NtupleEB.h:39
LArDigits2NtupleEB::m_contKey
SG::ReadHandleKey< LArDigitContainer > m_contKey
Definition: LArDigits2NtupleEB.h:51
LArDigitContainer.h
EventInfo.h
LArDigits2NtupleEB::m_ELVL1Id
NTuple::Array< short > m_ELVL1Id
Definition: LArDigits2NtupleEB.h:38
LArDigits2NtupleEB::execute
virtual StatusCode execute() override
Definition: LarDigits2NtupleEB.cxx:112
LArDigits2NtupleEB::m_event
long m_event
Definition: LArDigits2NtupleEB.h:29
LArDigits2NtupleEB::m_gain
NTuple::Array< short > m_gain
Definition: LArDigits2NtupleEB.h:37
LArDigits2NtupleEB::m_ipass
int m_ipass
Definition: LArDigits2NtupleEB.h:27
LArDigits2NtupleEB::m_saturVec_ET
NTuple::Matrix< bool > m_saturVec_ET
Definition: LArDigits2NtupleEB.h:45
LArDigits2NtupleEB::m_fillBCID
Gaudi::Property< bool > m_fillBCID
Definition: LArDigits2NtupleEB.h:34