Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
FWLite
interface
TFileService.h
Go to the documentation of this file.
1
#ifndef FWLite_TFileService_h
2
#define FWLite_TFileService_h
3
/* \class fwlite::TFileService
4
*
5
* \author Benedikt Hegner, CERN
6
*
7
*/
8
#include "
CommonTools/Utils/interface/TFileDirectory.h
"
9
10
namespace
fwlite
{
11
12
class
TFileService
:
public
TFileDirectory
{
13
public
:
15
TFileService
(
const
std::string
&
fileName
);
16
18
TFileService
(TFile * aFile);
19
21
~TFileService
()
override
;
22
24
TFile &
file
()
const
{
return
*
file_
; }
25
26
private
:
28
TFile *
file_
;
29
std::string
fileName_
;
30
31
};
32
33
}
34
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
fwlite::TFileService::file
TFile & file() const
return opened TFile
Definition:
TFileService.h:24
fwlite::TFileService::~TFileService
~TFileService() override
destructor
Definition:
TFileService.cc:22
fwlite::TFileService
Definition:
TFileService.h:12
fwlite::TFileService::file_
TFile * file_
pointer to opened TFile
Definition:
TFileService.h:28
fwlite::TFileService::TFileService
TFileService(const std::string &fileName)
constructor
Definition:
TFileService.cc:7
fwlite::TFileService::fileName_
std::string fileName_
Definition:
TFileService.h:29
TFileDirectory.h
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
TFileDirectory
Definition:
TFileDirectory.h:24
fwlite
Definition:
TFileDirectory.h:16
Generated for CMSSW Reference Manual by
1.8.11