StRoot
1
|
#include <StMuCut.h>
Public Member Functions | |
bool | pass (const StEvent *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StTrack *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StV0Vertex *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StXiVertex *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StKinkVertex *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StV0MuDst *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StXiMuDst *) |
called by user code, returns true if argument passes cuts, else false | |
bool | pass (const StKinkMuDst *) |
called by user code, returns true if argument passes cuts, else false | |
Protected Member Functions | |
virtual bool | accept (const StEvent *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StTrack *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StV0Vertex *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StXiVertex *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StKinkVertex *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StV0MuDst *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StXiMuDst *)=0 |
abstract cut function, has to be overwritten by derived class | |
virtual bool | accept (const StKinkMuDst *)=0 |
abstract cut function, has to be overwritten by derived class | |
bool | leave (bool b, unsigned int counter[2]) |
increment pass/fail counter (2nd argument) depending on 1st argument and return 1st argument | |
Abstract base class for cut objects Implementations will have to overwrite the abstract virtual but protected accept() functions. User code, however, will call the non-virtual pass() funstions which will call() accept and keep track of counters.