ATLAS Offline Software
Loading...
Searching...
No Matches
LArCaliWaveBuilder.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7
8#ifndef LARCALIWAVEBUILDER_H
9#define LARCALIWAVEBUILDER_H
10
11#include "GaudiKernel/ToolHandle.h"
13
14
15#include <vector>
16#include <string>
17#include <map>
18
24
25
26class ILArPedestal;
27
29{
30 public:
31 LArCaliWaveBuilder(const std::string & name, ISvcLocator * pSvcLocator);
33
34 StatusCode initialize();
35 StatusCode execute();
36 virtual StatusCode stop();
37 StatusCode finalize(){return StatusCode::SUCCESS;}
38
39 private:
40
41 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
42 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKeySC{this,"ScCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"};
43 SG::ReadCondHandleKey<LArCalibLineMapping> m_calibMapKey{this,"CalibLineKey","LArCalibLineMap","SG Key of calib. line mapping object"};
44 SG::ReadCondHandleKey<ILArPedestal> m_pedKey{this,"PedestalKey","Pedestal","SG Key of pedestal object"};
45
47 StatusCode executeWithAccumulatedDigits(const LArCalibParams* calibParams, const LArCalibLineMapping* clcabling );
48 StatusCode executeWithStandardDigits(const LArCalibParams* calibParams, const LArCalibLineMapping* clcabling);
49
50 std::vector<std::string> m_keylist;
51 std::vector<std::string> m_keylistproperty;
52 std::string m_keyoutput ;
53 std::string m_groupingType;
54
55 // Intermediate caching objects
56 typedef std::map<int, LArCaliWave> WaveMap;
59
60 // Pedestal subtraction
62 unsigned m_baseline;
63
64 // Reco also unpulsed and saturated cells ?
66
67 // Running on cells or supercells?
68 bool m_isSC;
69
70 //used to store different waves for different HEC calib lines
72
73 // Saturation check
75
76 // Empty phases (missing files) check
78
80
81 unsigned m_event_counter;
84 float m_dt;
85
87
90};
91
92#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const LArOnlineID_Base * m_onlineID
virtual StatusCode stop()
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
std::vector< std::string > m_keylistproperty
StatusCode executeWithStandardDigits(const LArCalibParams *calibParams, const LArCalibLineMapping *clcabling)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
std::vector< std::string > m_keylist
LArConditionsContainer< WaveMap > WaveContainer
std::map< int, LArCaliWave > WaveMap
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
LArCaliWaveBuilder(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode executeWithAccumulatedDigits(const LArCalibParams *calibParams, const LArCalibLineMapping *clcabling)
Helper for the Liquid Argon Calorimeter cell identifiers.