ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
src
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
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
FPGATrackSimInput/IFPGATrackSimEventInputHeaderTool.h
"
13
14
class
FPGATrackSimRawHitsWrapperAlg
:
public
AthAlgorithm
{
15
public
:
16
FPGATrackSimRawHitsWrapperAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
17
virtual
~FPGATrackSimRawHitsWrapperAlg
() =
default
;
18
virtual
StatusCode
initialize
()
override
;
19
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
20
virtual
StatusCode
finalize
()
override
;
21
StatusCode
BookHistograms
();
22
23
24
private
:
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
AthAlgorithm.h
IFPGATrackSimEventInputHeaderTool.h
This declares a basic interface for input tools which provide the FPGATrackSimEventInputHeader data t...
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
FPGATrackSimRawHitsWrapperAlg::~FPGATrackSimRawHitsWrapperAlg
virtual ~FPGATrackSimRawHitsWrapperAlg()=default
FPGATrackSimRawHitsWrapperAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
FPGATrackSimRawHitsWrapperAlg.cxx:30
FPGATrackSimRawHitsWrapperAlg::m_readOutputTool
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_readOutputTool
Definition
FPGATrackSimRawHitsWrapperAlg.h:27
FPGATrackSimRawHitsWrapperAlg::finalize
virtual StatusCode finalize() override
Definition
FPGATrackSimRawHitsWrapperAlg.cxx:50
FPGATrackSimRawHitsWrapperAlg::m_tot_hits
unsigned int m_tot_hits
Definition
FPGATrackSimRawHitsWrapperAlg.h:31
FPGATrackSimRawHitsWrapperAlg::BookHistograms
StatusCode BookHistograms()
Definition
FPGATrackSimRawHitsWrapperAlg.cxx:26
FPGATrackSimRawHitsWrapperAlg::initialize
virtual StatusCode initialize() override
Definition
FPGATrackSimRawHitsWrapperAlg.cxx:11
FPGATrackSimRawHitsWrapperAlg::FPGATrackSimRawHitsWrapperAlg
FPGATrackSimRawHitsWrapperAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
FPGATrackSimRawHitsWrapperAlg.cxx:7
FPGATrackSimRawHitsWrapperAlg::m_tot_oftracks
unsigned int m_tot_oftracks
Definition
FPGATrackSimRawHitsWrapperAlg.h:33
FPGATrackSimRawHitsWrapperAlg::m_writeOutputTool
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_writeOutputTool
Definition
FPGATrackSimRawHitsWrapperAlg.h:28
FPGATrackSimRawHitsWrapperAlg::m_tot_truth
unsigned int m_tot_truth
Definition
FPGATrackSimRawHitsWrapperAlg.h:32
Generated on
for ATLAS Offline Software by
1.17.0