#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 26 of file TFileDirectory.h.
|
inlinevirtual |
|
inlineprivate |
Definition at line 81 of file TFileDirectory.h.
|
private |
Definition at line 17 of file TFileDirectory.cc.
References gather_cfg::cout, DeadROC_duringRun::dir, sistrip::dir_, Exception, contentValuesFiles::fullPath, convertSQLiteXML::ok, and path_.
Referenced by make().
|
private |
Definition at line 97 of file TFileDirectory.cc.
References Exception.
Referenced by getObject().
|
private |
Definition at line 69 of file TFileDirectory.cc.
References sistrip::dir_, Exception, and path_.
bool TFileDirectory::cd | ( | ) | const |
Definition at line 12 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 110 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 10 of file TFileDirectory.cc.
Referenced by TFileService::getBareDirectory().
|
inline |
Definition at line 40 of file TFileDirectory.h.
References _getObj(), and Exception.
Referenced by TFileService::getObject().
|
inline |
make new ROOT object
Definition at line 53 of file TFileDirectory.h.
References _cd(), ztail::d, cms::cuda::func, and submitPVValidationJobs::t.
Referenced by AnalysisTasksAnalyzerBTag::AnalysisTasksAnalyzerBTag(), AnalysisTasksAnalyzerJEC::AnalysisTasksAnalyzerJEC(), l1t::L1TStage2CaloAnalyzer::analyze(), CentralityTableProducer::analyze(), cms::SiPixelCondObjOfflineReader::analyze(), cms::SiPixelCondObjReader::analyze(), cms::SiPixelCondObjForHLTReader::analyze(), cms::SiPixelCondObjAllPayloadsReader::analyze(), BasicMuonAnalyzer::BasicMuonAnalyzer(), HFPMTHitAnalyzer::beginJob(), L1GctValidation::beginJob(), l1t::L1TGlobalAnalyzer::beginJob(), NearbyPixelClustersAnalyzer::beginJob(), PrimaryVertexValidation::beginJob(), SplitVertexResolution::beginJob(), HistoParams< T >::beginRun(), HistoParams< TH2F >::beginRun(), HistoParams< TProfile2D >::beginRun(), BigEventsDebugger< T >::BigEventsDebugger(), AlignmentMonitorSurvey::book(), VertexHistogramMaker::book(), DigiBXCorrHistogramMaker< T >::book(), BSvsPVHistogramMaker::book(), AlignmentMonitorMuonResiduals::book(), ConfigurableHisto::book(), SplittingConfigurableHisto::book(), AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), TrackerSectorStruct::bookCorrHists(), tmtt::Histos::bookEtaPhiSectors(), DiLeptonHelp::PlotsVsKinematics::bookFromPSet(), StudyCaloGen::bookHistograms(), L1GtDataEmulAnalyzer::bookHistograms(), IsolatedGenParticles::bookHistograms(), IsolatedTracksNxN::bookHistograms(), tmtt::Histos::bookInputData(), DiLeptonHelp::PlotsVsKinematics::bookPlots(), AlignmentMonitorBase::bookProfile(), SplitVertexResolution::bookResidualsHistogram(), PrimaryVertexValidation::bookResidualsHistogram(), DMRChecker::bookResidualsHistogram(), ApeEstimator::bookSectorHistsForAnalyzerMode(), ApeEstimator::bookSectorHistsForApeCalculation(), DMRChecker::bookSplitDMRHistograms(), tmtt::Histos::bookTrackCands(), tmtt::Histos::bookTrackFitting(), ApeEstimator::bookTrackHists(), PrimaryVertexValidation::bookVertexHistograms(), ECalSD::ECalSD(), PatBTagAnalyzer::endJob(), TrackerTreeGenerator::endJob(), PrimaryVertexValidation::endJob(), SplitVertexResolution::endJob(), DMRChecker::endJob(), GctErrorAnalyzer::GctErrorAnalyzer(), HCalSD::HCalSD(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), ExpressionHisto< T >::initialize(), main(), TFileService::make(), SiStripSpyDisplayModule::MakeDigiHist_(), tmtt::Histos::makeEfficiencyPlot(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), PatMuonAnalyzer::PatMuonAnalyzer(), MuonResiduals1DOFFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), GctErrorAnalyzer::plotEGErrors(), GctErrorAnalyzer::plotHFErrors(), GctErrorAnalyzer::plotJetErrors(), GctErrorAnalyzer::plotMissingEErrors(), MuonResidualsFitter::plotsimple(), GctErrorAnalyzer::plotTotalEErrors(), MuonResidualsFitter::plotweighted(), StubsSimHitsMatcher::StubsSimHitsMatcher(), TrackerDpgAnalysis::TrackerDpgAnalysis(), tmtt::Histos::trackerGeometryAnalysis(), TrackerGeometryCompare::TrackerGeometryCompare(), and TSOSHistogramMaker::TSOSHistogramMaker().
TFileDirectory TFileDirectory::mkdir | ( | const std::string & | dir, |
const std::string & | descr = "" |
||
) |
create a new subdirectory
Definition at line 112 of file TFileDirectory.cc.
References contentValuesFiles::fullPath.
Referenced by l1t::L1TStage2CaloAnalyzer::analyze(), APVCyclePhaseMonitor::analyze(), BigEventsDebugger< T >::analyze(), SiStripSpyDisplayModule::analyze(), fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), DMRChecker::beginJob(), RunHistogramManager::beginRun(), DigiInvestigatorHistogramMaker::book(), DigiVtxPosCorrHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), DigiVertexCorrHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), ApeEstimator::bookSectorHistsForApeCalculation(), AlignmentMonitorBase::directory(), DMRChecker::endJob(), VariablePlotter::fill(), GctErrorAnalyzer::GctErrorAnalyzer(), main(), TFileService::mkdir(), batchmanager.BatchManager::PrepareJob(), and StubsSimHitsMatcher::StubsSimHitsMatcher().
|
friend |
Definition at line 84 of file TFileDirectory.h.
|
friend |
Definition at line 83 of file TFileDirectory.h.
|
private |
Definition at line 86 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 86 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 85 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName(), and TFileService::TFileService().
|
private |
Definition at line 86 of file TFileDirectory.h.