ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimSGInput
src
TrigFPGATrackSimRawHitsWrapperAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FPGATrackSimSGInput_FPGATrackSimRawHistWrapperAlg_h
6
#define FPGATrackSimSGInput_FPGATrackSimRawHistWrapperAlg_h
7
8
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
FPGATrackSimSGInput/IFPGATrackSimInputTool.h
"
12
13
class
TFile;
14
class
TTree;
15
class
TH2F;
16
class
FPGATrackSimEventInputHeader
;
21
class
TrigFPGATrackSimRawHitsWrapperAlg
:
public
AthAlgorithm
{
22
public
:
23
TrigFPGATrackSimRawHitsWrapperAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
24
virtual
~TrigFPGATrackSimRawHitsWrapperAlg
() {};
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
27
virtual
StatusCode
finalize
()
override
;
28
29
30
private
:
31
// configuration parameters
32
ToolHandle<IFPGATrackSimInputTool>
m_hitInputTool
{
this
,
"InputTool"
,
"FPGATrackSimSGToRawHitsTool/FPGATrackSimInputTool"
,
"HitInput Tool"
};
33
Gaudi::Property<std::string>
m_outpath
{
this
,
"OutFileName"
,
"httsim_smartwrapper.root"
,
"output path"
};
34
Gaudi::Property<std::string>
m_metaData
{
this
,
"WrapperMetaData"
,
""
,
"meta data"
};
35
36
// internal pointers
37
FPGATrackSimEventInputHeader
*
m_eventHeader
=
nullptr
;
38
TFile*
m_outfile
=
nullptr
;
39
TTree*
m_EventTree
=
nullptr
;
40
};
41
42
#endif
AthAlgorithm.h
IFPGATrackSimInputTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
FPGATrackSimEventInputHeader
Definition
FPGATrackSimEventInputHeader.h:22
TrigFPGATrackSimRawHitsWrapperAlg::m_outpath
Gaudi::Property< std::string > m_outpath
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:33
TrigFPGATrackSimRawHitsWrapperAlg::m_metaData
Gaudi::Property< std::string > m_metaData
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:34
TrigFPGATrackSimRawHitsWrapperAlg::finalize
virtual StatusCode finalize() override
Definition
TrigFPGATrackSimRawHitsWrapperAlg.cxx:59
TrigFPGATrackSimRawHitsWrapperAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TrigFPGATrackSimRawHitsWrapperAlg.cxx:48
TrigFPGATrackSimRawHitsWrapperAlg::m_outfile
TFile * m_outfile
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:38
TrigFPGATrackSimRawHitsWrapperAlg::m_hitInputTool
ToolHandle< IFPGATrackSimInputTool > m_hitInputTool
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:32
TrigFPGATrackSimRawHitsWrapperAlg::m_eventHeader
FPGATrackSimEventInputHeader * m_eventHeader
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:37
TrigFPGATrackSimRawHitsWrapperAlg::TrigFPGATrackSimRawHitsWrapperAlg
TrigFPGATrackSimRawHitsWrapperAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigFPGATrackSimRawHitsWrapperAlg.cxx:15
TrigFPGATrackSimRawHitsWrapperAlg::m_EventTree
TTree * m_EventTree
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:39
TrigFPGATrackSimRawHitsWrapperAlg::~TrigFPGATrackSimRawHitsWrapperAlg
virtual ~TrigFPGATrackSimRawHitsWrapperAlg()
Definition
TrigFPGATrackSimRawHitsWrapperAlg.h:24
TrigFPGATrackSimRawHitsWrapperAlg::initialize
virtual StatusCode initialize() override
Definition
TrigFPGATrackSimRawHitsWrapperAlg.cxx:20
Generated on
for ATLAS Offline Software by
1.17.0