ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
FPGATrackSimInput
FPGATrackSimReadRawRandomHitsTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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
12
class
FPGATrackSimReadRawRandomHitsTool
:
public
extends<AthAlgTool, IFPGATrackSimEventInputHeaderTool>
13
{
14
public
:
15
16
FPGATrackSimReadRawRandomHitsTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
17
virtual
~FPGATrackSimReadRawRandomHitsTool
() =
default
;
18
virtual
StatusCode
initialize
()
override
;
19
virtual
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last)
const override
;
20
virtual
StatusCode
writeData
(
FPGATrackSimEventInputHeader
*
header
)
const override
;
21
virtual
StatusCode
finalize
()
override
;
22
23
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last,
bool
doReset)
const
;
24
25
private
:
26
// JO configuration
27
StringProperty
m_inpath
{
this
,
"InFileName"
,
"httsim_smartwrapper.root"
,
"input path"
};
28
29
// Internal pointers
30
mutable
std::atomic<unsigned>
m_entry
= 0;
31
mutable
std::mutex
m_readMutex
;
// Protect ROOT read operations in const methods
32
};
33
34
#endif
// FPGATrackSimREADRAWRANDOMHINPUTTOOL_H
AthAlgTool.h
IFPGATrackSimEventInputHeaderTool.h
This declares a basic interface for input tools which provide the FPGATrackSimEventInputHeader data t...
FPGATrackSimEventInputHeader
Definition
FPGATrackSimEventInputHeader.h:22
FPGATrackSimReadRawRandomHitsTool::m_inpath
StringProperty m_inpath
Definition
FPGATrackSimReadRawRandomHitsTool.h:27
FPGATrackSimReadRawRandomHitsTool::m_entry
std::atomic< unsigned > m_entry
Definition
FPGATrackSimReadRawRandomHitsTool.h:30
FPGATrackSimReadRawRandomHitsTool::FPGATrackSimReadRawRandomHitsTool
FPGATrackSimReadRawRandomHitsTool(const std::string &, const std::string &, const IInterface *)
Definition
FPGATrackSimReadRawRandomHitsTool.cxx:9
FPGATrackSimReadRawRandomHitsTool::m_readMutex
std::mutex m_readMutex
Definition
FPGATrackSimReadRawRandomHitsTool.h:31
FPGATrackSimReadRawRandomHitsTool::finalize
virtual StatusCode finalize() override
Definition
FPGATrackSimReadRawRandomHitsTool.cxx:120
FPGATrackSimReadRawRandomHitsTool::initialize
virtual StatusCode initialize() override
Definition
FPGATrackSimReadRawRandomHitsTool.cxx:14
FPGATrackSimReadRawRandomHitsTool::~FPGATrackSimReadRawRandomHitsTool
virtual ~FPGATrackSimReadRawRandomHitsTool()=default
FPGATrackSimReadRawRandomHitsTool::writeData
virtual StatusCode writeData(FPGATrackSimEventInputHeader *header) const override
Definition
FPGATrackSimReadRawRandomHitsTool.cxx:114
FPGATrackSimReadRawRandomHitsTool::readData
virtual StatusCode readData(FPGATrackSimEventInputHeader *header, bool &last) const override
Definition
FPGATrackSimReadRawRandomHitsTool.cxx:48
header
Definition
hcg.cxx:529
Generated on
for ATLAS Offline Software by
1.17.0