StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St2009ZMaker.h
1 
2 // $Id: St2009ZMaker.h,v 1.7 2014/08/06 11:43:41 jeromel Exp $
3 
4 #ifndef STAR_St2009ZMaker
5 #define STAR_St2009ZMaker
6 
18 #ifndef StMaker_H
19 #include "StMaker.h"
20 #endif
21 class StMuDstMaker;
22 class St2009WMaker;
23 class WeventDisplay;
24 class WeveEleTrack;
25 
26 class St2009ZMaker : public StMaker {
27  friend class St2009pubMcMaker;
28 
29  private:
30  // parameters
31  float par_clustFrac24Z; // ET ratio 2x2/4x4 cluster
32  float par_delR3DZ; // cm, dist between projected track and center of cluster
33  float par_nearTotEtFracZ;
34  float par_clusterEtZ;
35  float par_delPhi12;
36  float par_minMassZ;
37  float par_maxMassZ;
38 
39  St2009WMaker *wMK; // W-algo maker with all data
40  StMuDstMaker *muMK;
41  // histograms
42  TObjArray *HList;
43  enum {mxHA=64}; TH1 * hA[mxHA];
44 
45  void initHistos();
46  void find_Z_boson();
47 
48  public:
49  St2009ZMaker(const char *name="2009publWana");
50  virtual ~St2009ZMaker(){};
51  virtual Int_t Init();
52  virtual Int_t Make();
53  void setHList(TObjArray * x){HList=x;}
54 
55  void attachWalgoMaker(St2009WMaker *mk) { wMK=mk;}
56  void attachMuMaker(StMuDstMaker *mk) { muMK=mk;}
57  void setClusterFrac24(float x) {par_clustFrac24Z=x; return;}
58  void setDeltaR(float x) {par_delR3DZ=x; return;}
59  void setNearEtFrac(float x) {par_nearTotEtFracZ=x; return;}
60  void setClusterMinEt(float x) {par_clusterEtZ=x; return;}
61  void setPhi12Min(float x) {par_delPhi12=x; return;}
62  void setMinZMass(float x) {par_minMassZ=x; return;}
63  void setMaxZMass(float x) {par_maxMassZ=x; return;}
64  void printJan(WeveEleTrack *T);
65  float calcMass(WeveEleTrack T1, WeveEleTrack T2);
66  virtual Int_t InitRun(int runnumber); // Overload empty StMaker::InitRun
67  virtual Int_t FinishRun(int runnumber); // Overload empty StMaker::FinishRun
68 
69 
71  virtual const char *GetCVS() const {
72  static const char cvs[]="Tag $Name: $ $Id: St2009ZMaker.h,v 1.7 2014/08/06 11:43:41 jeromel Exp $ built " __DATE__ " " __TIME__ ;
73  return cvs;
74  }
75 
76  ClassDef(St2009ZMaker,0) //StAF chain virtual base class for Makers
77 };
78 
79 #endif
80 
81 
82 // $Log: St2009ZMaker.h,v $
83 // Revision 1.7 2014/08/06 11:43:41 jeromel
84 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
85 //
86 // Revision 1.6 2011/09/14 14:23:21 stevens4
87 // update used for cross section PRD paper
88 //
89 // Revision 1.5 2010/01/06 04:22:15 balewski
90 // added Q/PT plot for Zs, more cleanup
91 //
92 // Revision 1.4 2010/01/05 03:22:55 balewski
93 // change logic for filling btow status tables, added printout to Z-code
94 //
95 // Revision 1.3 2010/01/04 05:12:00 balewski
96 // added 4x4 cut to Z-algo, cleanup
97 //
98 // Revision 1.2 2010/01/03 04:38:24 balewski
99 // reorganized Z-algo
100 //
101 // Revision 1.1 2009/12/07 20:37:56 rcorliss
102 // Start
103 //
virtual Int_t Make()
maker to retrieve info from geant.root files for comparison with reco quantities from MC ...
muDst based extraction of W-signal from pp500 data from 2009
Definition: St2009WMaker.h:50
uses tree from W-algo to find Zs
Definition: St2009ZMaker.h:26
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
Definition: St2009ZMaker.h:71