ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILERECUTILS_TILERAWCHANNELMAKER_H
6#define TILERECUTILS_TILERAWCHANNELMAKER_H
7
8/********************************************************************
9 *
10 * NAME: TileRawChanelMaker
11 * PACKAGE: offline/TileCalorimeter/TileRecalgs
12 *
13 * AUTHOR : K. Gellerstedt
14 * CREATED: Nov 17 2003
15 *
16 * PURPOSE: Creation of TileRawChannels using different sub algorithms
17 *
18 * Input: TileDigits container
19 * Output: Containers with TileRawChannels
20 * Parameters:
21 * TileRawChannelContainer - Name of output containers
22 * TileRawChannelBuilder - Name of builder sub-algorithms
23 * TileDigitsContainer - Name of input container
24 *
25 ********************************************************************/
26
27// Tile includes
30
31// Atlas includes
34
35// Gaudi includes
36#include "GaudiKernel/ToolHandle.h"
37
38
40class TileInfo;
41
43
44 public:
45 // constructor
46 TileRawChannelMaker(const std::string& name, ISvcLocator* pSvcLocator);
47 // destructor
48 virtual ~TileRawChannelMaker();
49
50 virtual StatusCode initialize() override;
51 virtual StatusCode execute() override;
52 virtual StatusCode finalize() override;
53 virtual bool isClonable() const override final { return true; }
54
55 private:
56
57 void fitOverflowedChannels(const EventContext& ctx);
58
59 // name of TDS container with TileDigits
60 SG::ReadHandleKey<TileDigitsContainer> m_digitsContainerKey{this,"TileDigitsContainer","TileDigitsCnt",
61 "Input Tile digits container key"};
62
66 std::vector<std::string> m_TileRawChannelBuilderIDVec;
67
71 // std::vector<TileRawChannelBuilder*> m_TileRawChannelBuilderVec;
72 ToolHandleArray<TileRawChannelBuilder> m_tileRawChannelBuilderList{this,
73 "TileRawChannelBuilder", {}, "Tile raw channels builder tools"};
74
76 ToolHandle<TileRawChannelBuilder> m_tileRawChannelBuilderFitOverflow{this,
77 "TileRawChannelBuilderFitOverflow", "", "Tile raw channels builder tool to fit overflows"};
78
82
83 // TileInfo
84 std::string m_infoName;
87
88};
89#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
void fitOverflowedChannels(const EventContext &ctx)
virtual bool isClonable() const override final
ToolHandleArray< TileRawChannelBuilder > m_tileRawChannelBuilderList
Vector of builder algtools.
virtual StatusCode execute() override
Execute.
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
virtual ~TileRawChannelMaker()
Destructor.
std::vector< std::string > m_TileRawChannelBuilderIDVec
Vector with class name[/instance name] of builder sub-algs.
TileRawChannelMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
virtual StatusCode finalize() override
Finalize.
const TileInfo * m_tileInfo
ToolHandle< TileRawChannelBuilder > m_tileRawChannelBuilderFitOverflow
virtual StatusCode initialize() override
Initialize algorithm.