00001
00002
00003
00004
00005
00006 #include "Stl3Util/gl3/gl3Algorithm.h"
00007
00008 #ifndef GL3RICH
00009 #define GL3RICH
00010
00011 #ifdef GL3ROOT
00012
00013 #include "TH2.h"
00014 #include "TNtuple.h"
00015 #include "TProfile.h"
00016
00017 #endif
00018
00019
00020
00021 class gl3RICH: public gl3Algorithm {
00022
00023 public:
00024 virtual int init ( ) ;
00025
00026 virtual int setParameters(int maxAbsVertz, int minNoOfHits, int are, int place , int holders, float minP, float minPt, float minR, float maxDCA, float minimumAbsEta );
00027
00028 virtual int decide ( ) ;
00029 virtual int end ( ) ;
00030
00031 virtual const int getAlgorithmID()
00032 { return L3_ALGORITHM_RICH; }
00033 virtual const char *getAlgorithmName()
00034 { return L3_ALGORITHM_RICH_NAME; }
00035
00036
00037 private:
00038 double mGlobalRichEdgeXmin;
00039 double mGlobalRichEdgeXmax;
00040 double mGlobalRichEdgeYmin;
00041 double mGlobalRichEdgeYmax;
00042 double mGlobalRichEdgeZmin;
00043 double mGlobalRichEdgeZmax;
00044
00045
00046 double mLocalOriginR;
00047 double mLocalOriginPhi;
00048
00049 double maxAbsEventVertZ;
00050 int minNoOfHitsOnTrack;
00051 double minPExtrapolated2Rich;
00052 double minPtExtrapolated2Rich;
00053 double minRofLastPointOnTrack;
00054 double maxDCAToEventVertex;
00055 double minAbsEta;
00056
00057
00058
00059 #ifdef GL3ROOT
00060 TH1D* hPtGlobalPosRICH;
00061 TH1D* hPtGlobalNegRICH;
00062
00063 TH1D* hPGlobalPosRICH;
00064 TH1D* hPGlobalNegRICH;
00065
00066 TH1D* hnHitsGlobalPosRICH;
00067 TH1D* hnHitsGlobalNegRICH;
00068
00069 TH1D* hXVertex;
00070 TH1D* hYVertex;
00071 TH1D* hZVertex;
00072
00073 TH1D* hdcaGlobal;
00074 TH1D* hetaRICH;
00075 TH1D* hRLast;
00076 #endif
00077
00078 };
00079 #endif