Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

caf_util::EventQuality Class Reference

This processor removes events with bad event quality. More...

#include <EventQuality.hpp>

Inheritance diagram for caf_util::EventQuality:

cafe::Processor List of all members.

Public Member Functions

 EventQuality (const char *name)
 ~EventQuality ()
bool processEvent (cafe::Event &event)
 Called for every event.

 ClassDef (EventQuality, 0)

Private Attributes

bool _cal_empty_crate
bool _cal_coherent_noise
bool _cal_ring_of_fire
bool _cal_noon_noise
cafe::Variables _vars

Detailed Description

This processor removes events with bad event quality.

Usage: add this processor to the controller Run processor, e.g.
cafe.Run ... EventQuality(processor_name) ...
You can change default behavior via configuration file.

Optional parameters:

Author:
Viatcheslav Shary (shary@fnal.gov)

Definition at line 27 of file EventQuality.hpp.


Constructor & Destructor Documentation

caf_util::EventQuality::EventQuality const char *  name  ) 
 

Definition at line 10 of file EventQuality.cpp.

References _cal_coherent_noise, _cal_empty_crate, _cal_noon_noise, _cal_ring_of_fire, cafe::Processor::err(), cafe::Config::get(), and cafe::Processor::name().

caf_util::EventQuality::~EventQuality  )  [inline]
 

Definition at line 41 of file EventQuality.hpp.


Member Function Documentation

caf_util::EventQuality::ClassDef EventQuality  ,
 

bool caf_util::EventQuality::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::Processor.

Definition at line 35 of file EventQuality.cpp.

References _cal_coherent_noise, _cal_empty_crate, _cal_noon_noise, _cal_ring_of_fire, _vars, TMBGlobal::cal_coherent_noise(), TMBGlobal::cal_empty_crate(), TMBGlobal::cal_noon_noise(), TMBGlobal::cal_ring_of_fire(), cafe::StatPointer::EventSelected(), cafe::EventBase::get(), and cafe::Event::getGlobal().


Member Data Documentation

bool caf_util::EventQuality::_cal_coherent_noise [private]
 

Definition at line 32 of file EventQuality.hpp.

Referenced by EventQuality(), and processEvent().

bool caf_util::EventQuality::_cal_empty_crate [private]
 

Definition at line 31 of file EventQuality.hpp.

Referenced by EventQuality(), and processEvent().

bool caf_util::EventQuality::_cal_noon_noise [private]
 

Definition at line 34 of file EventQuality.hpp.

Referenced by EventQuality(), and processEvent().

bool caf_util::EventQuality::_cal_ring_of_fire [private]
 

Definition at line 33 of file EventQuality.hpp.

Referenced by EventQuality(), and processEvent().

cafe::Variables caf_util::EventQuality::_vars [private]
 

Definition at line 36 of file EventQuality.hpp.

Referenced by processEvent().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:09 2006 for CAF by doxygen 1.3.4