#include <TFileDirectory.h>
Public Member Functions | |
bool | cd () const |
std::string | fullPath () const |
return the full path of the stored histograms More... | |
TDirectory * | getBareDirectory (const std::string &subdir="") const |
template<typename T > | |
T * | getObject (const std::string &objname, const std::string &subdir="") |
template<typename T , typename... Args> | |
T * | make (const Args &...args) const |
make new ROOT object More... | |
TFileDirectory | mkdir (const std::string &dir, const std::string &descr="") |
create a new subdirectory More... | |
TFileDirectory () | |
virtual | ~TFileDirectory () |
descructor More... | |
Private Member Functions | |
TDirectory * | _cd (const std::string &subdir="", bool createNeededDirectories=true) const |
TObject * | _getObj (const std::string &objname, const std::string &subdir="") const |
TDirectory * | _mkdir (TDirectory *dirPtr, const std::string &dir, const std::string &description) const |
TFileDirectory (const std::string &dir, const std::string &descr, TFile *file, const std::string &path) | |
Private Attributes | |
std::string | descr_ |
std::string | dir_ |
TFile * | file_ |
std::string | path_ |
Friends | |
class | fwlite::TFileService |
class | TFileService |
Definition at line 24 of file TFileDirectory.h.
|
inline |
Definition at line 27 of file TFileDirectory.h.
|
inlinevirtual |
|
inlineprivate |
Definition at line 88 of file TFileDirectory.h.
|
private |
Definition at line 26 of file TFileDirectory.cc.
References gather_cfg::cout, dir, sistrip::dir_, edm::hlt::Exception, contentValuesFiles::fullPath, convertSQLiteXML::ok, and path_.
Referenced by make().
|
private |
Definition at line 134 of file TFileDirectory.cc.
References edm::hlt::Exception.
Referenced by getObject().
|
private |
Definition at line 97 of file TFileDirectory.cc.
References sistrip::dir_, edm::hlt::Exception, and path_.
bool TFileDirectory::cd | ( | ) | const |
Definition at line 19 of file TFileDirectory.cc.
Referenced by TFileService::cd(), dqm_interfaces.DQMcommunicator::get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_recursive(), and dqm_interfaces.DirWalkerFile::walk().
std::string TFileDirectory::fullPath | ( | ) | const |
return the full path of the stored histograms
Definition at line 156 of file TFileDirectory.cc.
References sistrip::dir_, path_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TFileService::fullPath().
TDirectory * TFileDirectory::getBareDirectory | ( | const std::string & | subdir = "" | ) | const |
Definition at line 13 of file TFileDirectory.cc.
Referenced by TFileService::getBareDirectory().
|
inline |
Definition at line 41 of file TFileDirectory.h.
References _getObj(), and edm::hlt::Exception.
Referenced by TFileService::getObject().
|
inline |
make new ROOT object
Definition at line 59 of file TFileDirectory.h.
References _cd(), ztail::d, and edmStreamStallGrapher::t.
Referenced by AnalysisTasksAnalyzerBTag::AnalysisTasksAnalyzerBTag(), AnalysisTasksAnalyzerJEC::AnalysisTasksAnalyzerJEC(), CentralityTableProducer::analyze(), BasicMuonAnalyzer::BasicMuonAnalyzer(), L1GctValidation::beginJob(), PrimaryVertexValidation::beginJob(), HistoParams< T >::beginRun(), HistoParams< TH2F >::beginRun(), HistoParams< TProfile2D >::beginRun(), BigEventsDebugger< T >::BigEventsDebugger(), BjetAnalysis::BjetAnalysis(), AlignmentMonitorSurvey::book(), VertexHistogramMaker::book(), DigiBXCorrHistogramMaker< T >::book(), BSvsPVHistogramMaker::book(), AlignmentMonitorMuonResiduals::book(), ConfigurableHisto::book(), SplittingConfigurableHisto::book(), AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), GenMuonRadCorrAnalyzer::plotEntryType::bookHistograms(), L1GtDataEmulAnalyzer::bookHistograms(), IsolatedGenParticles::BookHistograms(), IsolatedTracksNxN::BookHistograms(), AlignmentMonitorBase::bookProfile(), PatBTagAnalyzer::endJob(), EWKSystUnc::EWKSystUnc(), GctErrorAnalyzer::GctErrorAnalyzer(), GlbMuQualityCutsAnalysis::GlbMuQualityCutsAnalysis(), HCalSD::HCalSD(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), WMuNuValidator::init_histograms(), ExpressionHisto< T >::initialize(), main(), TFileService::make(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), PatMuonAnalyzer::PatMuonAnalyzer(), MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), GctErrorAnalyzer::plotEGErrors(), GctErrorAnalyzer::plotHFErrors(), GctErrorAnalyzer::plotJetErrors(), GctErrorAnalyzer::plotMissingEErrors(), MuonResidualsFitter::plotsimple(), GctErrorAnalyzer::plotTotalEErrors(), MuonResidualsFitter::plotweighted(), TrackerDpgAnalysis::TrackerDpgAnalysis(), TrackerGeometryCompare::TrackerGeometryCompare(), TSOSHistogramMaker::TSOSHistogramMaker(), ZHistogrammer::ZHistogrammer(), ZLONLOHistogrammer::ZLONLOHistogrammer(), ZMCHistogrammer::ZMCHistogrammer(), ZMuMu_efficiencyAnalyzer::ZMuMu_efficiencyAnalyzer(), ZMuMuAnalyzer_cynematics::ZMuMuAnalyzer_cynematics(), ZMuMuEfficiency::ZMuMuEfficiency(), ZMuPtScaleAnalyzer::ZMuPtScaleAnalyzer(), and zPdfUnc::zPdfUnc().
TFileDirectory TFileDirectory::mkdir | ( | const std::string & | dir, |
const std::string & | descr = "" |
||
) |
create a new subdirectory
Definition at line 162 of file TFileDirectory.cc.
References contentValuesFiles::fullPath.
Referenced by APVCyclePhaseMonitor::analyze(), BigEventsDebugger< T >::analyze(), SiStripSpyDisplayModule::analyze(), fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), RunHistogramManager::beginRun(), DigiInvestigatorHistogramMaker::book(), DigiVtxPosCorrHistogramMaker::book(), DigiVertexCorrHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), AlignmentMonitorBase::directory(), VariablePlotter::fill(), GctErrorAnalyzer::GctErrorAnalyzer(), main(), TFileService::mkdir(), and batchmanager.BatchManager::PrepareJob().
|
friend |
Definition at line 93 of file TFileDirectory.h.
|
friend |
Definition at line 92 of file TFileDirectory.h.
|
private |
Definition at line 95 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 95 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 94 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName(), and TFileService::TFileService().
|
private |
Definition at line 95 of file TFileDirectory.h.
Referenced by valtools.comparison::comparisonOnWebSite(), valtools.comparison::comparisonUrl(), and valtools.comparison::submit().