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 391 of file FastTimerService.h.

Constructor & Destructor Documentation

◆ PlotsPerProcess()

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

Definition at line 646 of file FastTimerService.cc.

647  : event_(), paths_(process.paths_.size()), endpaths_(process.endPaths_.size()) {}
std::vector< PlotsPerPath > endpaths_
std::vector< PlotsPerPath > paths_

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 649 of file FastTimerService.cc.

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

656  {
657  const std::string basedir = booker.pwd();
658  event_.book(booker, "process " + process.name_, "process " + process.name_, event_ranges, lumisections, byls);
659  if (bypath) {
660  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
661  for (unsigned int id : boost::irange(0ul, paths_.size())) {
662  paths_[id].book(booker, "path ", job, process.paths_[id], path_ranges, lumisections, byls);
663  }
664  for (unsigned int id : boost::irange(0ul, endpaths_.size())) {
665  endpaths_[id].book(booker, "endpath ", job, process.endPaths_[id], path_ranges, lumisections, byls);
666  }
667  booker.setCurrentFolder(basedir);
668  }
669 }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
virtual std::string pwd()
Definition: DQMStore.cc:20
void book(dqm::reco::DQMStore::IBooker &, std::string const &name, std::string const &title, PlotRanges const &ranges, unsigned int lumisections, bool byls)
std::vector< PlotsPerPath > endpaths_
std::vector< PlotsPerPath > paths_

◆ fill()

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

Definition at line 671 of file FastTimerService.cc.

References data, makeListRunsInFiles::description, l1ctLayer2EG_cff::id, eostools::ls(), and LaserDQM_cfg::process.

674  {
675  // fill process event plots
676  event_.fill(process.total, ls);
677 
678  // fill all paths plots
679  for (unsigned int id : boost::irange(0ul, paths_.size()))
680  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
681 
682  // fill all endpaths plots
683  for (unsigned int id : boost::irange(0ul, endpaths_.size()))
684  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
685 }
void fill(Resources const &, unsigned int lumisection)
std::vector< PlotsPerPath > endpaths_
def ls(path, rec=False)
Definition: eostools.py:349
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::vector< PlotsPerPath > paths_

Member Data Documentation

◆ endpaths_

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

◆ event_

PlotsPerElement FastTimerService::PlotsPerProcess::event_
private

Definition at line 406 of file FastTimerService.h.

◆ paths_

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