StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St2011pubMcMaker.h
1 // $Id: St2011pubMcMaker.h,v 1.2 2014/08/06 11:43:41 jeromel Exp $
2 //
3 //*-- Author : Justin Stevens, IUCF
4 
5 
6 #ifndef STAR_St2011pubMcMaker
7 #define STAR_St2011pubMcMaker
8 
23 #ifndef StMaker_H
24 #include "StMaker.h"
25 #endif
26 #include <TH2.h>
27 #include <TVector3.h>
28 class St2011WMaker;
29 
30 class St2011pubMcMaker : public StMaker {
31  private:
32 
33  St2011WMaker *wMK; // W-algo maker with all data
34 
35  // histograms
36  TObjArray *HList;
37  enum {mxHA=128}; TH1 * hA[mxHA];
38 
39  void initHistos();
40  void doWanalysis();
41  void doWefficiency();
42  bool doMCanalysis();
43 
44  TVector3 mWP;
45  TVector3 mNeutrinoP;
46  TVector3 mElectronP;
47  TVector3 mVertex;
48 
49  public:
50  St2011pubMcMaker(const char *name="2011pubMc");
51  virtual ~St2011pubMcMaker();
52  virtual Int_t Init();
53  virtual Int_t Make();
54  void setHList(TObjArray * x){HList=x;}
55 
56  void attachWalgoMaker(St2011WMaker *mk) { wMK=mk;}
57 
58  virtual Int_t InitRun (int runumber){return 0;}; // Overload empty StMaker::InitRun
59  virtual Int_t FinishRun(int runumber){return 0;}; // Overload empty StMaker::FinishRun
60 
61 
62 
64  virtual const char *GetCVS() const {
65  static const char cvs[]="Tag $Name: $ $Id: St2011pubMcMaker.h,v 1.2 2014/08/06 11:43:41 jeromel Exp $ built " __DATE__ " " __TIME__ ;
66  return cvs;
67  }
68 
69  ClassDef(St2011pubMcMaker,0) //StAF chain virtual base class for Makers
70 };
71 
72 #endif
73 
74 
75 // $Log: St2011pubMcMaker.h,v $
76 // Revision 1.2 2014/08/06 11:43:41 jeromel
77 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
78 //
79 // Revision 1.1 2011/02/10 20:33:25 balewski
80 // start
81 //
virtual Int_t Make()
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
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 2011
Definition: St2011WMaker.h:49