ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
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
35 StatusCode initialize();
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
std::vector< std::string > m_keylist
NTuple::Item< float > m_timeOffset
virtual StatusCode stop()
NTuple::Item< long > m_dac
NTuple::Item< long > m_corrUndo
LArPhysWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
bool writeEntry(const HWIdentifier chid, const unsigned gain, const LArPhysWave &wave)
NTuple::Item< long > m_gain
LArWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)