CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FastTimerService::SummaryPlots Struct Reference

Public Member Functions

void fill (Timing const &value)
 
void reset ()
 
 SummaryPlots ()
 

Public Attributes

TH1F * event
 
TH1F * preevent
 
TH1F * presource
 
TH1F * source
 

Detailed Description

Definition at line 463 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::SummaryPlots::SummaryPlots ( )
inline

Definition at line 469 of file FastTimerService.h.

469  :
470  presource (nullptr),
471  source (nullptr),
472  preevent (nullptr),
473  event (nullptr)
474  { }

Member Function Documentation

void FastTimerService::SummaryPlots::fill ( Timing const &  value)
inline

Definition at line 484 of file FastTimerService.h.

References FastTimerService::Timing::event, FastTimerService::Timing::preevent, preevent, FastTimerService::Timing::presource, presource, FastTimerService::Timing::source, and source.

484  {
485  // convert on the fly from seconds to ms
486  presource ->Fill( 1000. * value.presource );
487  source ->Fill( 1000. * value.source );
488  preevent ->Fill( 1000. * value.preevent );
489  event ->Fill( 1000. * value.event );
490  }
void FastTimerService::SummaryPlots::reset ( void  )
inline

Definition at line 476 of file FastTimerService.h.

References preevent, presource, and source.

Referenced by FastTimerService::StreamData::reset().

476  {
477  // the DQM plots are owned by the DQMStore
478  presource = nullptr;
479  source = nullptr;
480  preevent = nullptr;
481  event = nullptr;
482  }

Member Data Documentation

TH1F* FastTimerService::SummaryPlots::event
TH1F* FastTimerService::SummaryPlots::preevent

Definition at line 466 of file FastTimerService.h.

Referenced by fill(), and reset().

TH1F* FastTimerService::SummaryPlots::presource

Definition at line 464 of file FastTimerService.h.

Referenced by fill(), and reset().

TH1F* FastTimerService::SummaryPlots::source

Definition at line 465 of file FastTimerService.h.

Referenced by fill(), and reset().