ATLAS Offline Software
CscDigitBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CSC_DIGITIZATION_CSCDIGITBUILDER_H
6 #define CSC_DIGITIZATION_CSCDIGITBUILDER_H
7 
8 // Author: Ketevi A. Assamagan
9 // BNL, October 27, 2003
10 
11 // Digitization algorithm for the CSC:
12 // get the hit container from Storegate
13 // loop over the hits
14 // digitize each hit
15 // loop over the digit and build the digit container
16 // store the digits in StoreGate
17 
18 #include "GaudiKernel/ToolHandle.h"
21 
22 class CscDigitBuilder : public AthAlgorithm {
23 
24 public:
25 
27  CscDigitBuilder(const std::string& name, ISvcLocator* pSvcLocator);
28 
30  virtual ~CscDigitBuilder() = default;
31 
33  virtual StatusCode initialize() override final;
34  virtual StatusCode execute() override final;
35  virtual bool isClonable() const override final { return true; }
36 private:
37  ToolHandle<IPileUpTool> m_digTool{this, "DigitizationTool", "CscDigitizationTool", "CscDigitizationTool name"};
38 };
39 
40 #endif // CSC_DIGITIZATION_CSCDIGITBUILDER_H
CscDigitBuilder::isClonable
virtual bool isClonable() const override final
Definition: CscDigitBuilder.h:35
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthAlgorithm.h
CscDigitBuilder::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition: CscDigitBuilder.cxx:18
CscDigitBuilder::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: CscDigitBuilder.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm
Definition: AthAlgorithm.h:47
CscDigitBuilder
Definition: CscDigitBuilder.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CscDigitBuilder::execute
virtual StatusCode execute() override final
Definition: CscDigitBuilder.cxx:25
CscDigitBuilder::CscDigitBuilder
CscDigitBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition: CscDigitBuilder.cxx:12
CscDigitBuilder::~CscDigitBuilder
virtual ~CscDigitBuilder()=default
Destructor.