Analysis Software
Documentation for sPHENIX simulation software
|
local class to store TFile and counter More...
Public Types | |
typedef std::map< std::string, SafeTFile * > | TFileMap |
shortcut for SafeTFile map | |
Public Member Functions | |
SafeTFile (const std::string &filename, const std::string &type="RECREATE") | |
constructor | |
~SafeTFile (void) override | |
destructor | |
int & | counter () |
get reference to counter | |
const int & | counter () const |
get const reference to counter | |
Static Public Member Functions | |
static TFileMap & | file_map (void) |
Private Attributes | |
std::string | _filename |
filename (for debugging) | |
int | _counter |
call counter | |
Static Private Attributes | |
static TFileMap | _map |
filename/SafeTFile map | |
local class to store TFile and counter
Definition at line 69 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 69 of file PHTFileServer.h
typedef std::map<std::string, SafeTFile*> PHTFileServer::SafeTFile::TFileMap |
shortcut for SafeTFile map
Definition at line 96 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 96 of file PHTFileServer.h
|
inline |
constructor
Definition at line 73 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 73 of file PHTFileServer.h
|
override |
destructor
Definition at line 170 of file PHTFileServer.cc.
View newest version in sPHENIX GitHub at line 170 of file PHTFileServer.cc
References _counter, _filename, _map, Close(), and Write().
|
inline |
get reference to counter
Definition at line 84 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 84 of file PHTFileServer.h
References _counter.
Referenced by doinstatescat(), and getqvec().
|
inline |
get const reference to counter
Definition at line 90 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 90 of file PHTFileServer.h
References _counter.
|
inlinestatic |
Definition at line 98 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 98 of file PHTFileServer.h
References _map.
Referenced by PHTFileServer::cd(), PHTFileServer::close(), PHTFileServer::flush(), PHTFileServer::open(), PHTFileServer::write(), and PHTFileServer::~PHTFileServer().
|
private |
call counter
Definition at line 108 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 108 of file PHTFileServer.h
Referenced by counter(), and ~SafeTFile().
|
private |
filename (for debugging)
Definition at line 105 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 105 of file PHTFileServer.h
Referenced by ~SafeTFile().
|
staticprivate |
filename/SafeTFile map
Definition at line 111 of file PHTFileServer.h.
View newest version in sPHENIX GitHub at line 111 of file PHTFileServer.h
Referenced by file_map(), and ~SafeTFile().