ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
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
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
13
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
#include "
LArCabling/LArOnOffIdMapping.h
"
16
#include "
LArRecConditions/LArCalibLineMapping.h
"
17
18
#include <vector>
19
#include <string>
20
21
class
LArWave
;
22
class
LArWaveHelper
;
23
class
LArCaliWave
;
24
25
class
LArMasterWaveBuilder
:
public
AthAlgorithm
{
26
public
:
27
LArMasterWaveBuilder
(
const
std::string & name, ISvcLocator * pSvcLocator);
28
29
~LArMasterWaveBuilder
();
30
31
//standard algorithm methods
32
StatusCode
initialize
() ;
33
StatusCode
execute
(
const
EventContext&) {
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
39
private
:
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
47
LArWaveHelper
*
m_waveHelper
;
48
49
std::string
m_keyinput
,
m_keyoutput
;
50
51
// Grouping type
52
std::string
m_groupingType
;
53
54
int
m_ADCsatur
,
m_DACmin
;
55
bool
m_timeShift
,
m_normalize
,
m_diffWaveNormPeak
,
m_buildMWoneDAC
,
m_listAllAnalysedChannels
;
56
double
m_linearityTolerance
;
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.h
LArCalibLineMapping.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArCaliWave
Definition
LArCaliWave.h:44
LArMasterWaveBuilder::execute
StatusCode execute(const EventContext &)
Execute method.
Definition
LArMasterWaveBuilder.h:33
LArMasterWaveBuilder::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArMasterWaveBuilder.h:41
LArMasterWaveBuilder::diffWave
double diffWave(const LArCaliWave &w1, const LArCaliWave &w2, int &tbin, bool normPeak) const
Definition
LArMasterWaveBuilder.cxx:521
LArMasterWaveBuilder::m_dacMaxLayer1
std::vector< unsigned > m_dacMaxLayer1
Definition
LArMasterWaveBuilder.h:64
LArMasterWaveBuilder::m_keyoutput
std::string m_keyoutput
Definition
LArMasterWaveBuilder.h:49
LArMasterWaveBuilder::stop
StatusCode stop()
Definition
LArMasterWaveBuilder.cxx:139
LArMasterWaveBuilder::m_dacMinLayer0
std::vector< unsigned > m_dacMinLayer0
Definition
LArMasterWaveBuilder.h:58
LArMasterWaveBuilder::m_timeShift
bool m_timeShift
Definition
LArMasterWaveBuilder.h:55
LArMasterWaveBuilder::m_dacMaxLayer2
std::vector< unsigned > m_dacMaxLayer2
Definition
LArMasterWaveBuilder.h:65
LArMasterWaveBuilder::m_CLKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
Definition
LArMasterWaveBuilder.h:42
LArMasterWaveBuilder::m_buildMWoneDAC
bool m_buildMWoneDAC
Definition
LArMasterWaveBuilder.h:55
LArMasterWaveBuilder::finalize
StatusCode finalize()
Definition
LArMasterWaveBuilder.h:35
LArMasterWaveBuilder::m_dacMinLayer1
std::vector< unsigned > m_dacMinLayer1
Definition
LArMasterWaveBuilder.h:59
LArMasterWaveBuilder::m_listAllAnalysedChannels
bool m_listAllAnalysedChannels
Definition
LArMasterWaveBuilder.h:55
LArMasterWaveBuilder::m_dacMaxLayer3
std::vector< unsigned > m_dacMaxLayer3
Definition
LArMasterWaveBuilder.h:66
LArMasterWaveBuilder::m_DACmin
int m_DACmin
Definition
LArMasterWaveBuilder.h:54
LArMasterWaveBuilder::m_keyinput
std::string m_keyinput
Definition
LArMasterWaveBuilder.h:49
LArMasterWaveBuilder::~LArMasterWaveBuilder
~LArMasterWaveBuilder()
LArMasterWaveBuilder::m_dacMaxLayer0
std::vector< unsigned > m_dacMaxLayer0
Definition
LArMasterWaveBuilder.h:63
LArMasterWaveBuilder::m_linearityTolerance
double m_linearityTolerance
Definition
LArMasterWaveBuilder.h:56
LArMasterWaveBuilder::initialize
StatusCode initialize()
Definition
LArMasterWaveBuilder.cxx:70
LArMasterWaveBuilder::m_normalize
bool m_normalize
Definition
LArMasterWaveBuilder.h:55
LArMasterWaveBuilder::m_waveHelper
LArWaveHelper * m_waveHelper
Definition
LArMasterWaveBuilder.h:47
LArMasterWaveBuilder::m_diffWaveNormPeak
bool m_diffWaveNormPeak
Definition
LArMasterWaveBuilder.h:55
LArMasterWaveBuilder::m_groupingType
std::string m_groupingType
Definition
LArMasterWaveBuilder.h:52
LArMasterWaveBuilder::m_dacMinLayer3
std::vector< unsigned > m_dacMinLayer3
Definition
LArMasterWaveBuilder.h:61
LArMasterWaveBuilder::perMWCal
StatusCode perMWCal(const std::vector< LArCaliWave * >, LArWave &mwfWave, LArWave &intrWave)
LArMasterWaveBuilder::LArMasterWaveBuilder
LArMasterWaveBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArMasterWaveBuilder.cxx:33
LArMasterWaveBuilder::m_dacMinLayer2
std::vector< unsigned > m_dacMinLayer2
Definition
LArMasterWaveBuilder.h:60
LArMasterWaveBuilder::m_ADCsatur
int m_ADCsatur
Definition
LArMasterWaveBuilder.h:54
LArWaveHelper
Definition
LArWaveHelper.h:14
LArWave
Definition
LArWave.h:31
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0