Diana Software
Public Member Functions | Private Attributes | List of all members
MQVectorToQPulse Class Reference

convert a QVector event member to a QPulse More...

Inheritance diagram for MQVectorToQPulse:

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::string fQVectorLabel
 
std::string fName
 
bool fConversion
 

Detailed Description

convert a QVector event member to a QPulse

Author
Marco Vignati

Definition at line 44 of file MQVectorToQPulse.hh.

Member Function Documentation

◆ Do()

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

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

Definition at line 24 of file MQVectorToQPulse.cc.

References QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QHeader::GetRun(), rHandle, and vec.

◆ Done()

void MQVectorToQPulse::Done ( )

Done method.

Definition at line 39 of file MQVectorToQPulse.cc.

◆ Init()

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

Init method.

Definition at line 15 of file MQVectorToQPulse.cc.

References QEvent::Add(), Q_STRING_DEFAULT, and QEvent::RequireByLabel().

Member Data Documentation

◆ fConversion

bool MQVectorToQPulse::fConversion
private

Definition at line 60 of file MQVectorToQPulse.hh.

◆ fName

std::string MQVectorToQPulse::fName
private

Definition at line 59 of file MQVectorToQPulse.hh.

◆ fQVectorLabel

std::string MQVectorToQPulse::fQVectorLabel
private

Definition at line 58 of file MQVectorToQPulse.hh.


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