#include <TFileService.h>
Public Member Functions | |
void | afterBeginJob () |
Hook for writing info into JR. More... | |
TFile & | file () const |
return opened TFile More... | |
TFileService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
constructor More... | |
~TFileService () | |
destructor More... | |
Public Member Functions inherited from TFileDirectory | |
bool | cd () const |
TDirectory * | getBareDirectory (const std::string &subdir="") const |
TH1 * | getHist (const std::string &histname, const std::string &subdir="") const |
template<typename T > | |
T * | getObject (const std::string &objname, const std::string &subdir="") |
template<typename T > | |
T * | make () const |
make new ROOT object More... | |
template<typename T , typename Arg1 > | |
T * | make (const Arg1 &a1) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 > | |
T * | make (const Arg1 &a1, const Arg2 &a2) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 , typename Arg11 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10, const Arg11 &a11) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 , typename Arg11 , typename Arg12 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10, const Arg11 &a11, const Arg12 &a12) const |
make new ROOT object More... | |
TFileDirectory | mkdir (const std::string &dir, const std::string &descr="") |
create a new subdirectory More... | |
virtual | ~TFileDirectory () |
descructor More... | |
Private Member Functions | |
void | setDirectoryName (const edm::ModuleDescription &desc) |
Private Attributes | |
bool | closeFileFast_ |
TFile * | file_ |
pointer to opened TFile More... | |
std::string | fileName_ |
bool | fileNameRecorded_ |
Definition at line 16 of file TFileService.h.
TFileService::TFileService | ( | const edm::ParameterSet & | cfg, |
edm::ActivityRegistry & | r | ||
) |
constructor
Definition at line 13 of file TFileService.cc.
References afterBeginJob(), setDirectoryName(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPreModule(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginLumi(), edm::ActivityRegistry::watchPreModuleBeginRun(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndLumi(), and edm::ActivityRegistry::watchPreModuleEndRun().
TFileService::~TFileService | ( | ) |
void TFileService::afterBeginJob | ( | ) |
Hook for writing info into JR.
Definition at line 45 of file TFileService.cc.
References fileName_, fileNameRecorded_, newFWLiteAna::fullName, and edm::JobReport::reportAnalysisFile().
Referenced by TFileService().
|
inline |
return opened TFile
Definition at line 23 of file TFileService.h.
References file_.
Referenced by BTagPerformaceRootProducerFromSQLITE::analyze(), and MuonAlignmentFromReference::MuonAlignmentFromReference().
|
private |
Definition at line 40 of file TFileService.cc.
References TFileDirectory::descr_, TFileDirectory::dir_, edm::ModuleDescription::moduleLabel(), and edm::ModuleDescription::moduleName().
Referenced by TFileService().
|
private |
Definition at line 33 of file TFileService.h.
Referenced by ~TFileService().
|
private |
pointer to opened TFile
Definition at line 30 of file TFileService.h.
Referenced by file(), and ~TFileService().
|
private |
Definition at line 31 of file TFileService.h.
Referenced by afterBeginJob().
|
private |
Definition at line 32 of file TFileService.h.
Referenced by afterBeginJob().