1 #include "StVirtualEventFilter.h"
41 Int_t StVirtualEventFilter::Channel(
StGlobalTrack *,Size_t &,Style_t &)
43 static Int_t colorTrack = kRed;
45 if (colorTrack > 20) colorTrack = kRed;
46 return GetFlag() ? colorTrack : 0 ;
49 Int_t StVirtualEventFilter::Channel(
const StObjArray *,Size_t &,Style_t &)
50 {
return GetFlag()? kYellow : 0 ;}
53 Int_t StVirtualEventFilter::Channel(
const TTableSorter *,Int_t index,Size_t &,Style_t &)
54 {
return GetFlag()? (kGreen+index)%20 : 0 ;}
56 Int_t StVirtualEventFilter::Channel(
const StVertex *,Size_t &,Style_t &)
57 {
return GetFlag()? kBlue : 0 ; }
60 Int_t StVirtualEventFilter::Channel(
const TTable *,Int_t rowNumber,Size_t &,Style_t &)
61 {
return GetFlag()? (kGreen+rowNumber)%20 : 0 ;}