#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 > | |
T * | make () const |
make new ROOT object More... | |
template<typename T , typename Arg1 > | |
T * | make (const Arg1 &a1) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 > | |
T * | make (const Arg1 &a1, const Arg2 &a2) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 , typename Arg11 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10, const Arg11 &a11) const |
make new ROOT object More... | |
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 , typename Arg10 , typename Arg11 , typename Arg12 > | |
T * | make (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const Arg4 &a4, const Arg5 &a5, const Arg6 &a6, const Arg7 &a7, const Arg8 &a8, const Arg9 &a9, const Arg10 &a10, const Arg11 &a11, const Arg12 &a12) const |
make new ROOT object More... | |
TFileDirectory | mkdir (const std::string &dir, const std::string &descr="") |
create a new subdirectory More... | |
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.
|
inlinevirtual |
|
inlineprivate |
Definition at line 227 of file TFileDirectory.h.
|
private |
Definition at line 26 of file TFileDirectory.cc.
References gather_cfg::cout, dir, sistrip::dir_, edm::hlt::Exception, 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.
std::string TFileDirectory::fullPath | ( | ) | const |
return the full path of the stored histograms
Definition at line 156 of file TFileDirectory.cc.
References sistrip::dir_, and path_.
TDirectory * TFileDirectory::getBareDirectory | ( | const std::string & | subdir = "" | ) | const |
Definition at line 13 of file TFileDirectory.cc.
|
inline |
Definition at line 37 of file TFileDirectory.h.
References _getObj(), and edm::hlt::Exception.
|
inline |
make new ROOT object
Definition at line 55 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
Referenced by AlCaHOCalibProducer::AlCaHOCalibProducer(), SiStripGainFromCalibTree::algoBeginJob(), AlignmentMuonHIPTrajectorySelector::AlignmentMuonHIPTrajectorySelector(), MuonAlignmentAnalyzer::analyze(), CentralityTableProducer::analyze(), EcalMipGraphs::analyze(), EcalDisplaysByEvent::analyze(), APVShotsAnalyzer::APVShotsAnalyzer(), tnp::BaseTreeFiller::BaseTreeFiller(), BasicMuonAnalyzer::BasicMuonAnalyzer(), HypothesisAnalyzer::beginJob(), PatZjetsElectronAnalyzer::beginJob(), PatZjetsJetAnalyzer::beginJob(), PatTauAnalyzer::beginJob(), PatBasicAnalyzer::beginJob(), PatTopSelectionAnalyzer::beginJob(), PatMCMatching::beginJob(), PatMCMatchingExtended::beginJob(), myRawAna::beginJob(), PatBJetTagAnalyzer::beginJob(), PatTriggerTagAndProbe::beginJob(), PatTriggerAnalyzer::beginJob(), PatBTagAnalyzer::beginJob(), PatTrackAnalyzer::beginJob(), WMuNuSelector::beginJob(), PatVertexAnalyzer::beginJob(), PhotonsWithConversionsAnalyzer::beginJob(), MCPhotonAnalyzer::beginJob(), JetCorrectorDemo::beginJob(), ShallowTree::beginJob(), FactorizedJetCorrectorDemo::beginJob(), CalibAnalyzer< Ref, Rec, Alg >::beginJob(), PatBJetTrackAnalyzer::beginJob(), ExampleMuonAnalyzer::beginJob(), PatBJetVertexAnalyzer::beginJob(), SimplePhotonAnalyzer::beginJob(), ResolutionCreator::beginJob(), L1GctValidation::beginJob(), MuonAlignmentAnalyzer::beginJob(), myJetAna::beginJob(), HitEff::beginJob(), ContainmentCorrectionAnalyzer::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), L1TauAnalyzer::beginJob(), CosmicSplitterValidation::beginJob(), ValidIsoTrkCalib::beginJob(), ErsatzMEt::beginJob(), IsolatedTracksHcalScale::beginJob(), HistoParams< T >::beginRun(), HistoParams< TH2F >::beginRun(), HistoParams< TProfile2D >::beginRun(), BjetAnalysis::BjetAnalysis(), AlignmentMonitorSurvey::book(), Comparison< Ref, RefQualifier, Rec, RecQualifier, Alg >::book(), MaterialBudgetCastorHistos::book(), MaterialBudgetHcalHistos::book(), AlignmentMonitorMuonResiduals::book(), MaterialBudgetForward::book(), ConfigurableHisto::book(), SplittingConfigurableHisto::book(), AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), L1GtDataEmulAnalyzer::bookHistograms(), IsolatedTracksNxN::BookHistograms(), AlignmentMonitorBase::bookProfile(), SVTagInfoValidationAnalyzer::bookRecoToSim(), SVTagInfoValidationAnalyzer::bookSimToReco(), IsolatedTracksCone::BuildTree(), calcTopMass::calcTopMass(), CalibratableTest::CalibratableTest(), CSCPairResidualsConstraint::configure(), CSCOverlapsAlignmentAlgorithm::CSCOverlapsAlignmentAlgorithm(), CSCOverlapsBeamSplashCut::CSCOverlapsBeamSplashCut(), DreamSD::DreamSD(), EcalDisplaysByEvent::EcalDisplaysByEvent(), EcalMipGraphs::EcalMipGraphs(), PatBTagAnalyzer::endJob(), JetCorrectorDemo::endJob(), FactorizedJetCorrectorDemo::endJob(), TrackerOfflineValidation::endJob(), TkLasBeamFitter::endRun(), EWKSystUnc::EWKSystUnc(), G4StepStatistics::G4StepStatistics(), gamma_radiative_analyzer::gamma_radiative_analyzer(), GctErrorAnalyzer::GctErrorAnalyzer(), GlbMuQualityCutsAnalysis::GlbMuQualityCutsAnalysis(), HCalSD::HCalSD(), HcalTB02Histo::HcalTB02Histo(), HcalTB04Histo::HcalTB04Histo(), HcalTB06Histo::HcalTB06Histo(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), HLTCSCOverlapFilter::HLTCSCOverlapFilter(), HOCalibAnalyzer::HOCalibAnalyzer(), HSCPValidator::HSCPValidator(), HcalForwardAnalysis::init(), WMuNuValidator::init_histograms(), EcalMipGraphs::initHists(), EcalDisplaysByEvent::initHists(), HltComparator::initialise(), ExpressionHisto< T >::initialize(), L1RCTRelValAnalyzer::L1RCTRelValAnalyzer(), L1RCTTestAnalyzer::L1RCTTestAnalyzer(), L25TauAnalyzer::L25TauAnalyzer(), LHEAnalyzer::LHEAnalyzer(), main(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripHitEffFromCalibTree::makeHotColdMaps(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), SiStripHitEffFromCalibTree::makeSummary(), MuTriggerAnalyzer::MuTriggerAnalyzer(), PatJetAnalyzer::PatJetAnalyzer(), PatZToMuMuAnalyzer::PatZToMuMuAnalyzer(), MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), CSCAlignmentCorrections::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals6DOFFitter::plot(), GctErrorAnalyzer::plotEGErrors(), GctErrorAnalyzer::plotHFErrors(), GctErrorAnalyzer::plotJetErrors(), GctErrorAnalyzer::plotMissingEErrors(), MuonResidualsFitter::plotsimple(), GctErrorAnalyzer::plotTotalEErrors(), MuonResidualsFitter::plotweighted(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), PatBTagCommonHistos::Set(), SiStripQualityHistory::SiStripQualityHistory(), SiStripGainFromCalibTree::storeOnTree(), SVTagInfoValidationAnalyzer::SVTagInfoValidationAnalyzer(), testAnalyzer::testAnalyzer(), TopElecAnalyzer::TopElecAnalyzer(), TopGenEventAnalyzer::TopGenEventAnalyzer(), TopJetAnalyzer::TopJetAnalyzer(), TopMuonAnalyzer::TopMuonAnalyzer(), TopTauAnalyzer::TopTauAnalyzer(), TrackerDpgAnalysis::TrackerDpgAnalysis(), MuonMillepedeAlgorithm::updateInfo(), ZHistogrammer::ZHistogrammer(), ZLONLOHistogrammer::ZLONLOHistogrammer(), ZMassHistogrammer::ZMassHistogrammer(), ZMCHistogrammer::ZMCHistogrammer(), ZMuMu_efficiencyAnalyzer::ZMuMu_efficiencyAnalyzer(), ZMuMu_MCanalyzer::ZMuMu_MCanalyzer(), ZMuMu_Radiative_analyzer::ZMuMu_Radiative_analyzer(), ZMuMu_vtxAnalyzer::ZMuMu_vtxAnalyzer(), ZMuMuAnalyzer::ZMuMuAnalyzer(), ZMuMuAnalyzer_cynematics::ZMuMuAnalyzer_cynematics(), ZMuMuEfficiency::ZMuMuEfficiency(), ZMuMuIsolationAnalyzer::ZMuMuIsolationAnalyzer(), ZMuMuPerformances::ZMuMuPerformances(), ZMuMuSaMassHistogram::ZMuMuSaMassHistogram(), ZMuPtScaleAnalyzer::ZMuPtScaleAnalyzer(), and zPdfUnc::zPdfUnc().
|
inline |
make new ROOT object
Definition at line 65 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 75 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 85 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 95 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 106 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 118 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 130 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 142 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 155 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 169 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 183 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
|
inline |
make new ROOT object
Definition at line 197 of file TFileDirectory.h.
References _cd(), and matplotRender::t.
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 AlignmentMonitorBase::AlignmentMonitorBase(), APVCyclePhaseMonitor::analyze(), CentralityTableProducer::analyze(), SiStripSpyDisplayModule::analyze(), fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), L1GctValidation::beginJob(), L1TauAnalyzer::beginJob(), ValidIsoTrkCalib::beginJob(), APVCyclePhaseMonitor::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), RunHistogramManager::beginRun(), BjetAnalysis::BjetAnalysis(), L1GtDataEmulAnalyzer::bookHistograms(), IsolatedTracksNxN::BookHistograms(), CosmicGenFilterHelix::createHistsEnd(), CosmicGenFilterHelix::createHistsStart(), AlignmentMonitorBase::directory(), TrackerOfflineValidation::DirectoryWrapper::DirectoryWrapper(), PatBTagAnalyzer::endJob(), EWKSystUnc::EWKSystUnc(), VariablePlotter::fill(), GctErrorAnalyzer::GctErrorAnalyzer(), GlbMuQualityCutsAnalysis::GlbMuQualityCutsAnalysis(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), WMuNuValidator::init_histograms(), main(), MuonAlignmentFromReference::terminate(), TrackerDpgAnalysis::TrackerDpgAnalysis(), ZHistogrammer::ZHistogrammer(), ZLONLOHistogrammer::ZLONLOHistogrammer(), ZMCHistogrammer::ZMCHistogrammer(), ZMuMu_efficiencyAnalyzer::ZMuMu_efficiencyAnalyzer(), ZMuMuAnalyzer_cynematics::ZMuMuAnalyzer_cynematics(), ZMuMuEfficiency::ZMuMuEfficiency(), ZMuPtScaleAnalyzer::ZMuPtScaleAnalyzer(), and zPdfUnc::zPdfUnc().
|
friend |
Definition at line 232 of file TFileDirectory.h.
|
friend |
Definition at line 231 of file TFileDirectory.h.
|
private |
Definition at line 234 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 234 of file TFileDirectory.h.
Referenced by TFileService::setDirectoryName().
|
private |
Definition at line 233 of file TFileDirectory.h.
|
private |
Definition at line 234 of file TFileDirectory.h.
Referenced by valtools.comparison::comparisonOnWebSite(), valtools.comparison::comparisonUrl(), and valtools.comparison::submit().