ATLAS Offline Software
LArPhysWaves2Ntuple.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 
18 #ifndef LARPHYSWAVES2NTUPLE_H
19 #define LARPHYSWAVES2NTUPLE_H
21 
23 
25 
27 {
28 
29  public:
30 
31  LArPhysWaves2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
33 
34  //standard algorithm methods
36  virtual StatusCode stop();
37  StatusCode finalize(){return StatusCode::SUCCESS;}
38 
39  private:
40  bool writeEntry(const HWIdentifier chid, const unsigned gain, const LArPhysWave& wave);
41 
42  std::vector<std::string> m_keylist ;
43  std::string m_ntName;
45 
46  NTuple::Item<long> m_dac;
47  NTuple::Item<long> m_gain;
48  NTuple::Item<long> m_corrUndo;
49  NTuple::Item<float> m_timeOffset;
50 };
51 
52 #endif
LArPhysWaves2Ntuple::LArPhysWaves2Ntuple
LArPhysWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArPhysWaves2Ntuple.cxx:9
LArPhysWaves2Ntuple::m_addCorrUndo
bool m_addCorrUndo
Definition: LArPhysWaves2Ntuple.h:44
LArPhysWaves2Ntuple::initialize
StatusCode initialize()
Definition: LArPhysWaves2Ntuple.cxx:22
LArPhysWaves2Ntuple::m_corrUndo
NTuple::Item< long > m_corrUndo
Definition: LArPhysWaves2Ntuple.h:48
LArPhysWaves2Ntuple
This algrithm produces a column-wise NTuple out of a LArPhysWaveContainer.
Definition: LArPhysWaves2Ntuple.h:27
LArPhysWaveContainer.h
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArPhysWaves2Ntuple::stop
virtual StatusCode stop()
Definition: LArPhysWaves2Ntuple.cxx:29
LArPhysWaves2Ntuple::m_applyCorr
bool m_applyCorr
Definition: LArPhysWaves2Ntuple.h:44
HWIdentifier
Definition: HWIdentifier.h:13
LArPhysWave
Definition: LArPhysWave.h:14
LArPhysWaves2Ntuple::m_keylist
std::vector< std::string > m_keylist
Definition: LArPhysWaves2Ntuple.h:42
LArWaves2Ntuple.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArWaves2Ntuple
Definition: LArWaves2Ntuple.h:25
LArPhysWaves2Ntuple::m_ntName
std::string m_ntName
Definition: LArPhysWaves2Ntuple.h:43
LArPhysWaves2Ntuple::m_gain
NTuple::Item< long > m_gain
Definition: LArPhysWaves2Ntuple.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArWaveHelper.h
LArPhysWaves2Ntuple::m_dac
NTuple::Item< long > m_dac
Definition: LArPhysWaves2Ntuple.h:46
LArPhysWaves2Ntuple::finalize
StatusCode finalize()
Definition: LArPhysWaves2Ntuple.h:37
LArPhysWaves2Ntuple::m_timeOffset
NTuple::Item< float > m_timeOffset
Definition: LArPhysWaves2Ntuple.h:49
LArPhysWaves2Ntuple::writeEntry
bool writeEntry(const HWIdentifier chid, const unsigned gain, const LArPhysWave &wave)
LArPhysWaves2Ntuple::~LArPhysWaves2Ntuple
~LArPhysWaves2Ntuple()