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

Selects events maching run type. More...

Inheritance diagram for MSelectRunType:

Public Member Functions

void GetCuts (const Diana::QEvent &ev)
 Get cuts from config file. More...
 
bool Filter (const Diana::QEvent &ev)
 return true if ev passes the cuts More...
 

Private Attributes

RunType fRunType
 

Detailed Description

Selects events maching run type.

Author
M. Vignati

Definition at line 35 of file MSelectRunType.hh.

Member Function Documentation

◆ Filter()

bool MSelectRunType::Filter ( const Diana::QEvent &  ev)

return true if ev passes the cuts

Definition at line 18 of file MSelectRunType.cc.

References QRunData::fSourceType, QRunData::fType, QEvent::Get(), rHandle, and RT_REPROCESS.

◆ GetCuts()

void MSelectRunType::GetCuts ( const Diana::QEvent &  ev)

Get cuts from config file.

Definition at line 12 of file MSelectRunType.cc.

References DianaThrow, err, and QERR_SUCCESS.

Member Data Documentation

◆ fRunType

RunType MSelectRunType::fRunType
private

Definition at line 46 of file MSelectRunType.hh.


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