ATLAS Offline Software
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
FPGATrackSimInput
IFPGATrackSimEventInputHeaderTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
11
#ifndef IFPGATrackSimEventInputHeaderTool_H
12
#define IFPGATrackSimEventInputHeaderTool_H
13
14
#include "GaudiKernel/IAlgTool.h"
15
#include "TFile.h"
16
#include "TTree.h"
17
18
19
// to do: merge this with FPGATrackSimSGInput/IFPGATrackSimInputTool
20
// since they are both abstract interfaces
21
22
class
FPGATrackSimEventInputHeader
;
23
class
IFPGATrackSimEventInputHeaderTool
:
virtual
public
::IAlgTool
24
{
25
public
:
26
virtual
~IFPGATrackSimEventInputHeaderTool
() =
default
;
27
DeclareInterfaceID
(
IFPGATrackSimEventInputHeaderTool
, 1, 0);
28
29
30
virtual
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last) = 0;
31
virtual
StatusCode
writeData
(
FPGATrackSimEventInputHeader
*
header
) = 0;
32
virtual
FPGATrackSimEventInputHeader
*
getEventInputHeader
() {
return
m_eventHeader
; };
33
virtual
TTree*
getEventTree
() {
return
m_EventTree
;};
34
35
protected
:
36
37
FPGATrackSimEventInputHeader
*
m_eventHeader
;
38
TFile *
m_infile
=
nullptr
;
39
TTree *
m_EventTree
=
nullptr
;
40
41
};
42
43
44
#endif // IFPGATrackSimEventInputHeaderTool_H
IFPGATrackSimEventInputHeaderTool::writeData
virtual StatusCode writeData(FPGATrackSimEventInputHeader *header)=0
IFPGATrackSimEventInputHeaderTool::readData
virtual StatusCode readData(FPGATrackSimEventInputHeader *header, bool &last)=0
header
Definition:
hcg.cxx:526
IFPGATrackSimEventInputHeaderTool::getEventTree
virtual TTree * getEventTree()
Definition:
IFPGATrackSimEventInputHeaderTool.h:33
IFPGATrackSimEventInputHeaderTool::m_eventHeader
FPGATrackSimEventInputHeader * m_eventHeader
Definition:
IFPGATrackSimEventInputHeaderTool.h:33
IFPGATrackSimEventInputHeaderTool::m_infile
TFile * m_infile
Definition:
IFPGATrackSimEventInputHeaderTool.h:38
IFPGATrackSimEventInputHeaderTool::~IFPGATrackSimEventInputHeaderTool
virtual ~IFPGATrackSimEventInputHeaderTool()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IFPGATrackSimEventInputHeaderTool::getEventInputHeader
virtual FPGATrackSimEventInputHeader * getEventInputHeader()
Definition:
IFPGATrackSimEventInputHeaderTool.h:32
FPGATrackSimEventInputHeader
Definition:
FPGATrackSimEventInputHeader.h:22
IFPGATrackSimEventInputHeaderTool
Definition:
IFPGATrackSimEventInputHeaderTool.h:24
IFPGATrackSimEventInputHeaderTool::DeclareInterfaceID
DeclareInterfaceID(IFPGATrackSimEventInputHeaderTool, 1, 0)
IFPGATrackSimEventInputHeaderTool::m_EventTree
TTree * m_EventTree
Definition:
IFPGATrackSimEventInputHeaderTool.h:39
Generated on Thu Nov 7 2024 21:16:41 for ATLAS Offline Software by
1.8.18