ATLAS Offline Software
Loading...
Searching...
No Matches
LArWaves2Ntuple.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7
15
16#ifndef LARWAVES2NTUPLE_H
17#define LARWAVES2NTUPLE_H
20
21//class LArWaveHelper;
22class LArWaveCumul;
23
25{
26
27 public:
28
29 StatusCode initialize();
30
31 LArWaves2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
33
34 bool fillWave(const HWIdentifier chid, const LArWaveCumul& wave); //returns true if connected
35
36 private:
38
39 NTuple::Item<long> m_flag;
40 NTuple::Item<long> m_timeIndex;
41 NTuple::Item<double> m_dt;
42 NTuple::Array<double> m_time;
43 NTuple::Array<double> m_ampliPulse;
44 NTuple::Array<double> m_errorPulse;
45 NTuple::Array<int> m_triggers;
46
47 // derived information
48 NTuple::Item<double> m_tmaxAmp;
49 NTuple::Item<double> m_maxAmp;
50 NTuple::Item<double> m_baseline;
51 NTuple::Item<double> m_posLobe;
52 NTuple::Item<double> m_rT0;
53 NTuple::Item<double> m_width;
54
55protected:
57
58};
59
60#endif
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< double > m_width
NTuple::Array< double > m_ampliPulse
NTuple::Array< int > m_triggers
LArWaveHelper m_waveHelper
StatusCode initialize()
NTuple::Array< double > m_errorPulse
NTuple::Item< double > m_tmaxAmp
NTuple::Array< double > m_time
NTuple::Item< double > m_rT0
NTuple::Item< double > m_dt
NTuple::Item< double > m_baseline
LArWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
bool fillWave(const HWIdentifier chid, const LArWaveCumul &wave)
NTuple::Item< long > m_flag
NTuple::Item< double > m_maxAmp
NTuple::Item< double > m_posLobe
NTuple::Item< long > m_timeIndex