#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 (DQMFileLoader) | |
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 |
DEFINE_FWK_MODULE | ( | DQMFileLoader | ) |
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 DQMFileLoader::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); } } }
const double defaultScaleFactor = 1. |
Definition at line 23 of file DQMFileLoader.cc.
Referenced by DQMFileLoader::cfgEntryFileSet::cfgEntryFileSet().
const std::string dqmRootDirectory_inTFile = "DQMData" |
Definition at line 21 of file DQMFileLoader.cc.
Referenced by DQMFileLoader::endRun().
const int verbosity = 0 |
Definition at line 25 of file DQMFileLoader.cc.
Referenced by EmDQM::analyze(), EmDQM::beginRun(), DQMHistAdder::cfgEntryAddJob::cfgEntryAddJob(), DQMHistPlotter::cfgEntryAxisX::cfgEntryAxisX(), DQMHistPlotter::cfgEntryAxisY::cfgEntryAxisY(), DQMHistPlotter::cfgEntryDrawJob::cfgEntryDrawJob(), DQMHistPlotter::cfgEntryDrawOption::cfgEntryDrawOption(), DQMFileLoader::cfgEntryFileSet::cfgEntryFileSet(), DQMHistPlotter::cfgEntryLabel::cfgEntryLabel(), DQMHistPlotter::cfgEntryLegend::cfgEntryLegend(), DQMHistPlotter::cfgEntryProcess::cfgEntryProcess(), ChargeDividerFP420::ChargeDividerFP420(), ChargeDrifterFP420::ChargeDrifterFP420(), EmDQM::checkGeneratedParticlesRequirement(), EmDQM::checkRecoParticlesRequirement(), ChargeDividerFP420::DeconvolutionShape(), DigiConverterFP420::DigiConverterFP420(), ChargeDividerFP420::divide(), DQMHistPlotter::DQMHistPlotter(), EmDQM::EmDQM(), DQMHistAdder::endJob(), DQMHistPlotter::endRun(), EmDQM::endRun(), DQMFileLoader::endRun(), GflashHadronShowerModel::excludeDetectorRegion(), EmDQM::fillHistos(), UnbinnedLikelihoodFit::fit(), ChargeDividerFP420::fluctuateEloss(), FP420Test::FP420Test(), HiEgammaSCEnergyCorrectionAlgo::HiEgammaSCEnergyCorrectionAlgo(), L1GtTriggerMenuConfigOnlineProd::newObject(), ChargeDividerFP420::PeakShape(), HitDigitizerFP420::processHit(), L1GtConditionEvaluation::setVerbosity(), StatisticalPlot::setVerbosity(), TKinFitter::setVerbosity(), HiEgammaSCEnergyCorrectionAlgo::setVerbosity(), L1GlobalTriggerPSB::setVerbosity(), L1GlobalTriggerGTL::setVerbosity(), L1GlobalTriggerFDL::setVerbosity(), ChargeDividerFP420::TimeResponse(), TrackProducerFP420::TrackProducerFP420(), FP420Test::update(), and FP420Test::~FP420Test().