#include <ROOTFileBase.h>
Public Member Functions | |
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 | CleanUp () |
virtual void | CreateTree ()=0 |
void | Init () |
Protected Attributes | |
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 26 of file ROOTFileBase.h.
HCAL_HLX::ROOTFileBase::ROOTFileBase | ( | ) |
Definition at line 21 of file ROOTFileBase.cc.
:filePrefix_("CMS_LUMI_RAW"), dirName_("./"), bEtSumOnly_(false), date_(""), fileType_("RAW") {}
HCAL_HLX::ROOTFileBase::~ROOTFileBase | ( | ) | [virtual] |
Definition at line 28 of file ROOTFileBase.cc.
{}
void HCAL_HLX::ROOTFileBase::CleanUp | ( | ) | [protected] |
Definition at line 35 of file ROOTFileBase.cc.
{ delete lumiSection_; }
virtual void HCAL_HLX::ROOTFileBase::CreateTree | ( | ) | [protected, pure virtual] |
Implemented in HCAL_HLX::ROOTFileReader, and HCAL_HLX::ROOTFileWriter.
std::string HCAL_HLX::ROOTFileBase::GetDir | ( | ) | [inline] |
std::string HCAL_HLX::ROOTFileBase::GetFileName | ( | ) | [inline] |
void HCAL_HLX::ROOTFileBase::Init | ( | void | ) | [protected] |
Definition at line 30 of file ROOTFileBase.cc.
Referenced by HCAL_HLX::ROOTFileReader::ROOTFileReader(), and HCAL_HLX::ROOTFileWriter::ROOTFileWriter().
{ lumiSection_ = new HCAL_HLX::LUMI_SECTION; }
void HCAL_HLX::ROOTFileBase::SetDate | ( | const std::string & | date | ) |
Definition at line 50 of file ROOTFileBase.cc.
{ date_ = date; }
void HCAL_HLX::ROOTFileBase::SetDir | ( | const std::string & | dir | ) |
Definition at line 40 of file ROOTFileBase.cc.
References TrackerOfflineValidation_Dqm_cff::dirName.
void HCAL_HLX::ROOTFileBase::SetEtSumOnly | ( | bool | bEtSumOnly | ) |
Definition at line 76 of file ROOTFileBase.cc.
{ bEtSumOnly_ = bEtSumOnly; }
void HCAL_HLX::ROOTFileBase::SetFileName | ( | unsigned int | runNumber, |
unsigned int | sectionNumber | ||
) |
Definition at line 55 of file ROOTFileBase.cc.
References convertXMLtoSQLite_cfg::fileName.
void HCAL_HLX::ROOTFileBase::SetFileName | ( | const HCAL_HLX::LUMI_SECTION & | lumiSection | ) |
Definition at line 70 of file ROOTFileBase.cc.
References HCAL_HLX::LUMI_SECTION::hdr, HCAL_HLX::LUMI_SECTION_HEADER::runNumber, and HCAL_HLX::LUMI_SECTION_HEADER::sectionNumber.
{ SetFileName( lumiSection.hdr.runNumber, lumiSection.hdr.sectionNumber); }
void HCAL_HLX::ROOTFileBase::SetFileType | ( | const std::string & | type | ) |
Definition at line 45 of file ROOTFileBase.cc.
{ fileType_ = fileType; }
bool HCAL_HLX::ROOTFileBase::bEtSumOnly_ [protected] |
Definition at line 69 of file ROOTFileBase.h.
std::string HCAL_HLX::ROOTFileBase::date_ [protected] |
Definition at line 70 of file ROOTFileBase.h.
HCAL_HLX::LUMI_DETAIL* HCAL_HLX::ROOTFileBase::Detail_ [protected] |
Definition at line 59 of file ROOTFileBase.h.
std::string HCAL_HLX::ROOTFileBase::dirName_ [protected] |
Definition at line 67 of file ROOTFileBase.h.
Referenced by GetDir().
HCAL_HLX::ET_SUM_SECTION* HCAL_HLX::ROOTFileBase::EtSumPtr_[36] [protected] |
Definition at line 61 of file ROOTFileBase.h.
std::string HCAL_HLX::ROOTFileBase::fileName_ [protected] |
Definition at line 66 of file ROOTFileBase.h.
Referenced by GetFileName().
std::string HCAL_HLX::ROOTFileBase::filePrefix_ [protected] |
Definition at line 65 of file ROOTFileBase.h.
std::string HCAL_HLX::ROOTFileBase::fileType_ [protected] |
Definition at line 71 of file ROOTFileBase.h.
Definition at line 57 of file ROOTFileBase.h.
HCAL_HLX::LHC_SECTION* HCAL_HLX::ROOTFileBase::LHCPtr_[36] [protected] |
Definition at line 63 of file ROOTFileBase.h.
Definition at line 55 of file ROOTFileBase.h.
HCAL_HLX::OCCUPANCY_SECTION* HCAL_HLX::ROOTFileBase::OccupancyPtr_[36] [protected] |
Definition at line 62 of file ROOTFileBase.h.
HCAL_HLX::LUMI_SUMMARY* HCAL_HLX::ROOTFileBase::Summary_ [protected] |
Definition at line 58 of file ROOTFileBase.h.