CMS 3D CMS Logo

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

Public Member Functions

void book (DQMStore::ConcurrentBooker &, 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 360 of file FastTimerService.h.

Constructor & Destructor Documentation

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

Definition at line 668 of file FastTimerService.cc.

668  :
669  event_(),
670  paths_(process.paths_.size()),
671  endpaths_(process.endPaths_.size())
672 {
673 }
std::vector< PlotsPerPath > endpaths_
std::vector< PlotsPerPath > paths_

Member Function Documentation

void FastTimerService::PlotsPerProcess::book ( DQMStore::ConcurrentBooker 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 676 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_, DQMStore::IBooker::pwd(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

685 {
686  const std::string basedir = booker.pwd();
687  event_.book(booker,
688  "process " + process.name_, "process " + process.name_,
689  event_ranges,
690  lumisections,
691  byls);
692  if (bypath) {
693  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
694  for (unsigned int id: boost::irange(0ul, paths_.size()))
695  {
696  paths_[id].book(booker,"path ",
697  job, process.paths_[id],
698  path_ranges,
699  lumisections,
700  byls);
701  }
702  for (unsigned int id: boost::irange(0ul, endpaths_.size()))
703  {
704  endpaths_[id].book(booker,"endpath ",
705  job, process.endPaths_[id],
706  path_ranges,
707  lumisections,
708  byls);
709  }
710  booker.setCurrentFolder(basedir);
711  }
712 }
void book(DQMStore::ConcurrentBooker &, std::string const &name, std::string const &title, PlotRanges const &ranges, unsigned int lumisections, bool byls)
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::vector< PlotsPerPath > endpaths_
std::string const & pwd()
Definition: DQMStore.cc:278
std::vector< PlotsPerPath > paths_
void FastTimerService::PlotsPerProcess::fill ( ProcessCallGraph::ProcessType const &  description,
ResourcesPerJob const &  data,
ResourcesPerProcess const &  process,
unsigned int  ls 
)

Definition at line 715 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.

716 {
717  // fill process event plots
718  event_.fill(process.total, ls);
719 
720  // fill all paths plots
721  for (unsigned int id: boost::irange(0ul, paths_.size()))
722  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
723 
724  // fill all endpaths plots
725  for (unsigned int id: boost::irange(0ul, endpaths_.size()))
726  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
727 }
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:82
std::vector< PlotsPerPath > paths_

Member Data Documentation

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

Definition at line 370 of file FastTimerService.h.

Referenced by book(), and fill().

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