StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St2011ZMaker.h
1 
2 // $Id: St2011ZMaker.h,v 1.5 2014/08/06 11:43:41 jeromel Exp $
3 
4 #ifndef STAR_St2011ZMaker
5 #define STAR_St2011ZMaker
6 
18 #ifndef StMaker_H
19 #include "StMaker.h"
20 #endif
21 class StMuDstMaker;
22 class St2011WMaker;
23 class WeventDisplay;
24 class WeveEleTrack;
25 
26 class St2011ZMaker : public StMaker {
27  private:
28  // parameters
29  float par_nearTotEtFracZ;
30  float par_clusterEtZ;
31  float par_delPhi12;
32  float par_minMassZ;
33  float par_maxMassZ;
34 
35  St2011WMaker *wMK; // W-algo maker with all data
36  StMuDstMaker *muMK;
37  // histograms
38  TObjArray *HList;
39  enum {mxHA=100}; TH1 * hA[mxHA];
40 
41  void initHistos();
42  void find_Z_boson();
43  void findEndcap_Z_boson();
44 
45  public:
46  St2011ZMaker(const char *name="2011Zalgo");
47  virtual ~St2011ZMaker(){};
48  virtual Int_t Init();
49  virtual Int_t Make();
50  void setHList(TObjArray * x){HList=x;}
51 
52  void attachWalgoMaker(St2011WMaker *mk) { wMK=mk;}
53  void attachMuMaker(StMuDstMaker *mk) { muMK=mk;}
54  void setNearEtFrac(float x) {par_nearTotEtFracZ=x; return;}
55  void setClusterMinEt(float x) {par_clusterEtZ=x; return;}
56  void setPhi12Min(float x) {par_delPhi12=x; return;}
57  void setMinZMass(float x) {par_minMassZ=x; return;}
58  void setMaxZMass(float x) {par_maxMassZ=x; return;}
59  void printJan(WeveEleTrack *T);
60  virtual Int_t InitRun(int runnumber); // Overload empty StMaker::InitRun
61  virtual Int_t FinishRun(int runnumber); // Overload empty StMaker::FinishRun
62 
63 
65  virtual const char *GetCVS() const {
66  static const char cvs[]="Tag $Name: $ $Id: St2011ZMaker.h,v 1.5 2014/08/06 11:43:41 jeromel Exp $ built " __DATE__ " " __TIME__ ;
67  return cvs;
68  }
69 
70  ClassDef(St2011ZMaker,0) //StAF chain virtual base class for Makers
71 };
72 
73 #endif
74 
75 
76 // $Log: St2011ZMaker.h,v $
77 // Revision 1.5 2014/08/06 11:43:41 jeromel
78 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
79 //
80 // Revision 1.4 2012/08/21 17:40:09 stevens4
81 // Revert to previous version
82 //
83 // Revision 1.2 2012/06/26 20:30:23 stevens4
84 // Updates ZMaker for mixing barrel and endcap arms
85 //
86 // Revision 1.1 2011/02/10 20:33:24 balewski
87 // start
88 //
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
Definition: St2011ZMaker.h:65
virtual Int_t Make()
muDst based extraction of W-signal from pp500 data from 2011
Definition: St2011WMaker.h:49
uses tree from W-algo to find Zs
Definition: St2011ZMaker.h:26