ATLAS Offline Software
Loading...
Searching...
No Matches
IFPGATrackSimEventInputHeaderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
10
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
23class IFPGATrackSimEventInputHeaderTool : virtual public ::IAlgTool
24{
25 public:
28
29
30 virtual StatusCode readData(FPGATrackSimEventInputHeader* header, bool &last) = 0;
33 virtual TTree* getEventTree() {return m_EventTree;};
34
35 protected:
36
38 TFile * m_infile = nullptr;
39 TTree * m_EventTree = nullptr;
40
41};
42
43
44#endif // IFPGATrackSimEventInputHeaderTool_H
DeclareInterfaceID(IFPGATrackSimEventInputHeaderTool, 1, 0)
virtual FPGATrackSimEventInputHeader * getEventInputHeader()
virtual StatusCode readData(FPGATrackSimEventInputHeader *header, bool &last)=0
virtual ~IFPGATrackSimEventInputHeaderTool()=default
virtual StatusCode writeData(FPGATrackSimEventInputHeader *header)=0