ATLAS Offline Software
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 
10 class fReadXRootD : public fRead
11 {
12  public:
13  fReadXRootD();
14  ~fReadXRootD();
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
fReadXRootD::openFile
void openFile(std::string fName)
Definition: fReadXRootD.cxx:52
fReadXRootD::isOpen
bool isOpen()
Definition: fReadXRootD.cxx:31
fReadXRootD::~fReadXRootD
~fReadXRootD()
Definition: fReadXRootD.cxx:26
rootconvert.fName
string fName
Definition: rootconvert.py:5
fReadXRootD::setPosition
void setPosition(int64_t p)
Definition: fReadXRootD.cxx:94
fReadXRootD::readData
void readData(char *buffer, unsigned int sizeBytes)
Definition: fReadXRootD.cxx:64
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
createCoolChannelIdFile.buffer
buffer
Definition: createCoolChannelIdFile.py:12
fReadXRootD
Definition: fReadXRootD.h:11
fReadXRootD::newReader
fRead * newReader() const
Definition: fReadXRootD.cxx:104
fReadXRootD::setPositionFromEnd
void setPositionFromEnd(int64_t p)
Definition: fReadXRootD.cxx:99
fReadXRootD::getPosition
int64_t getPosition()
Definition: fReadXRootD.cxx:88
fReadXRootD::closeFile
void closeFile()
Definition: fReadXRootD.cxx:58
fReadXRootD::isEoF
bool isEoF()
Definition: fReadXRootD.cxx:36
fReadXRootD::m_pfd
int m_pfd
Definition: fReadXRootD.h:28
fReadXRootD::fReadXRootD
fReadXRootD()
Definition: fReadXRootD.cxx:21
fReadXRootD::fileExists
bool fileExists(std::string fName) const
Definition: fReadXRootD.cxx:43