#include <ROOTFileWriter.h>
Public Member Functions | |
bool | CloseFile () |
void | FillTree (const HCAL_HLX::LUMI_SECTION &localSection) |
bool | OpenFile (const HCAL_HLX::LUMI_SECTION &lumiSection) |
bool | OpenFile (const unsigned int runNumber, const unsigned int sectionNumber) |
ROOTFileWriter () | |
void | SetMerge (const bool bMerge) |
~ROOTFileWriter () | |
Public Member Functions inherited from HCAL_HLX::ROOTFileBase | |
std::string | GetDir () |
std::string | GetFileName () |
ROOTFileBase () | |
void | SetDate (const std::string &date) |
void | SetDir (const std::string &dir) |
void | SetEtSumOnly (bool bEtSumOnly) |
void | SetFileName (const HCAL_HLX::LUMI_SECTION &lumiSection) |
void | SetFileName (unsigned int runNumber, unsigned int sectionNumber) |
void | SetFileType (const std::string &type) |
virtual | ~ROOTFileBase () |
Protected Member Functions | |
void | CreateTree () |
void | InsertInformation () |
template<class T > | |
void | MakeBranch (const T &in, T **out, int HLXNum) |
Protected Member Functions inherited from HCAL_HLX::ROOTFileBase | |
void | CleanUp () |
void | Init () |
Protected Attributes | |
bool | bMerge_ |
TFile * | m_file |
TTree * | m_tree |
Protected Attributes inherited from HCAL_HLX::ROOTFileBase | |
bool | bEtSumOnly_ |
std::string | date_ |
HCAL_HLX::LUMI_DETAIL * | Detail_ |
std::string | dirName_ |
HCAL_HLX::ET_SUM_SECTION * | EtSumPtr_ [36] |
std::string | fileName_ |
std::string | filePrefix_ |
std::string | fileType_ |
HCAL_HLX::LUMI_SECTION_HEADER * | Header_ |
HCAL_HLX::LHC_SECTION * | LHCPtr_ [36] |
HCAL_HLX::LUMI_SECTION * | lumiSection_ |
HCAL_HLX::OCCUPANCY_SECTION * | OccupancyPtr_ [36] |
HCAL_HLX::LUMI_SUMMARY * | Summary_ |
Definition at line 22 of file ROOTFileWriter.h.
HCAL_HLX::ROOTFileWriter::ROOTFileWriter | ( | ) |
HCAL_HLX::ROOTFileWriter::~ROOTFileWriter | ( | ) |
Definition at line 26 of file ROOTFileWriter.cc.
bool HCAL_HLX::ROOTFileWriter::CloseFile | ( | ) |
|
protectedvirtual |
Implements HCAL_HLX::ROOTFileBase.
Definition at line 53 of file ROOTFileWriter.cc.
void HCAL_HLX::ROOTFileWriter::FillTree | ( | const HCAL_HLX::LUMI_SECTION & | localSection | ) |
Definition at line 106 of file ROOTFileWriter.cc.
|
protected |
|
protected |
Definition at line 83 of file ROOTFileWriter.cc.
References className(), mergeVDriftHistosByStation::name, and dbtoconf::out.
bool HCAL_HLX::ROOTFileWriter::OpenFile | ( | const HCAL_HLX::LUMI_SECTION & | lumiSection | ) |
Definition at line 31 of file ROOTFileWriter.cc.
References HCAL_HLX::LUMI_SECTION::hdr, HCAL_HLX::LUMI_SECTION_HEADER::runNumber, and HCAL_HLX::LUMI_SECTION_HEADER::sectionNumber.
bool HCAL_HLX::ROOTFileWriter::OpenFile | ( | const unsigned int | runNumber, |
const unsigned int | sectionNumber | ||
) |
Definition at line 37 of file ROOTFileWriter.cc.
|
inline |
Definition at line 36 of file ROOTFileWriter.h.
References bMerge_.
Referenced by HCAL_HLX::ROOTFileMerger::ROOTFileMerger().
|
protected |
Definition at line 49 of file ROOTFileWriter.h.
Referenced by SetMerge().
|
protected |
Definition at line 46 of file ROOTFileWriter.h.
|
protected |
Definition at line 47 of file ROOTFileWriter.h.