ATLAS Offline Software
Loading...
Searching...
No Matches
fReadXRootD.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FREADXROOTD_H
6#define FREADXROOTD_H
7
8#include "EventStorage/fRead.h"
9
10class fReadXRootD : public fRead
11{
12 public:
15
16 bool isOpen();
17 bool isEoF();
18 bool fileExists(std::string fName) const;
19 void openFile(std::string fName);
20 void closeFile();
21 void readData(char *buffer, unsigned int sizeBytes);
22 int64_t getPosition();
23 void setPosition(int64_t p);
24 void setPositionFromEnd(int64_t p);
25 fRead * newReader() const;
26
27 private:
28 int m_pfd; // current file
29};
30
31#endif
void openFile(std::string fName)
void closeFile()
bool fileExists(std::string fName) const
void readData(char *buffer, unsigned int sizeBytes)
void setPositionFromEnd(int64_t p)
fRead * newReader() const
int64_t getPosition()
void setPosition(int64_t p)