ATLAS Offline Software
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 
16 #ifndef LARWAVES2NTUPLE_H
17 #define LARWAVES2NTUPLE_H
20 
21 //class LArWaveHelper;
22 class LArWaveCumul;
23 
25 {
26 
27  public:
28 
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 
55 protected:
57 
58 };
59 
60 #endif
LArCond2NtupleBase.h
LArWaves2Ntuple::m_flag
NTuple::Item< long > m_flag
Definition: LArWaves2Ntuple.h:39
LArWaves2Ntuple::initialize
StatusCode initialize()
Definition: LArWaves2Ntuple.cxx:18
LArWaveCumul
Definition: LArWaveCumul.h:30
LArWaves2Ntuple::m_posLobe
NTuple::Item< double > m_posLobe
Definition: LArWaves2Ntuple.h:51
LArWaves2Ntuple::fillWave
bool fillWave(const HWIdentifier chid, const LArWaveCumul &wave)
Definition: LArWaves2Ntuple.cxx:107
LArWaveHelper
Definition: LArWaveHelper.h:14
LArWaves2Ntuple::m_tmaxAmp
NTuple::Item< double > m_tmaxAmp
Definition: LArWaves2Ntuple.h:48
HWIdentifier
Definition: HWIdentifier.h:13
LArCond2NtupleBase
Definition: LArCond2NtupleBase.h:32
LArWaves2Ntuple::m_waveHelper
LArWaveHelper m_waveHelper
Definition: LArWaves2Ntuple.h:56
LArWaves2Ntuple::m_dt
NTuple::Item< double > m_dt
Definition: LArWaves2Ntuple.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArWaves2Ntuple::m_baseline
NTuple::Item< double > m_baseline
Definition: LArWaves2Ntuple.h:50
LArWaves2Ntuple
Definition: LArWaves2Ntuple.h:25
LArWaves2Ntuple::m_errorPulse
NTuple::Array< double > m_errorPulse
Definition: LArWaves2Ntuple.h:44
LArWaves2Ntuple::m_triggers
NTuple::Array< int > m_triggers
Definition: LArWaves2Ntuple.h:45
LArWaves2Ntuple::m_rT0
NTuple::Item< double > m_rT0
Definition: LArWaves2Ntuple.h:52
LArWaves2Ntuple::m_maxAmp
NTuple::Item< double > m_maxAmp
Definition: LArWaves2Ntuple.h:49
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArWaves2Ntuple::m_timeIndex
NTuple::Item< long > m_timeIndex
Definition: LArWaves2Ntuple.h:40
LArWaves2Ntuple::m_width
NTuple::Item< double > m_width
Definition: LArWaves2Ntuple.h:53
LArWaveHelper.h
LArWaves2Ntuple::~LArWaves2Ntuple
~LArWaves2Ntuple()
LArWaves2Ntuple::m_ampliPulse
NTuple::Array< double > m_ampliPulse
Definition: LArWaves2Ntuple.h:43
LArWaves2Ntuple::m_time
NTuple::Array< double > m_time
Definition: LArWaves2Ntuple.h:42
LArWaves2Ntuple::m_saveDerivedInfo
bool m_saveDerivedInfo
Definition: LArWaves2Ntuple.h:37
LArWaves2Ntuple::LArWaves2Ntuple
LArWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArWaves2Ntuple.cxx:9