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

Constructor & Destructor Documentation

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

Definition at line 595 of file FastTimerService.cc.

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

Member Function Documentation

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

References makeHippyCampaign::basedir, FastTimerService::PlotsPerElement::book(), ProcessCallGraph::ProcessType::endPaths_, endpaths_, event_, triggerObjects_cff::id, ProcessCallGraph::ProcessType::name_, ProcessCallGraph::ProcessType::paths_, paths_, dqm::dqmstoreimpl::DQMStore::IBooker::pwd(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

605  {
606  const std::string basedir = booker.pwd();
607  event_.book(booker, "process " + process.name_, "process " + process.name_, event_ranges, lumisections, byls);
608  if (bypath) {
609  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
610  for (unsigned int id : boost::irange(0ul, paths_.size())) {
611  paths_[id].book(booker, "path ", job, process.paths_[id], path_ranges, lumisections, byls);
612  }
613  for (unsigned int id : boost::irange(0ul, endpaths_.size())) {
614  endpaths_[id].book(booker, "endpath ", job, process.endPaths_[id], path_ranges, lumisections, byls);
615  }
616  booker.setCurrentFolder(basedir);
617  }
618 }
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:418
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_
void FastTimerService::PlotsPerProcess::fill ( ProcessCallGraph::ProcessType const &  description,
ResourcesPerJob const &  data,
ResourcesPerProcess const &  process,
unsigned int  ls 
)

Definition at line 620 of file FastTimerService.cc.

References FastTimerService::ResourcesPerProcess::endpaths, ProcessCallGraph::ProcessType::endPaths_, endpaths_, event_, FastTimerService::PlotsPerElement::fill(), triggerObjects_cff::id, FastTimerService::ResourcesPerProcess::paths, ProcessCallGraph::ProcessType::paths_, paths_, and FastTimerService::ResourcesPerProcess::total.

623  {
624  // fill process event plots
625  event_.fill(process.total, ls);
626 
627  // fill all paths plots
628  for (unsigned int id : boost::irange(0ul, paths_.size()))
629  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
630 
631  // fill all endpaths plots
632  for (unsigned int id : boost::irange(0ul, endpaths_.size()))
633  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
634 }
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

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

Definition at line 386 of file FastTimerService.h.

Referenced by book(), and fill().

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