ATLAS Offline Software
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
FPGATrackSimInput
FPGATrackSimInput/FPGATrackSimReadRawRandomHitsTool.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 FPGATrackSimREADRAWRANDOMHITSTOOL_H
6
#define FPGATrackSimREADRAWRANDOMHITSTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
FPGATrackSimInput/IFPGATrackSimEventInputHeaderTool.h
"
10
11
#include "TFile.h"
12
#include "TTree.h"
13
14
15
16
class
FPGATrackSimReadRawRandomHitsTool
:
public
extends<AthAlgTool, IFPGATrackSimEventInputHeaderTool>
17
{
18
public
:
19
20
FPGATrackSimReadRawRandomHitsTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
21
virtual
~FPGATrackSimReadRawRandomHitsTool
() =
default
;
22
virtual
StatusCode
initialize
()
override
;
23
virtual
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last)
override
;
24
virtual
StatusCode
writeData
(
FPGATrackSimEventInputHeader
*
header
)
override
;
25
virtual
StatusCode
finalize
()
override
;
26
27
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last,
bool
doReset);
28
29
private
:
30
// JO configuration
31
StringProperty
m_inpath
{
this
,
"InFileName"
,
"httsim_smartwrapper.root"
,
"input path"
};
32
33
// Internal pointers
34
unsigned
m_entry
= 0;
35
};
36
37
#endif // FPGATrackSimREADRAWRANDOMHINPUTTOOL_H
header
Definition:
hcg.cxx:526
FPGATrackSimReadRawRandomHitsTool::writeData
virtual StatusCode writeData(FPGATrackSimEventInputHeader *header) override
Definition:
FPGATrackSimReadRawRandomHitsTool.cxx:114
FPGATrackSimReadRawRandomHitsTool::m_entry
unsigned m_entry
Definition:
FPGATrackSimInput/FPGATrackSimReadRawRandomHitsTool.h:34
FPGATrackSimReadRawRandomHitsTool::finalize
virtual StatusCode finalize() override
Definition:
FPGATrackSimReadRawRandomHitsTool.cxx:120
FPGATrackSimReadRawRandomHitsTool::readData
virtual StatusCode readData(FPGATrackSimEventInputHeader *header, bool &last) override
Definition:
FPGATrackSimReadRawRandomHitsTool.cxx:48
FPGATrackSimReadRawRandomHitsTool::~FPGATrackSimReadRawRandomHitsTool
virtual ~FPGATrackSimReadRawRandomHitsTool()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
FPGATrackSimEventInputHeader
Definition:
FPGATrackSimEventInputHeader.h:22
FPGATrackSimReadRawRandomHitsTool::FPGATrackSimReadRawRandomHitsTool
FPGATrackSimReadRawRandomHitsTool(const std::string &, const std::string &, const IInterface *)
Definition:
FPGATrackSimReadRawRandomHitsTool.cxx:9
FPGATrackSimReadRawRandomHitsTool
Definition:
FPGATrackSimInput/FPGATrackSimReadRawRandomHitsTool.h:17
FPGATrackSimReadRawRandomHitsTool::m_inpath
StringProperty m_inpath
Definition:
FPGATrackSimInput/FPGATrackSimReadRawRandomHitsTool.h:31
FPGATrackSimReadRawRandomHitsTool::initialize
virtual StatusCode initialize() override
Definition:
FPGATrackSimReadRawRandomHitsTool.cxx:14
IFPGATrackSimEventInputHeaderTool.h
Generated on Mon Dec 23 2024 21:10:41 for ATLAS Offline Software by
1.8.18