ATLAS Offline Software
Loading...
Searching...
No Matches
LArMasterWaveBuilder.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8#ifndef LARMASTERWAVEBUILDER_H
9#define LARMASTERWAVEBUILDER_H
10
12
13
17
18#include <vector>
19#include <string>
20
21class LArWave;
22class LArWaveHelper;
23class LArCaliWave;
24
26public:
27 LArMasterWaveBuilder(const std::string & name, ISvcLocator * pSvcLocator);
28
30
31 //standard algorithm methods
32 StatusCode initialize() ;
33 StatusCode execute() {return StatusCode::SUCCESS;} //empty method
34 StatusCode stop() ;
35 StatusCode finalize() {return StatusCode::SUCCESS;}
36
37 StatusCode perMWCal(const std::vector<LArCaliWave*>, LArWave &mwfWave, LArWave &intrWave);
38
39private:
40
41 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
42 SG::ReadCondHandleKey<LArCalibLineMapping> m_CLKey{this, "CalibLineKey", "LArCalibLineMap", "SG calib line key"};
43
44 double diffWave(const LArCaliWave& w1, const LArCaliWave& w2, int& tbin, bool normPeak) const ;
45 double diffWave(const LArCaliWave& w1, const LArCaliWave& w2, bool normPeak) const ;
46
48
49 std::string m_keyinput, m_keyoutput ;
50
51 // Grouping type
52 std::string m_groupingType;
53
57
58 std::vector<unsigned> m_dacMinLayer0;
59 std::vector<unsigned> m_dacMinLayer1;
60 std::vector<unsigned> m_dacMinLayer2;
61 std::vector<unsigned> m_dacMinLayer3;
62
63 std::vector<unsigned> m_dacMaxLayer0;
64 std::vector<unsigned> m_dacMaxLayer1;
65 std::vector<unsigned> m_dacMaxLayer2;
66 std::vector<unsigned> m_dacMaxLayer3;
67
68};
69
70#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
double diffWave(const LArCaliWave &w1, const LArCaliWave &w2, int &tbin, bool normPeak) const
std::vector< unsigned > m_dacMaxLayer1
std::vector< unsigned > m_dacMinLayer0
std::vector< unsigned > m_dacMaxLayer2
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
std::vector< unsigned > m_dacMinLayer1
std::vector< unsigned > m_dacMaxLayer3
std::vector< unsigned > m_dacMaxLayer0
std::vector< unsigned > m_dacMinLayer3
StatusCode perMWCal(const std::vector< LArCaliWave * >, LArWave &mwfWave, LArWave &intrWave)
LArMasterWaveBuilder(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< unsigned > m_dacMinLayer2