00001 #ifndef VIS_SIM_BASE_VIS_G4_TRACK_PT_TWIG_H 00002 # define VIS_SIM_BASE_VIS_G4_TRACK_PT_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include <limits> 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class VisG4TracksTwig; 00014 class G4Trajectory; 00015 00016 //<<<<<< PUBLIC VARIABLES >>>>>> 00017 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00018 //<<<<<< CLASS DECLARATIONS >>>>>> 00019 00020 class VisG4TrackPtTwig : public VisQueuedTwig 00021 { 00022 public: 00023 VisG4TrackPtTwig (IgState *state, IgTwig *parent, std::string name, 00024 unsigned colour, bool highpt, VisG4TracksTwig *tracks, 00025 const int *ids); 00026 00027 using VisQueuedTwig::update; 00028 virtual void update (IgTextRep *rep); 00029 virtual void update (Ig3DRep *rep); 00030 virtual void cutChanged (void); 00031 00032 private: 00033 bool rejectTrajectory (const G4Trajectory *traj) const; 00034 00035 VisG4TracksTwig *m_tracks; 00036 bool m_isHighPt; 00037 bool m_inclusive; 00038 const int *m_ids; 00039 unsigned m_rgba; 00040 }; 00041 00042 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00043 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00044 00045 #endif // VIS_SIM_BASE_VIS_G4_TRACK_PT_TWIG_H