CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_0/src/Validation/RecoTau/plugins/DQMFileLoader.cc File Reference

#include "Validation/RecoTau/plugins/DQMFileLoader.h"
#include "Validation/RecoTau/plugins/dqmAuxFunctions.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include <TFile.h>
#include <TList.h>
#include <TKey.h>
#include <TH1.h>
#include <iostream>
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

 DEFINE_FWK_MODULE (TauDQMFileLoader)
void mapSubDirectoryStructure (TDirectory *directory, std::string directoryName, std::set< std::string > &subDirectories)

Variables

const double defaultScaleFactor = 1.
const std::string dqmRootDirectory_inTFile = "DQMData"
const int verbosity = 0

Function Documentation

DEFINE_FWK_MODULE ( TauDQMFileLoader  )
void mapSubDirectoryStructure ( TDirectory *  directory,
std::string  directoryName,
std::set< std::string > &  subDirectories 
)

Definition at line 27 of file DQMFileLoader.cc.

References dqmDirectoryName(), combine::key, and VarParsing::obj.

Referenced by TauDQMFileLoader::endRun().

{
  //std::cout << "<mapSubDirectoryStructure>:" << std::endl;
  //std::cout << " directoryName = " << directoryName << std::endl;

  TList* subDirectoryNames = directory->GetListOfKeys();
  if ( !subDirectoryNames ) return;

  TIter next(subDirectoryNames);
  while ( TKey* key = dynamic_cast<TKey*>(next()) ) {
    //std::cout << " key->GetName = " << key->GetName() << std::endl;
    TObject* obj = directory->Get(key->GetName());
    //std::cout << " obj = " << obj << std::endl;
    if ( TDirectory* subDirectory = dynamic_cast<TDirectory*>(obj) ) {
      std::string subDirectoryName = dqmDirectoryName(directoryName).append(key->GetName());
      //std::cout << " subDirectoryName = " << subDirectoryName << std::endl;
    
      subDirectories.insert(subDirectoryName);
    
      mapSubDirectoryStructure(subDirectory, subDirectoryName, subDirectories); 
    }
  }
} 

Variable Documentation

const double defaultScaleFactor = 1.

Definition at line 23 of file DQMFileLoader.cc.

Referenced by TauDQMFileLoader::cfgEntryFileSet::cfgEntryFileSet().

const std::string dqmRootDirectory_inTFile = "DQMData"

Definition at line 21 of file DQMFileLoader.cc.

Referenced by TauDQMFileLoader::endRun().

const int verbosity = 0

Definition at line 25 of file DQMFileLoader.cc.

Referenced by EmDQM::analyze(), EmDQM::beginRun(), TauDQMHistPlotter::cfgEntryAxisX::cfgEntryAxisX(), TauDQMHistPlotter::cfgEntryAxisY::cfgEntryAxisY(), TauDQMHistPlotter::cfgEntryDrawJob::cfgEntryDrawJob(), TauDQMHistPlotter::cfgEntryDrawOption::cfgEntryDrawOption(), TauDQMFileLoader::cfgEntryFileSet::cfgEntryFileSet(), TauDQMHistPlotter::cfgEntryLabel::cfgEntryLabel(), TauDQMHistPlotter::cfgEntryLegend::cfgEntryLegend(), TauDQMHistPlotter::cfgEntryProcess::cfgEntryProcess(), ChargeDividerFP420::ChargeDividerFP420(), ChargeDrifterFP420::ChargeDrifterFP420(), EmDQM::checkGeneratedParticlesRequirement(), EmDQM::checkRecoParticlesRequirement(), ChargeDividerFP420::DeconvolutionShape(), DigiConverterFP420::DigiConverterFP420(), ChargeDividerFP420::divide(), EmDQM::EmDQM(), TauDQMHistPlotter::endRun(), TauDQMFileLoader::endRun(), EmDQM::endRun(), GflashHadronShowerModel::excludeDetectorRegion(), EmDQM::fillHistos(), UnbinnedLikelihoodFit::fit(), ChargeDividerFP420::fluctuateEloss(), FP420Test::FP420Test(), HiEgammaSCEnergyCorrectionAlgo::HiEgammaSCEnergyCorrectionAlgo(), L1GtTriggerMenuConfigOnlineProd::newObject(), ChargeDividerFP420::PeakShape(), HitDigitizerFP420::processHit(), L1GtEtaPhiConversions::setVerbosity(), L1GtConditionEvaluation::setVerbosity(), StatisticalPlot::setVerbosity(), TKinFitter::setVerbosity(), HiEgammaSCEnergyCorrectionAlgo::setVerbosity(), L1GlobalTriggerPSB::setVerbosity(), L1GlobalTriggerGTL::setVerbosity(), L1GlobalTriggerFDL::setVerbosity(), TauDQMHistPlotter::TauDQMHistPlotter(), ChargeDividerFP420::TimeResponse(), TrackProducerFP420::TrackProducerFP420(), FP420Test::update(), and FP420Test::~FP420Test().