lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Drp::EventSelect Class Reference

Event filter on event codes and beam destinations: an event is selected if it matches an include condition and no exclude condition; a value of 0 is never matched. More...

#include <TTFex.hh>

Public Member Functions

 EventSelect ()
 Set the include and exclude event codes and destinations to 0 (unused).
 
bool select (const EventInfo &) const
 Return true if info has the include event code or the include destination, and has neither the exclude event code nor the exclude destination.
 
void set_incl_eventcode (unsigned code)
 Set the event code that selects an event (0 never matches).
 
void set_excl_eventcode (unsigned code)
 Set the event code that rejects an event (0 never matches).
 
void set_incl_destination (unsigned dest)
 Set the beam destination that selects an event (0 never matches).
 
void set_excl_destination (unsigned dest)
 Set the beam destination that rejects an event (0 never matches).
 

Detailed Description

Event filter on event codes and beam destinations: an event is selected if it matches an include condition and no exclude condition; a value of 0 is never matched.

Constructor & Destructor Documentation

◆ EventSelect()

Drp::EventSelect::EventSelect ( )
inline

Set the include and exclude event codes and destinations to 0 (unused).

Member Function Documentation

◆ select()

bool Drp::EventSelect::select ( const EventInfo &  ) const

Return true if info has the include event code or the include destination, and has neither the exclude event code nor the exclude destination.

◆ set_excl_destination()

void Drp::EventSelect::set_excl_destination ( unsigned  dest)
inline

Set the beam destination that rejects an event (0 never matches).

◆ set_excl_eventcode()

void Drp::EventSelect::set_excl_eventcode ( unsigned  code)
inline

Set the event code that rejects an event (0 never matches).

◆ set_incl_destination()

void Drp::EventSelect::set_incl_destination ( unsigned  dest)
inline

Set the beam destination that selects an event (0 never matches).

◆ set_incl_eventcode()

void Drp::EventSelect::set_incl_eventcode ( unsigned  code)
inline

Set the event code that selects an event (0 never matches).


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