ATLAS Offline Software
LArCaliWaves2Ntuple.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
18 #ifndef LARCALIWAVES2NTUPLE_H
19 #define LARCALIWAVES2NTUPLE_H
20 
25 
27 {
28 
29  public:
30 
31  LArCaliWaves2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
33 
34  //standard algorithm methods
35  virtual StatusCode initialize() override;
36  virtual StatusCode stop ATLAS_NOT_THREAD_SAFE () override;
37 
38  private:
39  bool writeEntry(const HWIdentifier chid, const unsigned gain, const LArCaliWave& wave, const LArCalibLineMapping *clCont);
40 
41  std::vector<std::string> m_keylist ;
42  std::string m_ntName;
43  std::string m_ntFile;
48 
49  std::vector<unsigned> m_dacSaturLayer0;
50  std::vector<unsigned> m_dacSaturLayer1;
51  std::vector<unsigned> m_dacSaturLayer2;
52  std::vector<unsigned> m_dacSaturLayer3;
53 
54  // Book specialized leaves
55  NTuple::Item<long> m_dac;
56  NTuple::Item<long> m_gain;
57  NTuple::Item<long> m_nPulsedCalibLines;
58  NTuple::Array<int> m_pulsedCalibLines;
59  NTuple::Item<double> m_jitter;
60  NTuple::Item<long> m_corrUndo;
61 
62 };
63 
64 #endif
LArCaliWaves2Ntuple::m_corrUndo
NTuple::Item< long > m_corrUndo
Definition: LArCaliWaves2Ntuple.h:60
LArCaliWaveContainer.h
LArCalibLineMapping
Definition: LArCalibLineMapping.h:17
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArCaliWaves2Ntuple::m_dacSaturLayer2
std::vector< unsigned > m_dacSaturLayer2
Definition: LArCaliWaves2Ntuple.h:51
LArCaliWaves2Ntuple
This algrithm produces a column-wise NTuple out of a LArCaliWaveContainer or a LArPhysWaveContainer.
Definition: LArCaliWaves2Ntuple.h:27
LArCaliWaves2Ntuple::m_applyCorr
bool m_applyCorr
Definition: LArCaliWaves2Ntuple.h:47
LArCaliWaves2Ntuple::m_pulsedCalibLines
NTuple::Array< int > m_pulsedCalibLines
Definition: LArCaliWaves2Ntuple.h:58
PixelModuleFeMask_create_db.stop
int stop
Definition: PixelModuleFeMask_create_db.py:76
HWIdentifier
Definition: HWIdentifier.h:13
LArCaliWaves2Ntuple::m_nPulsedCalibLines
NTuple::Item< long > m_nPulsedCalibLines
Definition: LArCaliWaves2Ntuple.h:57
LArCaliWave
Definition: LArCaliWave.h:44
LArCaliWaves2Ntuple::initialize
virtual StatusCode initialize() override
Definition: LArCaliWaves2Ntuple.cxx:30
LArWaves2Ntuple.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArWaves2Ntuple
Definition: LArWaves2Ntuple.h:25
LArCaliWaves2Ntuple::m_ntName
std::string m_ntName
Definition: LArCaliWaves2Ntuple.h:42
LArCaliWaves2Ntuple::m_dacSaturLayer0
std::vector< unsigned > m_dacSaturLayer0
Definition: LArCaliWaves2Ntuple.h:49
LArCaliWaves2Ntuple::m_dacSaturLayer1
std::vector< unsigned > m_dacSaturLayer1
Definition: LArCaliWaves2Ntuple.h:50
LArCaliWaves2Ntuple::m_ntFile
std::string m_ntFile
Definition: LArCaliWaves2Ntuple.h:43
LArCaliWaves2Ntuple::writeEntry
bool writeEntry(const HWIdentifier chid, const unsigned gain, const LArCaliWave &wave, const LArCalibLineMapping *clCont)
Definition: LArCaliWaves2Ntuple.cxx:228
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArCaliWaves2Ntuple::m_gain
NTuple::Item< long > m_gain
Definition: LArCaliWaves2Ntuple.h:56
LArCaliWaves2Ntuple::m_jitter
NTuple::Item< double > m_jitter
Definition: LArCaliWaves2Ntuple.h:59
LArCaliWaves2Ntuple::m_dacSaturLayer3
std::vector< unsigned > m_dacSaturLayer3
Definition: LArCaliWaves2Ntuple.h:52
LArCaliWaves2Ntuple::m_saveJitter
bool m_saveJitter
Definition: LArCaliWaves2Ntuple.h:45
LArWaveHelper.h
LArCaliWaves2Ntuple::ATLAS_NOT_THREAD_SAFE
virtual StatusCode stop ATLAS_NOT_THREAD_SAFE() override
LArCaliWaves2Ntuple::m_addCorrUndo
bool m_addCorrUndo
Definition: LArCaliWaves2Ntuple.h:46
LArCaliWaves2Ntuple::m_dacSaturSkip
bool m_dacSaturSkip
Definition: LArCaliWaves2Ntuple.h:44
LArCaliWaves2Ntuple::m_keylist
std::vector< std::string > m_keylist
Definition: LArCaliWaves2Ntuple.h:41
checker_macros.h
Define macros for attributes used to control the static checker.
LArCaliWaves2Ntuple::m_dac
NTuple::Item< long > m_dac
Definition: LArCaliWaves2Ntuple.h:55
LArCaliWaves2Ntuple::LArCaliWaves2Ntuple
LArCaliWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArCaliWaves2Ntuple.cxx:8
LArCaliWaves2Ntuple::~LArCaliWaves2Ntuple
~LArCaliWaves2Ntuple()