#include <InputFile.h>
Public Member Functions | |
void | Close () |
void | eventReadFromFile (unsigned int run, unsigned int event) const |
TObject * | Get (char const *name) |
TFileCacheRead * | GetCacheRead () const |
InputFile (char const *fileName, char const *msg) | |
void | inputFileOpened (std::string const &logicalFileName, std::string const &inputType, std::string const &moduleName, std::string const &label, std::string const &fid, std::vector< std::string > const &branchNames) |
void | logFileAction (char const *msg, char const *fileName) const |
void | reportInputLumiSection (unsigned int run, unsigned int lumi) const |
void | reportInputRunNumber (unsigned int run) const |
void | SetCacheRead (TFileCacheRead *tfcr) |
~InputFile () | |
Private Attributes | |
boost::scoped_ptr< TFile > | file_ |
std::string | fileName_ |
JobReport::Token | reportToken_ |
Definition at line 21 of file InputFile.h.
|
explicit |
Definition at line 14 of file InputFile.cc.
References file_, and logFileAction().
edm::InputFile::~InputFile | ( | ) |
Definition at line 27 of file InputFile.cc.
References Close().
void edm::InputFile::Close | ( | ) |
Definition at line 68 of file InputFile.cc.
References file_, fileName_, logFileAction(), and reportToken_.
Referenced by ~InputFile().
void edm::InputFile::eventReadFromFile | ( | unsigned int | run, |
unsigned int | event | ||
) | const |
Definition at line 50 of file InputFile.cc.
References reportToken_.
|
inline |
|
inline |
Definition at line 37 of file InputFile.h.
References file_.
Referenced by edm::roottree::trainCache().
void edm::InputFile::inputFileOpened | ( | std::string const & | logicalFileName, |
std::string const & | inputType, | ||
std::string const & | moduleName, | ||
std::string const & | label, | ||
std::string const & | fid, | ||
std::vector< std::string > const & | branchNames | ||
) |
void edm::InputFile::logFileAction | ( | char const * | msg, |
char const * | fileName | ||
) | const |
Definition at line 83 of file InputFile.cc.
References convertXMLtoSQLite_cfg::fileName, and edm::FlushMessageLog().
Referenced by Close(), and InputFile().
void edm::InputFile::reportInputLumiSection | ( | unsigned int | run, |
unsigned int | lumi | ||
) | const |
Definition at line 62 of file InputFile.cc.
void edm::InputFile::reportInputRunNumber | ( | unsigned int | run | ) | const |
Definition at line 56 of file InputFile.cc.
|
inline |
Definition at line 38 of file InputFile.h.
References file_.
Referenced by edm::roottree::trainCache().
|
private |
Definition at line 41 of file InputFile.h.
Referenced by Close(), Get(), GetCacheRead(), InputFile(), and SetCacheRead().
|
private |
Definition at line 42 of file InputFile.h.
Referenced by Close(), and inputFileOpened().
|
private |
Definition at line 43 of file InputFile.h.
Referenced by Close(), eventReadFromFile(), and inputFileOpened().