4 #ifndef STAR_StVirtualEventFilter
5 #define STAR_StVirtualEventFilter
34 Int_t IsOn() {
return GetFlag();}
35 Int_t IsOff(){
return !GetFlag();}
36 virtual Int_t GetFlag();
38 Int_t Turn(Int_t flag=1);
39 Int_t TurnOn() {
return Turn();}
40 Int_t TurnOff(){
return Turn(0);}
41 Int_t Toggle() {
return GetFlag()? TurnOff():TurnOn();}
42 virtual Int_t Channel(
StGlobalTrack *globTrack,Size_t &size,Style_t &style);
43 virtual Int_t Channel(
const StObjArray *hitCollection,Size_t &size,Style_t &style);
44 virtual Int_t Channel(
const TTableSorter *tableObject,Int_t index,Size_t &size,Style_t &style);
45 virtual Int_t Channel(
const StVertex *vertexObject,Size_t &size,Style_t &style);
46 virtual Int_t Channel(
const TTable *tableObject,Int_t rowNumber,Size_t &size,Style_t &style);
47 virtual Int_t Reset(Int_t reset=0){
return reset;}
48 ULong_t SetOptions(ULong_t opt);
53 inline ULong_t StVirtualEventFilter::GetOptions(){
return mOptions;}
54 inline ULong_t StVirtualEventFilter::SetOptions(ULong_t opt){ ULong_t o = GetOptions(); mOptions = opt;
return o;}
55 inline Int_t StVirtualEventFilter::Turn(Int_t flag){ Int_t s = GetFlag(); m_ActiveFlag = flag;
return s;}