Diana Software
Classes | Public Member Functions | Private Attributes | List of all members
MTutorialAveragePulse Class Reference
Inheritance diagram for MTutorialAveragePulse:

Classes

class  ChannelInfo
 simple class to store channel based data More...
 

Public Member Functions

void Init (Diana::QEvent &ev)
 Init method. More...
 
void Do (Diana::QEvent &ev)
 Do method. Declare and implement only one of the two versions. More...
 
void Done ()
 Done method. More...
 

Private Attributes

std::map< int, ChannelInfofAveragePulses
 map containing ChannelInfo for each channel. The key is the channel number More...
 
std::string fOutput
 output file which for AveragePulses More...
 

Detailed Description

Examples
MTutorialAveragePulse.cc, and MTutorialAveragePulse.hh.

Definition at line 40 of file MTutorialAveragePulse.hh.

Member Function Documentation

◆ Do()

void MTutorialAveragePulse::Do ( Diana::QEvent &  ev)

Do method. Declare and implement only one of the two versions.

Examples
MTutorialAveragePulse.cc, and MTutorialAveragePulse.hh.

Definition at line 30 of file MTutorialAveragePulse.cc.

References QEvent::Get(), QPulseInfo::GetChannelId(), and QPulse::GetSamples().

◆ Done()

void MTutorialAveragePulse::Done ( )

Done method.

Examples
MTutorialAveragePulse.cc, and MTutorialAveragePulse.hh.

Definition at line 51 of file MTutorialAveragePulse.cc.

References ap.

◆ Init()

void MTutorialAveragePulse::Init ( Diana::QEvent &  ev)

Init method.

Examples
MTutorialAveragePulse.cc, and MTutorialAveragePulse.hh.

Definition at line 22 of file MTutorialAveragePulse.cc.

Member Data Documentation

◆ fAveragePulses

std::map<int, ChannelInfo> MTutorialAveragePulse::fAveragePulses
private

map containing ChannelInfo for each channel. The key is the channel number

Examples
MTutorialAveragePulse.hh.

Definition at line 62 of file MTutorialAveragePulse.hh.

◆ fOutput

std::string MTutorialAveragePulse::fOutput
private

output file which for AveragePulses

Examples
MTutorialAveragePulse.hh.

Definition at line 64 of file MTutorialAveragePulse.hh.


The documentation for this class was generated from the following files: