ATLAS Offline Software
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 
40 class 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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileRawChannelMaker::fitOverflowedChannels
void fitOverflowedChannels(const EventContext &ctx)
Definition: TileRawChannelMaker.cxx:146
TileRawChannelMaker::m_overflowReplacePedestalCut
float m_overflowReplacePedestalCut
Definition: TileRawChannelMaker.h:80
TileRawChannelMaker::m_overflowReplaceChi2Cut
float m_overflowReplaceChi2Cut
Definition: TileRawChannelMaker.h:81
TileRawChannelMaker::isClonable
virtual bool isClonable() const override final
Definition: TileRawChannelMaker.h:53
TileRawChannelMaker::m_TileRawChannelBuilderIDVec
std::vector< std::string > m_TileRawChannelBuilderIDVec
Vector with class name[/instance name] of builder sub-algs.
Definition: TileRawChannelMaker.h:66
TileRawChannelMaker::m_fitOverflow
bool m_fitOverflow
Definition: TileRawChannelMaker.h:75
TileRawChannelMaker::execute
virtual StatusCode execute() override
Execute.
Definition: TileRawChannelMaker.cxx:81
TileRawChannelMaker::m_tileRawChannelBuilderList
ToolHandleArray< TileRawChannelBuilder > m_tileRawChannelBuilderList
Vector of builder algtools.
Definition: TileRawChannelMaker.h:72
TileInfo
Definition: TileInfo.h:49
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< TileDigitsContainer >
TileRawChannelMaker::~TileRawChannelMaker
virtual ~TileRawChannelMaker()
Destructor.
Definition: TileRawChannelMaker.cxx:43
TileRawChannelMaker::TileRawChannelMaker
TileRawChannelMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: TileRawChannelMaker.cxx:25
AthAlgorithm.h
TileRawChannelMaker::m_tileRawChannelBuilderFitOverflow
ToolHandle< TileRawChannelBuilder > m_tileRawChannelBuilderFitOverflow
Definition: TileRawChannelMaker.h:76
TileRawChannelMaker::m_infoName
std::string m_infoName
Definition: TileRawChannelMaker.h:84
TileRawChannelMaker::m_overflowReplaceTimeCut
float m_overflowReplaceTimeCut
Definition: TileRawChannelMaker.h:79
TileDigitsContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileRawChannelMaker
Definition: TileRawChannelMaker.h:42
TileRawChannelMaker::m_tileInfo
const TileInfo * m_tileInfo
Definition: TileRawChannelMaker.h:85
TileRawChannelBuilder
Definition: TileRawChannelBuilder.h:59
AthAlgorithm
Definition: AthAlgorithm.h:47
TileRawChannelMaker::initialize
virtual StatusCode initialize() override
Initialize algorithm.
Definition: TileRawChannelMaker.cxx:49
TileRawChannelMaker::finalize
virtual StatusCode finalize() override
Finalize.
Definition: TileRawChannelMaker.cxx:139
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileRawChannelMaker::m_ADCmaxMinusEps
float m_ADCmaxMinusEps
Definition: TileRawChannelMaker.h:86
TileRawChannelBuilder.h
TileRawChannelMaker::m_digitsContainerKey
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
Definition: TileRawChannelMaker.h:60