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

Constructor & Destructor Documentation

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

Definition at line 647 of file FastTimerService.cc.

647  :
648  event_(),
649  paths_(process.paths_.size()),
650  endpaths_(process.endPaths_.size())
651 {
652 }
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 655 of file FastTimerService.cc.

References 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.

664 {
665  const std::string basedir = booker.pwd();
666  event_.book(booker,
667  "process " + process.name_, "process " + process.name_,
668  event_ranges,
669  lumisections,
670  byls);
671  if (bypath) {
672  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
673  for (unsigned int id: boost::irange(0ul, paths_.size()))
674  {
675  paths_[id].book(booker,"path ",
676  job, process.paths_[id],
677  path_ranges,
678  lumisections,
679  byls);
680  }
681  for (unsigned int id: boost::irange(0ul, endpaths_.size()))
682  {
683  endpaths_[id].book(booker,"endpath ",
684  job, process.endPaths_[id],
685  path_ranges,
686  lumisections,
687  byls);
688  }
689  booker.setCurrentFolder(basedir);
690  }
691 }
void book(DQMStore::ConcurrentBooker &, std::string const &name, std::string const &title, PlotRanges const &ranges, unsigned int lumisections, bool byls)
std::vector< PlotsPerPath > endpaths_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
const std::string & pwd()
Definition: DQMStore.cc:287
std::vector< PlotsPerPath > paths_
void FastTimerService::PlotsPerProcess::fill ( ProcessCallGraph::ProcessType const &  description,
ResourcesPerJob const &  data,
ResourcesPerProcess const &  process,
unsigned int  ls 
)

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

695 {
696  // fill process event plots
697  event_.fill(process.total, ls);
698 
699  // fill all paths plots
700  for (unsigned int id: boost::irange(0ul, paths_.size()))
701  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
702 
703  // fill all endpaths plots
704  for (unsigned int id: boost::irange(0ul, endpaths_.size()))
705  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
706 }
void fill(Resources const &, unsigned int lumisection)
std::vector< PlotsPerPath > endpaths_
def ls(path, rec=False)
Definition: eostools.py:348
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 377 of file FastTimerService.h.

Referenced by book(), and fill().

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