ATLAS Offline Software
Loading...
Searching...
No Matches
LArAccumulatedDigits2Ntuple.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8/*
9 * @author R. Lafaye
10 * 12. 06. 2008
11 * Modifications:
12 * 25.7.2014 P. Strizenec, moving to LArCond2NtupleBase
13 * 9.3.2023 P. Strizenec, moving to rel. 23
14*/
15
16#ifndef LARACCUMULATEDDIGITS2NTUPLE_H
17#define LARACCUMULATEDDIGITS2NTUPLE_H
18
22
24{
25 public:
26 LArAccumulatedDigits2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
28
29 //standard algorithm methods
30 virtual StatusCode initialize() override final;
31 virtual StatusCode execute() override final;
32 private:
33
34 Gaudi::Property< int > m_normalize{this, "Normalize", 1, "Normalisation factor for covr"};
35 Gaudi::Property< unsigned int > m_Nsamples{this, "NSamples", 7, "number of samples to store"};
36 SG::ReadHandleKey<LArAccumulatedDigitContainer> m_contKey{this,"ContainerKey","","Key for LArAccumulatedDigits object"};
37
39 long m_event;
40
41 NTuple::Item<long> m_Ntrigger;
42 NTuple::Item<long> m_IEvent;
43 NTuple::Item<long> m_EventNum;
44 NTuple::Item<long> m_ntNsamples;
45 NTuple::Array<long> m_sum;
46 NTuple::Array<long> m_sumsq;
47 NTuple::Item<float> m_mean;
48 NTuple::Item<float> m_rms;
49 NTuple::Array<float> m_covr;
50
51};
52
53#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< LArAccumulatedDigitContainer > m_contKey
virtual StatusCode initialize() override final
virtual StatusCode execute() override final
LArAccumulatedDigits2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< unsigned int > m_Nsamples
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
Support class for PropertyMgr.
Definition Property.h:23
Property holding a SG store/key/clid from which a ReadHandle is made.
=============================================================================
#define private