ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimRawHitsWrapperAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef FPGATrackSim_RAWHITSWRAPPERALG_H
7#define FPGATrackSim_RAWHITSWRAPPERALG_H
8
9
11#include "GaudiKernel/ToolHandle.h"
13
15public:
16 FPGATrackSimRawHitsWrapperAlg (const std::string& name, ISvcLocator* pSvcLocator);
17 virtual ~FPGATrackSimRawHitsWrapperAlg () = default;
18 virtual StatusCode initialize() override;
19 virtual StatusCode execute() override;
20 virtual StatusCode finalize() override;
21 StatusCode BookHistograms();
22
23
24private:
25 // configuration parameters
26 //TODO: use input from SG: FPGATrackSimSGToRawHitsTool/IFPGATrackSimInputTool
27 ToolHandle<IFPGATrackSimEventInputHeaderTool> m_readOutputTool { this, "InputTool", "FPGATrackSimInputHeaderTool/ReadInputHeaderTool", "Input Tool" };
28 ToolHandle<IFPGATrackSimEventInputHeaderTool> m_writeOutputTool { this, "OutputTool", "FPGATrackSimInputHeaderTool/WriteInputHeaderTool", "Output Tool" };
29
30 // some debug counters
31 unsigned int m_tot_hits=0;
32 unsigned int m_tot_truth=0;
33 unsigned int m_tot_oftracks=0;
34};
35
36#endif // FPGATrackSimRAWHITSWRAPPERALG_h
This declares a basic interface for input tools which provide the FPGATrackSimEventInputHeader data t...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~FPGATrackSimRawHitsWrapperAlg()=default
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_readOutputTool
FPGATrackSimRawHitsWrapperAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_writeOutputTool