CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
TFileService Class Reference

#include <TFileService.h>

Public Member Functions

void afterBeginJob ()
 Hook for writing info into JR. More...
 
bool cd () const
 
TFile & file () const
 return opened TFile More...
 
std::string fullPath () const
 return the full path of the stored histograms More...
 
TDirectory * getBareDirectory (const std::string &subdir="") const
 
template<typename T >
TgetObject (const std::string &objname, const std::string &subdir="")
 
template<typename T , typename... Args>
Tmake (const Args &...args) const
 make new ROOT object More...
 
TFileDirectory mkdir (const std::string &dir, const std::string &descr="")
 create a new subdirectory More...
 
TFileDirectorytFileDirectory ()
 
 TFileService (const edm::ParameterSet &, edm::ActivityRegistry &)
 constructor More...
 
 ~TFileService ()
 destructor More...
 

Static Public Attributes

static const std::string kSharedResource = "TFileService"
 

Private Member Functions

void postModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 
void postModuleGlobal (edm::GlobalContext const &, edm::ModuleCallingContext const &)
 
void preModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 
void preModuleGlobal (edm::GlobalContext const &, edm::ModuleCallingContext const &)
 
void setDirectoryName (const edm::ModuleDescription &desc)
 

Private Attributes

bool closeFileFast_
 
TFile * file_
 pointer to opened TFile More...
 
std::string fileName_
 
bool fileNameRecorded_
 

Static Private Attributes

static thread_local TFileDirectory tFileDirectory_
 

Detailed Description

Definition at line 30 of file TFileService.h.

Constructor & Destructor Documentation

◆ TFileService()

TFileService::TFileService ( const edm::ParameterSet cfg,
edm::ActivityRegistry r 
)

constructor

Definition at line 17 of file TFileService.cc.

References afterBeginJob(), file_, TFileDirectory::file_, fileName_, postModuleEvent(), postModuleGlobal(), preModuleEvent(), preModuleGlobal(), alignCSCRings::r, setDirectoryName(), and tFileDirectory_.

18  : file_(nullptr),
19  fileName_(cfg.getParameter<std::string>("fileName")),
20  fileNameRecorded_(false),
21  closeFileFast_(cfg.getUntrackedParameter<bool>("closeFileFast", false)) {
22  tFileDirectory_ = TFileDirectory("", "", TFile::Open(fileName_.c_str(), "RECREATE"), "");
24 
25  // activities to monitor in order to set the proper directory
26  r.watchPreModuleConstruction(this, &TFileService::setDirectoryName);
27  r.watchPreModuleBeginJob(this, &TFileService::setDirectoryName);
28  r.watchPreModuleEndJob(this, &TFileService::setDirectoryName);
29  r.watchPreModuleEvent(this, &TFileService::preModuleEvent);
30  r.watchPostModuleEvent(this, &TFileService::postModuleEvent);
31 
32  r.watchPreModuleGlobalBeginRun(this, &TFileService::preModuleGlobal);
33  r.watchPostModuleGlobalBeginRun(this, &TFileService::postModuleGlobal);
34  r.watchPreModuleGlobalEndRun(this, &TFileService::preModuleGlobal);
35  r.watchPostModuleGlobalEndRun(this, &TFileService::postModuleGlobal);
36 
37  r.watchPreModuleGlobalBeginLumi(this, &TFileService::preModuleGlobal);
38  r.watchPostModuleGlobalBeginLumi(this, &TFileService::postModuleGlobal);
39  r.watchPreModuleGlobalEndLumi(this, &TFileService::preModuleGlobal);
40  r.watchPostModuleGlobalEndLumi(this, &TFileService::postModuleGlobal);
41 
42  // delay writing into JobReport after BeginJob
43  r.watchPostBeginJob(this, &TFileService::afterBeginJob);
44 }
void postModuleGlobal(edm::GlobalContext const &, edm::ModuleCallingContext const &)
Definition: TFileService.cc:75
TFile * file_
pointer to opened TFile
Definition: TFileService.h:81
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
std::string fileName_
Definition: TFileService.h:82
void setDirectoryName(const edm::ModuleDescription &desc)
Definition: TFileService.cc:54
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: TFileService.cc:64
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: TFileService.cc:60
bool fileNameRecorded_
Definition: TFileService.h:83
bool closeFileFast_
Definition: TFileService.h:84
void afterBeginJob()
Hook for writing info into JR.
Definition: TFileService.cc:82
void preModuleGlobal(edm::GlobalContext const &, edm::ModuleCallingContext const &)
Definition: TFileService.cc:71

◆ ~TFileService()

TFileService::~TFileService ( )

destructor

Definition at line 46 of file TFileService.cc.

References closeFileFast_, and file_.

46  {
47  file_->Write();
48  if (closeFileFast_)
49  gROOT->GetListOfFiles()->Remove(file_);
50  file_->Close();
51  delete file_;
52 }
TFile * file_
pointer to opened TFile
Definition: TFileService.h:81
bool closeFileFast_
Definition: TFileService.h:84

Member Function Documentation

◆ afterBeginJob()

void TFileService::afterBeginJob ( )

Hook for writing info into JR.

Definition at line 82 of file TFileService.cc.

References Exception, fileName_, fileNameRecorded_, newFWLiteAna::fullName, edm::JobReport::reportAnalysisFile(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by TFileService().

82  {
83  if (!fileName_.empty()) {
84  if (!fileNameRecorded_) {
85  std::string fullName(1024, '\0');
86 
87  while (getcwd(&fullName[0], fullName.size()) == nullptr) {
88  if (errno != ERANGE) {
89  throw cms::Exception("TFileService")
90  << "Failed to get current directory (errno=" << errno << "): " << strerror(errno);
91  }
92  fullName.resize(fullName.size() * 2, '\0');
93  }
94  fullName.resize(fullName.find('\0'));
95 
96  fullName += "/" + fileName_;
97 
98  std::map<std::string, std::string> fileData;
99  fileData.insert(std::make_pair("Source", "TFileService"));
100 
102  reportSvc->reportAnalysisFile(fullName, fileData);
103  fileNameRecorded_ = true;
104  }
105  }
106 }
std::string fileName_
Definition: TFileService.h:82
bool fileNameRecorded_
Definition: TFileService.h:83
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
Definition: JobReport.cc:486

◆ cd()

bool TFileService::cd ( ) const
inline

◆ file()

TFile& TFileService::file ( ) const
inline

return opened TFile

Definition at line 37 of file TFileService.h.

References file_.

Referenced by PrimaryVertexValidation::beginJob(), SplitVertexResolution::beginJob(), and ShallowTree::ShallowTree().

37 { return *file_; }
TFile * file_
pointer to opened TFile
Definition: TFileService.h:81

◆ fullPath()

std::string TFileService::fullPath ( ) const
inline

return the full path of the stored histograms

Definition at line 74 of file TFileService.h.

References TFileDirectory::fullPath(), and tFileDirectory_.

Referenced by SiPixelPhase1Analyzer::BookHistograms().

74 { return tFileDirectory_.fullPath(); }
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
std::string fullPath() const
return the full path of the stored histograms

◆ getBareDirectory()

TDirectory* TFileService::getBareDirectory ( const std::string &  subdir = "") const
inline

◆ getObject()

template<typename T >
T* TFileService::getObject ( const std::string &  objname,
const std::string &  subdir = "" 
)
inline

Definition at line 58 of file TFileService.h.

References TFileDirectory::getObject(), mkLumiAveragedPlots::subdir, and tFileDirectory_.

58  {
59  return tFileDirectory_.getObject<T>(objname, subdir);
60  }
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
T * getObject(const std::string &objname, const std::string &subdir="")
long double T

◆ make()

template<typename T , typename... Args>
T* TFileService::make ( const Args &...  args) const
inline

make new ROOT object

Definition at line 64 of file TFileService.h.

References writedatasetfile::args, TFileDirectory::make(), and tFileDirectory_.

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromCalibTree::algoEndJob(), JetResolutionDemo::analyze(), MuonAlignmentAnalyzer::analyze(), EcalMipGraphs::analyze(), EcalDisplaysByEvent::analyze(), PatTriggerAnalyzer::beginJob(), PatTriggerTagAndProbe::beginJob(), ExampleMuonAnalyzer::beginJob(), JetCorrectorDemo::beginJob(), FactorizedJetCorrectorDemo::beginJob(), HGCalTimingAnalyzer::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), BeamSpotRcdReader::beginJob(), BeamSpotOnlineRecordsReader::beginJob(), HcalRaddamMuon::beginJob(), HGCalTBAnalyzer::beginJob(), JetHTAnalyzer::beginJob(), StudyTriggerHLT::beginJob(), MuonAlignmentAnalyzer::beginJob(), PixelBaryCentreAnalyzer::beginJob(), IsoTrackCalibration::beginJob(), PrimaryVertexValidation::beginJob(), SplitVertexResolution::beginJob(), IsoTrackCalib::beginJob(), StudyCaloResponse::beginJob(), IsoTrig::beginJob(), CMTRawAnalyzer::beginJob(), HGCalBHValidation::beginRun(), HGCalTBAnalyzer::beginRun(), StudyTriggerHLT::beginRun(), StudyCaloResponse::beginRun(), GeneralPurposeVertexAnalyzer::book(), GeneralPurposeTrackAnalyzer::book(), TrackerRemapper::bookBins(), SiPixelPhase1Analyzer::BookHistograms(), SVTagInfoValidationAnalyzer::bookRecoToSim(), SVTagInfoValidationAnalyzer::bookSimToReco(), CommonModeAnalyzer::CommonModeAnalyzer(), SiStripHitEffFromCalibTree::computeEff(), CSCPairResidualsConstraint::configure(), CosmicRateAnalyzer::CosmicRateAnalyzer(), CSCOverlapsAlignmentAlgorithm::CSCOverlapsAlignmentAlgorithm(), CSCOverlapsBeamSplashCut::CSCOverlapsBeamSplashCut(), EcalDisplaysByEvent::EcalDisplaysByEvent(), EcalMipGraphs::EcalMipGraphs(), JetCorrectorDemo::endJob(), FactorizedJetCorrectorDemo::endJob(), SplitVertexResolution::endJob(), IsoTrig::endJob(), TkLasBeamFitter::endRunProduce(), EopElecTreeWriter::EopElecTreeWriter(), EopTreeWriter::EopTreeWriter(), G4StepStatistics::G4StepStatistics(), EcalMipGraphs::initHists(), EcalDisplaysByEvent::initHists(), L1CaloTowerTreeProducer::L1CaloTowerTreeProducer(), L1ElectronRecoTreeProducer::L1ElectronRecoTreeProducer(), L1EventTreeProducer::L1EventTreeProducer(), L1ExtraTreeProducer::L1ExtraTreeProducer(), L1GenTreeProducer::L1GenTreeProducer(), L1HOTreeProducer::L1HOTreeProducer(), L1JetRecoTreeProducer::L1JetRecoTreeProducer(), L1MenuTreeProducer::L1MenuTreeProducer(), L1MetFilterRecoTreeProducer::L1MetFilterRecoTreeProducer(), L1RecoTreeProducer::L1RecoTreeProducer(), L1TauRecoTreeProducer::L1TauRecoTreeProducer(), L1uGTTreeProducer::L1uGTTreeProducer(), L1UpgradeTfMuonShowerTreeProducer::L1UpgradeTfMuonShowerTreeProducer(), L1UpgradeTfMuonTreeProducer::L1UpgradeTfMuonTreeProducer(), L1UpgradeTreeProducer::L1UpgradeTreeProducer(), SiStripHitEffFromCalibTree::makeHotColdMaps(), SiStripHitEffFromCalibTree::makeSummary(), SiStripHitEffFromCalibTree::makeSummaryVsBx(), SiStripHitEffFromCalibTree::makeTKMap(), MCVerticesAnalyzer::MCVerticesAnalyzer(), MCvsRecoVerticesAnalyzer::MCvsRecoVerticesAnalyzer(), MultiplicityCorrelatorHistogramMaker::MultiplicityCorrelatorHistogramMaker(), OverlapProblemTPAnalyzer::OverlapProblemTPAnalyzer(), OverlapProblemTSOSAnalyzer::OverlapProblemTSOSAnalyzer(), PatZToMuMuAnalyzer::PatZToMuMuAnalyzer(), CSCAlignmentCorrections::plot(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), ShallowTree::ShallowTree(), SiPixelQualityHistory::SiPixelQualityHistory(), SiStripApvGainReader::SiStripApvGainReader(), SiStripQualityHistory::SiStripQualityHistory(), SiStripGainFromCalibTree::storeOnTree(), SVTagInfoValidationAnalyzer::SVTagInfoValidationAnalyzer(), and TrackCount::TrackCount().

64  {
65  return tFileDirectory_.make<T>(args...);
66  }
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
T * make(const Args &...args) const
make new ROOT object
long double T

◆ mkdir()

TFileDirectory TFileService::mkdir ( const std::string &  dir,
const std::string &  descr = "" 
)
inline

create a new subdirectory

Definition at line 69 of file TFileService.h.

References DeadROC_duringRun::dir, TFileDirectory::mkdir(), and tFileDirectory_.

Referenced by AlignmentMonitorBase::AlignmentMonitorBase(), CentralityTableProducer::analyze(), APVCyclePhaseMonitor::analyze(), BigEventsDebugger< T >::analyze(), NearbyPixelClustersAnalyzer::beginJob(), PrimaryVertexValidation::beginJob(), SplitVertexResolution::beginJob(), NearbyPixelClustersAnalyzer::beginRun(), SiStripCondVisualizer::beginRun(), BigEventsDebugger< T >::BigEventsDebugger(), DigiInvestigatorHistogramMaker::book(), DigiVtxPosCorrHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), BeamSpotHistogramMaker::book(), DigiVertexCorrHistogramMaker::book(), VertexHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), DigiBXCorrHistogramMaker< EventWithHistory >::book(), BSvsPVHistogramMaker::book(), tmtt::Histos::bookEtaPhiSectors(), L1GtDataEmulAnalyzer::bookHistograms(), tmtt::Histos::bookInputData(), tmtt::Histos::bookRphiHT(), tmtt::Histos::bookRZfilters(), ApeEstimator::bookSectorHistsForAnalyzerMode(), ApeEstimator::bookSectorHistsForApeCalculation(), tmtt::Histos::bookTrackCands(), tmtt::Histos::bookTrackFitting(), ApeEstimator::bookTrackHists(), TrackerTreeGenerator::endJob(), PrimaryVertexValidation::endJob(), SplitVertexResolution::endJob(), MuonAlignmentFromReference::fitAndAlign(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), tmtt::Histos::plotTrackEffAfterFit(), tmtt::Histos::plotTrackEfficiency(), batchmanager.BatchManager::PrepareJob(), TrackerDpgAnalysis::TrackerDpgAnalysis(), tmtt::Histos::trackerGeometryAnalysis(), and TSOSHistogramMaker::TSOSHistogramMaker().

69  {
70  return tFileDirectory_.mkdir(dir, descr);
71  }
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory

◆ postModuleEvent()

void TFileService::postModuleEvent ( edm::StreamContext const &  ,
edm::ModuleCallingContext const &  mcc 
)
private

Definition at line 64 of file TFileService.cc.

References edm::ModuleCallingContext::moduleDescription(), edm::ModuleCallingContext::previousModuleOnThread(), and setDirectoryName().

Referenced by TFileService().

64  {
65  edm::ModuleCallingContext const* previous_mcc = mcc.previousModuleOnThread();
66  if (previous_mcc) {
67  setDirectoryName(*previous_mcc->moduleDescription());
68  }
69 }
ModuleCallingContext const * previousModuleOnThread() const
ModuleDescription const * moduleDescription() const
void setDirectoryName(const edm::ModuleDescription &desc)
Definition: TFileService.cc:54

◆ postModuleGlobal()

void TFileService::postModuleGlobal ( edm::GlobalContext const &  ,
edm::ModuleCallingContext const &  mcc 
)
private

Definition at line 75 of file TFileService.cc.

References edm::ModuleCallingContext::moduleDescription(), edm::ModuleCallingContext::previousModuleOnThread(), and setDirectoryName().

Referenced by TFileService().

75  {
76  edm::ModuleCallingContext const* previous_mcc = mcc.previousModuleOnThread();
77  if (previous_mcc) {
78  setDirectoryName(*previous_mcc->moduleDescription());
79  }
80 }
ModuleCallingContext const * previousModuleOnThread() const
ModuleDescription const * moduleDescription() const
void setDirectoryName(const edm::ModuleDescription &desc)
Definition: TFileService.cc:54

◆ preModuleEvent()

void TFileService::preModuleEvent ( edm::StreamContext const &  ,
edm::ModuleCallingContext const &  mcc 
)
private

Definition at line 60 of file TFileService.cc.

References edm::ModuleCallingContext::moduleDescription(), and setDirectoryName().

Referenced by TFileService().

60  {
61  setDirectoryName(*mcc.moduleDescription());
62 }
void setDirectoryName(const edm::ModuleDescription &desc)
Definition: TFileService.cc:54

◆ preModuleGlobal()

void TFileService::preModuleGlobal ( edm::GlobalContext const &  ,
edm::ModuleCallingContext const &  mcc 
)
private

Definition at line 71 of file TFileService.cc.

References edm::ModuleCallingContext::moduleDescription(), and setDirectoryName().

Referenced by TFileService().

71  {
72  setDirectoryName(*mcc.moduleDescription());
73 }
void setDirectoryName(const edm::ModuleDescription &desc)
Definition: TFileService.cc:54

◆ setDirectoryName()

void TFileService::setDirectoryName ( const edm::ModuleDescription desc)
private

Definition at line 54 of file TFileService.cc.

References submitPVResolutionJobs::desc, TFileDirectory::descr_, TFileDirectory::dir_, file_, TFileDirectory::file_, and tFileDirectory_.

Referenced by postModuleEvent(), postModuleGlobal(), preModuleEvent(), preModuleGlobal(), and TFileService().

54  {
56  tFileDirectory_.dir_ = desc.moduleLabel();
57  tFileDirectory_.descr_ = tFileDirectory_.dir_ + " (" + desc.moduleName() + ") folder";
58 }
TFile * file_
pointer to opened TFile
Definition: TFileService.h:81
static thread_local TFileDirectory tFileDirectory_
Definition: TFileService.h:79
std::string dir_
std::string descr_

◆ tFileDirectory()

TFileDirectory& TFileService::tFileDirectory ( )
inline

Member Data Documentation

◆ closeFileFast_

bool TFileService::closeFileFast_
private

Definition at line 84 of file TFileService.h.

Referenced by ~TFileService().

◆ file_

TFile* TFileService::file_
private

pointer to opened TFile

Definition at line 81 of file TFileService.h.

Referenced by file(), setDirectoryName(), TFileService(), and ~TFileService().

◆ fileName_

std::string TFileService::fileName_
private

Definition at line 82 of file TFileService.h.

Referenced by afterBeginJob(), and TFileService().

◆ fileNameRecorded_

bool TFileService::fileNameRecorded_
private

Definition at line 83 of file TFileService.h.

Referenced by afterBeginJob().

◆ kSharedResource

const std::string TFileService::kSharedResource = "TFileService"
static

Definition at line 76 of file TFileService.h.

Referenced by AlCaElectronsTest::AlCaElectronsTest(), AlCaHOCalibProducer::AlCaHOCalibProducer(), AlignmentProducerAsAnalyzer::AlignmentProducerAsAnalyzer(), cms::Analyzer_minbias::Analyzer_minbias(), AnalyzerMinbias::AnalyzerMinbias(), edm::AnalyzerWrapper< T >::AnalyzerWrapper(), AnotherBeamSpotAnalyzer::AnotherBeamSpotAnalyzer(), AnotherPrimaryVertexAnalyzer::AnotherPrimaryVertexAnalyzer(), APVCyclePhaseMonitor::APVCyclePhaseMonitor(), BigEventsDebugger< T >::BigEventsDebugger(), BSvsPVAnalyzer::BSvsPVAnalyzer(), BTagPerformaceRootProducerFromSQLITE::BTagPerformaceRootProducerFromSQLITE(), CastorPedestalsAnalysis::CastorPedestalsAnalysis(), CentralityTableProducer::CentralityTableProducer(), CherenkovAnalysis::CherenkovAnalysis(), CMTRawAnalyzer::CMTRawAnalyzer(), CommonModeAnalyzer::CommonModeAnalyzer(), ConfigurableAnalysis::ConfigurableAnalysis(), CosmicGenFilterHelix::CosmicGenFilterHelix(), CosmicRateAnalyzer::CosmicRateAnalyzer(), CosmicSplitterValidation::CosmicSplitterValidation(), CSCOverlapsBeamSplashCut::CSCOverlapsBeamSplashCut(), DiElectronVertexValidation::DiElectronVertexValidation(), DiMuonValidation::DiMuonValidation(), DiMuonVertexValidation::DiMuonVertexValidation(), DMRChecker::DMRChecker(), EcalTPInputAnalyzer::EcalTPInputAnalyzer(), EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer(), EopElecTreeWriter::EopElecTreeWriter(), EopTreeWriter::EopTreeWriter(), ExampleMuonAnalyzer::ExampleMuonAnalyzer(), FFTJetImageRecorder::FFTJetImageRecorder(), FFTJetPileupAnalyzer::FFTJetPileupAnalyzer(), GctErrorAnalyzer::GctErrorAnalyzer(), GeneralPurposeTrackAnalyzer::GeneralPurposeTrackAnalyzer(), GeneralPurposeVertexAnalyzer::GeneralPurposeVertexAnalyzer(), HcalGeomCheck::HcalGeomCheck(), HcalHBHEMuonAnalyzer::HcalHBHEMuonAnalyzer(), HcalHBHEMuonHighEtaAnalyzer::HcalHBHEMuonHighEtaAnalyzer(), HcalHBHENewMuonAnalyzer::HcalHBHENewMuonAnalyzer(), HcalIsoTrackAnalyzer::HcalIsoTrackAnalyzer(), HcalIsoTrkAnalyzer::HcalIsoTrkAnalyzer(), HcalIsoTrkSimAnalyzer::HcalIsoTrkSimAnalyzer(), HcalRaddamMuon::HcalRaddamMuon(), HcalSimHitAnalysis::HcalSimHitAnalysis(), HcalTestAnalyzer::HcalTestAnalyzer(), HFPMTHitAnalyzer::HFPMTHitAnalyzer(), HGCalBHValidation::HGCalBHValidation(), HIPTwoBodyDecayAnalyzer::HIPTwoBodyDecayAnalyzer(), HistoAnalyzer< C >::HistoAnalyzer(), HitEff::HitEff(), HitParentTest::HitParentTest(), HltComparator::HltComparator(), HOCalibAnalyzer::HOCalibAnalyzer(), IsolatedGenParticles::IsolatedGenParticles(), IsolatedParticlesGeneratedJets::IsolatedParticlesGeneratedJets(), IsolatedTracksHcalScale::IsolatedTracksHcalScale(), IsolatedTracksNxN::IsolatedTracksNxN(), IsoTrackCalib::IsoTrackCalib(), IsoTrig::IsoTrig(), JetCorrectorDemo::JetCorrectorDemo(), JetCorrectorOnTheFly< Jet >::JetCorrectorOnTheFly(), JetHTAnalyzer::JetHTAnalyzer(), JetResolutionDemo::JetResolutionDemo(), L1CaloTowerTreeProducer::L1CaloTowerTreeProducer(), L1ElectronRecoTreeProducer::L1ElectronRecoTreeProducer(), L1EventTreeProducer::L1EventTreeProducer(), L1ExtraTreeProducer::L1ExtraTreeProducer(), L1GctValidation::L1GctValidation(), L1GenTreeProducer::L1GenTreeProducer(), L1GtDataEmulAnalyzer::L1GtDataEmulAnalyzer(), L1HOTreeProducer::L1HOTreeProducer(), L1JetRecoTreeProducer::L1JetRecoTreeProducer(), L1MenuTreeProducer::L1MenuTreeProducer(), L1MetFilterRecoTreeProducer::L1MetFilterRecoTreeProducer(), L1Muon2RecoTreeProducer::L1Muon2RecoTreeProducer(), L1MuonRecoTreeProducer::L1MuonRecoTreeProducer(), L1RCTRelValAnalyzer::L1RCTRelValAnalyzer(), L1RCTTestAnalyzer::L1RCTTestAnalyzer(), L1RecoTreeProducer::L1RecoTreeProducer(), L1TauRecoTreeProducer::L1TauRecoTreeProducer(), l1t::L1TStage2CaloAnalyzer::L1TStage2CaloAnalyzer(), L1uGTTreeProducer::L1uGTTreeProducer(), L1UpgradeTfMuonShowerTreeProducer::L1UpgradeTfMuonShowerTreeProducer(), L1UpgradeTfMuonTreeProducer::L1UpgradeTfMuonTreeProducer(), L1UpgradeTreeProducer::L1UpgradeTreeProducer(), MaterialBudgetHcalAnalysis::MaterialBudgetHcalAnalysis(), MaterialBudgetVolumeAnalysis::MaterialBudgetVolumeAnalysis(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), MuonAlignmentAnalyzer::MuonAlignmentAnalyzer(), myRawAna::myRawAna(), NearbyPixelClustersAnalyzer::NearbyPixelClustersAnalyzer(), NTuplingDevice::NTuplingDevice(), OverlapProblemTPAnalyzer::OverlapProblemTPAnalyzer(), OverlapProblemTSOSAnalyzer::OverlapProblemTSOSAnalyzer(), OverlapValidation::OverlapValidation(), PatBasicAnalyzer::PatBasicAnalyzer(), PatBJetTagAnalyzer::PatBJetTagAnalyzer(), PatBJetTrackAnalyzer::PatBJetTrackAnalyzer(), PatBJetVertexAnalyzer::PatBJetVertexAnalyzer(), PatBTagAnalyzer::PatBTagAnalyzer(), PatElectronAnalyzer::PatElectronAnalyzer(), PatJetAnalyzer::PatJetAnalyzer(), PatMCMatching::PatMCMatching(), PatMCMatchingExtended::PatMCMatchingExtended(), PatTauAnalyzer::PatTauAnalyzer(), PatTopSelectionAnalyzer::PatTopSelectionAnalyzer(), PatTrackAnalyzer::PatTrackAnalyzer(), PatTriggerAnalyzer::PatTriggerAnalyzer(), PatTriggerTagAndProbe::PatTriggerTagAndProbe(), PatVertexAnalyzer::PatVertexAnalyzer(), PatZjetsElectronAnalyzer::PatZjetsElectronAnalyzer(), PatZjetsJetAnalyzer::PatZjetsJetAnalyzer(), PatZToMuMuAnalyzer::PatZToMuMuAnalyzer(), PFAnalysis::PFAnalysis(), PixelDCSObjectReader< Record >::PixelDCSObjectReader(), PrimaryVertexValidation::PrimaryVertexValidation(), ShallowTree::ShallowTree(), SimAnalyzerMinbias::SimAnalyzerMinbias(), SiPixelBadModuleReader::SiPixelBadModuleReader(), cms::SiPixelCondObjAllPayloadsReader::SiPixelCondObjAllPayloadsReader(), cms::SiPixelCondObjOfflineReader::SiPixelCondObjOfflineReader(), cms::SiPixelCondObjReader::SiPixelCondObjReader(), SiPixelDQMRocLevelAnalyzer::SiPixelDQMRocLevelAnalyzer(), SiPixelGainCalibrationReadDQMFile::SiPixelGainCalibrationReadDQMFile(), SiPixelLorentzAngleReader::SiPixelLorentzAngleReader(), SiPixelQualityHistory::SiPixelQualityHistory(), SiPixelVCalReader::SiPixelVCalReader(), SiStripApvGainReader::SiStripApvGainReader(), SiStripCondVisualizer::SiStripCondVisualizer(), SiStripDB2Tree::SiStripDB2Tree(), SiStripHitEffFromCalibTree::SiStripHitEffFromCalibTree(), SiStripQualityHistory::SiStripQualityHistory(), SiStripSpyDisplayModule::SiStripSpyDisplayModule(), SplitVertexResolution::SplitVertexResolution(), StudyCaloGen::StudyCaloGen(), StudyCaloResponse::StudyCaloResponse(), StudyTriggerHLT::StudyTriggerHLT(), TestPythiaDecays::TestPythiaDecays(), TrackCount::TrackCount(), TrackerDpgAnalysis::TrackerDpgAnalysis(), TrackerOfflineValidation::TrackerOfflineValidation(), TrackerTreeGenerator::TrackerTreeGenerator(), TrackingNtuple::TrackingNtuple(), TreeProducerCalibSimul::TreeProducerCalibSimul(), TreeWriterForEcalCorrection::TreeWriterForEcalCorrection(), ValidIsoTrkCalib::ValidIsoTrkCalib(), l1tVertexFinder::VertexNTupler::VertexNTupler(), and XtalDedxAnalysis::XtalDedxAnalysis().

◆ tFileDirectory_

thread_local TFileDirectory TFileService::tFileDirectory_
staticprivate