00001
00002
00004
00005
00007
00008 #ifndef STAR_StHighPtFilter
00009 #define STAR_StHighPtFilter
00010 #include <string>
00011 #include "StMCFilter.h"
00012 class StHepParticleMaster;
00013 class StG3ParticleMaster;
00014 class StGenParticleMaster;
00017 class StHighPtFilter: public StMCFilter {
00018
00019
00020 public:
00021
00022 StHighPtFilter();
00023 virtual ~StHighPtFilter(){;}
00024
00027 int RejectEG(const StGenParticleMaster &ptl) const;
00028
00031 int RejectGT(const StGenParticleMaster &ptl) const;
00032
00035 int RejectGE(const StGenParticleMaster &ptl) const;
00036
00037 void readConfig();
00038 void parseConfig( std::string key, double value );
00039
00040 public:
00041 protected:
00042
00043 double mPtCut;
00044 double mEtaCut;
00045
00046 };
00047
00048 #endif
00049