#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 |
descructor
Definition at line 31 of file TFileDirectory.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
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_, Exception, convertSQLiteXML::ok, and path_.
|
private |
Definition at line 134 of file TFileDirectory.cc.
References Exception, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 97 of file TFileDirectory.cc.
References sistrip::dir_, Exception, patRefSel_triggerMatching_cfi::matches, and path_.
bool TFileDirectory::cd | ( | ) | const |
Definition at line 19 of file TFileDirectory.cc.
Referenced by 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.
TDirectory * TFileDirectory::getBareDirectory | ( | const std::string & | subdir = "" | ) | const |
Definition at line 13 of file TFileDirectory.cc.
|
inline |
Definition at line 41 of file TFileDirectory.h.
References Exception.
|
inline |
make new ROOT object
Definition at line 59 of file TFileDirectory.h.
References fftjetcommon_cfi::Class, edmIntegrityCheck::d, heppy_report::description, dir, RecoEcal_EventContent_cff::func, eostools::mkdir(), AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by AnalysisTasksAnalyzerBTag::AnalysisTasksAnalyzerBTag(), AnalysisTasksAnalyzerJEC::AnalysisTasksAnalyzerJEC(), l1t::L1TStage2CaloAnalyzer::analyze(), CentralityTableProducer::analyze(), SiStripBaselineAnalyzer::analyze(), BasicMuonAnalyzer::BasicMuonAnalyzer(), L1GctValidation::beginJob(), l1t::L1TGlobalAnalyzer::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(), TrackerSectorStruct::bookCorrHists(), L1GtDataEmulAnalyzer::bookHistograms(), IsolatedGenParticles::BookHistograms(), IsolatedTracksNxN::BookHistograms(), AlignmentMonitorBase::bookProfile(), ApeEstimator::bookSectorHistsForAnalyzerMode(), ApeEstimator::bookSectorHistsForApeCalculation(), ApeEstimator::bookTrackHists(), PrimaryVertexValidation::bookVertexHistograms(), PatBTagAnalyzer::endJob(), TrackerTreeGenerator::endJob(), EWKSystUnc::EWKSystUnc(), GctErrorAnalyzer::GctErrorAnalyzer(), GlbMuQualityCutsAnalysis::GlbMuQualityCutsAnalysis(), HCalSD::HCalSD(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), WMuNuValidator::init_histograms(), ExpressionHisto< T >::initialize(), main(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), PatMuonAnalyzer::PatMuonAnalyzer(), MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals6DOFFitter::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.
Referenced by l1t::L1TStage2CaloAnalyzer::analyze(), SiStripSpyDisplayModule::analyze(), fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), RunHistogramManager::beginRun(), DigiInvestigatorHistogramMaker::book(), DigiVtxPosCorrHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), DigiVertexCorrHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), ApeEstimator::bookSectorHistsForApeCalculation(), 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().