StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPmdDiscriminator.h
1 
5 /******************************************************************
6  *
7  * $Id: StPmdDiscriminator.h,v 1.2 2003/05/29 13:12:51 subhasis Exp $
8  *
9  * Author: Subhasis Chattopadhyay
10  *
11  ******************************************************************
12  *
13  * Description:
14  ******************************************************************
15  *
16  * $Log: StPmdDiscriminator.h,v $
17  * Revision 1.2 2003/05/29 13:12:51 subhasis
18  * several changes to include NN
19  *
20  ******************************************************************/
21 
22 #ifndef STAR_StPmdDiscriminator
23 #define STAR_StPmdDiscriminator
24 #include <TH2.h>
25 #include <TH1.h>
26 #include <TCanvas.h>
27 
28 
29 class StPmdDetector;
31 
32  private:
33  Int_t m_photonlike;
34  Float_t mEdepThreshold;
35  Float_t mEdepcut;
36 
37  StPmdDetector* m_PmdDet;
38  StPmdDetector* m_CpvDet;
39  protected:
40 
41  public:
43  virtual ~StPmdDiscriminator();
44 
45  virtual void Discriminate();
46  virtual void Print();
47  // virtual void Matching();
48  virtual void SetEdepcut(Float_t);
49 
50  void getClusterPID();
51  void bookHistograms();
52  void Browse(TBrowser* b);
53 
54 
55  ClassDef(StPmdDiscriminator, 1)
56 };
57 
58 inline void StPmdDiscriminator::SetEdepcut(Float_t cut){mEdepcut=cut;}
59 
60 
61 #endif
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
void getClusterPID()
returns the ClusterId