CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 385 of file FastTimerService.h.

Constructor & Destructor Documentation

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

Definition at line 641 of file FastTimerService.cc.

642  : event_(), paths_(process.paths_.size()), endpaths_(process.endPaths_.size()) {}
std::vector< PlotsPerPath > endpaths_
std::vector< PlotsPerPath > paths_
tuple process
Definition: LaserDQM_cfg.py:3

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

References makeHippyCampaign::basedir, ProcessCallGraph::ProcessType::endPaths_, event_(), gpuClustering::id, ProcessCallGraph::ProcessType::name_, ProcessCallGraph::ProcessType::paths_, dqm::implementation::NavigatorBase::pwd(), dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

651  {
652  const std::string basedir = booker.pwd();
653  event_.book(booker, "process " + process.name_, "process " + process.name_, event_ranges, lumisections, byls);
654  if (bypath) {
655  booker.setCurrentFolder(basedir + "/process " + process.name_ + " paths");
656  for (unsigned int id : boost::irange(0ul, paths_.size())) {
657  paths_[id].book(booker, "path ", job, process.paths_[id], path_ranges, lumisections, byls);
658  }
659  for (unsigned int id : boost::irange(0ul, endpaths_.size())) {
660  endpaths_[id].book(booker, "endpath ", job, process.endPaths_[id], path_ranges, lumisections, byls);
661  }
662  booker.setCurrentFolder(basedir);
663  }
664 }
uint16_t *__restrict__ id
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
virtual std::string pwd()
Definition: DQMStore.cc:16
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_
tuple process
Definition: LaserDQM_cfg.py:3
void FastTimerService::PlotsPerProcess::fill ( ProcessCallGraph::ProcessType const &  description,
ResourcesPerJob const &  data,
ResourcesPerProcess const &  process,
unsigned int  ls 
)

Definition at line 666 of file FastTimerService.cc.

References FastTimerService::ResourcesPerProcess::endpaths, ProcessCallGraph::ProcessType::endPaths_, event_(), gpuClustering::id, FastTimerService::ResourcesPerProcess::paths, ProcessCallGraph::ProcessType::paths_, and FastTimerService::ResourcesPerProcess::total.

669  {
670  // fill process event plots
671  event_.fill(process.total, ls);
672 
673  // fill all paths plots
674  for (unsigned int id : boost::irange(0ul, paths_.size()))
675  paths_[id].fill(description.paths_[id], data, process.paths[id], ls);
676 
677  // fill all endpaths plots
678  for (unsigned int id : boost::irange(0ul, endpaths_.size()))
679  endpaths_[id].fill(description.endPaths_[id], data, process.endpaths[id], ls);
680 }
void fill(Resources const &, unsigned int lumisection)
uint16_t *__restrict__ id
def ls
Definition: eostools.py:349
std::vector< PlotsPerPath > endpaths_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::vector< PlotsPerPath > paths_
tuple process
Definition: LaserDQM_cfg.py:3

Member Data Documentation

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

Definition at line 400 of file FastTimerService.h.

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