CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FastTimerService::PlotsPerProcess Class Reference

Public Member Functions

void book (dqm::reco::DQMStore::IBooker &, ProcessCallGraph const &, ProcessCallGraph::ProcessType const &, PlotRanges const &event_ranges, PlotRanges const &path_ranges, unsigned int lumisections, bool bypath, bool byls)
 
void fill (ProcessCallGraph::ProcessType const &, ResourcesPerJob const &, ResourcesPerProcess const &, unsigned int ls)
 
 PlotsPerProcess (ProcessCallGraph::ProcessType const &)
 

Private Attributes

std::vector< PlotsPerPathendpaths_
 
PlotsPerElement event_
 
std::vector< PlotsPerPathpaths_
 

Detailed Description

Definition at line 384 of file FastTimerService.h.

Constructor & Destructor Documentation

◆ PlotsPerProcess()

FastTimerService::PlotsPerProcess::PlotsPerProcess ( ProcessCallGraph::ProcessType const &  process)

Definition at line 633 of file FastTimerService.cc.

634  : event_(), paths_(process.paths_.size()), endpaths_(process.endPaths_.size()) {}

Member Function Documentation

◆ book()

void FastTimerService::PlotsPerProcess::book ( dqm::reco::DQMStore::IBooker booker,
ProcessCallGraph const &  job,
ProcessCallGraph::ProcessType const &  process,
PlotRanges const &  event_ranges,
PlotRanges const &  path_ranges,
unsigned int  lumisections,
bool  bypath,
bool  byls 
)

Definition at line 636 of file FastTimerService.cc.

643  {
644  const std::string basedir = booker.pwd();
645  event_.book(booker, "process " + process.name_, "process " + process.name_, event_ranges, lumisections, byls);
646  if (bypath) {
647  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
648  for (unsigned int id : boost::irange(0ul, paths_.size())) {
649  paths_[id].book(booker, "path ", job, process.paths_[id], path_ranges, lumisections, byls);
650  }
651  for (unsigned int id : boost::irange(0ul, endpaths_.size())) {
652  endpaths_[id].book(booker, "endpath ", job, process.endPaths_[id], path_ranges, lumisections, byls);
653  }
654  booker.setCurrentFolder(basedir);
655  }
656 }

References makeHippyCampaign::basedir, event_(), triggerObjects_cff::id, LaserDQM_cfg::process, dqm::implementation::NavigatorBase::pwd(), dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ fill()

void FastTimerService::PlotsPerProcess::fill ( ProcessCallGraph::ProcessType const &  description,
ResourcesPerJob const &  data,
ResourcesPerProcess const &  process,
unsigned int  ls 
)

Definition at line 658 of file FastTimerService.cc.

661  {
662  // fill process event plots
663  event_.fill(process.total, ls);
664 
665  // fill all paths plots
666  for (unsigned int id : boost::irange(0ul, paths_.size()))
667  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
668 
669  // fill all endpaths plots
670  for (unsigned int id : boost::irange(0ul, endpaths_.size()))
671  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
672 }

References data, edmLumisInFiles::description, event_(), triggerObjects_cff::id, eostools::ls(), and LaserDQM_cfg::process.

Member Data Documentation

◆ endpaths_

std::vector<PlotsPerPath> FastTimerService::PlotsPerProcess::endpaths_
private

◆ event_

PlotsPerElement FastTimerService::PlotsPerProcess::event_
private

Definition at line 399 of file FastTimerService.h.

◆ paths_

std::vector<PlotsPerPath> FastTimerService::PlotsPerProcess::paths_
private
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
edmLumisInFiles.description
description
Definition: edmLumisInFiles.py:11
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
makeHippyCampaign.basedir
basedir
Definition: makeHippyCampaign.py:14
dqm::implementation::NavigatorBase::pwd
virtual std::string pwd()
Definition: DQMStore.cc:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LaserDQM_cfg.process
process
Definition: LaserDQM_cfg.py:3
FastTimerService::PlotsPerElement::book
void book(dqm::reco::DQMStore::IBooker &, std::string const &name, std::string const &title, PlotRanges const &ranges, unsigned int lumisections, bool byls)
Definition: FastTimerService.cc:372
FastTimerService::PlotsPerProcess::endpaths_
std::vector< PlotsPerPath > endpaths_
Definition: FastTimerService.h:402
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
FastTimerService::PlotsPerProcess::event_
PlotsPerElement event_
Definition: FastTimerService.h:399
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FastTimerService::PlotsPerElement::fill
void fill(Resources const &, unsigned int lumisection)
Definition: FastTimerService.cc:457
FastTimerService::PlotsPerProcess::paths_
std::vector< PlotsPerPath > paths_
Definition: FastTimerService.h:401