00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00029
00030 #ifndef _StuCutEvent_INCLUDED_
00031 #define _StuCutEvent_INCLUDED_
00032 #include <Stiostream.h>
00033 #include <stdlib.h>
00034 #include "Rtypes.h"
00035 class StEvent;
00036
00037 class StuCutEvent {
00038
00039 public:
00040
00041 StuCutEvent();
00042 virtual ~StuCutEvent();
00043
00044 static Int_t CheckEvent(StEvent* pEvent);
00045 static Int_t CheckEtaSymmetry();
00046 static void PrintCutList();
00047 static void SetMult(const Int_t lo, const Int_t hi);
00048 static void SetVertexX(const Float_t lo, const Float_t hi);
00049 static void SetVertexY(const Float_t lo, const Float_t hi);
00050 static void SetVertexZ(const Float_t lo, const Float_t hi);
00051 static void SetEtaSym(Float_t lo, Float_t hi);
00052
00053 private:
00054
00055 static UInt_t mEventN;
00056 static UInt_t mGoodEventN;
00057
00058 static UInt_t mMultCut;
00059 static Int_t mMultCuts[2];
00060
00061 static UInt_t mVertexXCut;
00062 static Float_t mVertexXCuts[2];
00063
00064 static UInt_t mVertexYCut;
00065 static Float_t mVertexYCuts[2];
00066
00067 static UInt_t mVertexZCut;
00068 static Float_t mVertexZCuts[2];
00069
00070 static UInt_t mEtaSymCutN;
00071 static Float_t mEtaSymCuts[2];
00072
00073 ClassDef(StuCutEvent,1)
00074 };
00075
00076 inline void StuCutEvent::SetMult(const Int_t lo, const Int_t hi) {
00077 mMultCuts[0] = lo; mMultCuts[1] = hi; }
00078
00079 inline void StuCutEvent::SetVertexX(const Float_t lo, const Float_t hi) {
00080 mVertexXCuts[0] = lo; mVertexXCuts[1] = hi; }
00081
00082 inline void StuCutEvent::SetVertexY(const Float_t lo, const Float_t hi) {
00083 mVertexYCuts[0] = lo; mVertexYCuts[1] = hi; }
00084
00085 inline void StuCutEvent::SetVertexZ(const Float_t lo, const Float_t hi) {
00086 mVertexZCuts[0] = lo; mVertexZCuts[1] = hi; }
00087
00088 inline void StuCutEvent::SetEtaSym(Float_t lo, Float_t hi) {
00089 mEtaSymCuts[0] = lo; mEtaSymCuts[1] = hi; }
00090
00091 #endif