CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FastTimerService::ResourcesPerModule Struct Reference

Public Member Functions

ResourcesPerModule operator+ (ResourcesPerModule const &other) const
 
ResourcesPerModuleoperator+= (ResourcesPerModule const &other)
 
void reset ()
 
 ResourcesPerModule ()
 

Public Attributes

unsigned events
 
Resources total
 

Detailed Description

Definition at line 267 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::ResourcesPerModule::ResourcesPerModule ( )
default

Member Function Documentation

FastTimerService::ResourcesPerModule FastTimerService::ResourcesPerModule::operator+ ( ResourcesPerModule const &  other) const
FastTimerService::ResourcesPerModule & FastTimerService::ResourcesPerModule::operator+= ( ResourcesPerModule const &  other)

Definition at line 167 of file FastTimerService.cc.

References PatBasicFWLiteAnalyzer::events, events, pileupDistInMC::total, and total.

167  {
168  total += other.total;
169  events += other.events;
170  return *this;
171 }
void FastTimerService::ResourcesPerModule::reset ( void  )

Member Data Documentation

unsigned FastTimerService::ResourcesPerModule::events
Resources FastTimerService::ResourcesPerModule::total

Definition at line 275 of file FastTimerService.h.

Referenced by operator+=().