ATLAS Offline Software
Loading...
Searching...
No Matches
LArAverages2Ntuple.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 S. Laplace
10 * 14. 12. 2005
11 * Modifications:
12 * P. Strizenec 9.3.2023 migration to rel. 23
13*/
14
15#ifndef LARAVERAGES2NTUPLE_H
16#define LARAVERAGES2NTUPLE_H
17
22
24{
25 public:
26 LArAverages2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
28
29 //standard algorithm methods
30 virtual StatusCode initialize() override final;
31 virtual StatusCode execute() override final;
32
33 private:
35
36 SG::ReadHandleKey<LArAccumulatedCalibDigitContainer> m_contKey{this, "ContainerKey","","LArAccumulatedCalibDigit key"};
37 Gaudi::Property< unsigned int > m_Nsamples{this, "NSamples", 32,"Number of samples to store"};
38 Gaudi::Property< bool > m_keepPulsed{this, "KeepOnlyPulsed", true};
39 Gaudi::Property< std::vector<unsigned int> > m_keepFT{this,"KeepFT", {}, "list of FT to keep"};
40
41 std::string m_ntName;
42
43 unsigned long long m_event;
44 bool m_pass;
45
46 NTuple::Item<unsigned long long> m_IEvent;
47 NTuple::Item<unsigned long long> m_EventNum;
48 NTuple::Item<long> m_Nsteps;
49 NTuple::Item<long> m_DAC;
50 NTuple::Item<long> m_Ntrigger;
51 NTuple::Item<long> m_delay;
52 NTuple::Item<long> m_ntNsamples;
53 NTuple::Item<long> m_isPulsed;
54
55 NTuple::Item<unsigned long> m_StepIndex;
56
57 NTuple::Array<unsigned int> m_Sum;
58 NTuple::Array<unsigned int> m_SumSq;
59 NTuple::Array<float> m_Mean;
60 NTuple::Array<float> m_RMS;
61
62};
63
64#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for LArAccumulatedCalibDigit.
NTuple::Array< float > m_Mean
NTuple::Item< long > m_DAC
Gaudi::Property< std::vector< unsigned int > > m_keepFT
Gaudi::Property< bool > m_keepPulsed
LArAverages2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< long > m_Nsteps
NTuple::Item< unsigned long long > m_EventNum
virtual StatusCode execute() override final
NTuple::Array< unsigned int > m_SumSq
NTuple::Item< long > m_delay
virtual StatusCode initialize() override final
NTuple::Item< long > m_Ntrigger
NTuple::Array< float > m_RMS
unsigned long long m_event
NTuple::Item< long > m_isPulsed
NTuple::Item< unsigned long long > m_IEvent
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_contKey
Gaudi::Property< unsigned int > m_Nsamples
const LArOnlineID_Base * m_onlineHelper
NTuple::Array< unsigned int > m_Sum
NTuple::Item< unsigned long > m_StepIndex
NTuple::Item< long > m_ntNsamples
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
Helper for the Liquid Argon Calorimeter cell identifiers.
Forward declaration.
#define private