StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St2011WlumiMaker.h
1 // $Id: St2011WlumiMaker.h,v 1.3 2014/08/06 11:43:41 jeromel Exp $
2 //
3 //*-- Author : Jan Balewski, MIT
4 
5 
6 #ifndef STAR_St2011WlumiMaker
7 #define STAR_St2011WlumiMaker
8 
21 #ifndef StMaker_H
22 #include "StMaker.h"
23 #endif
24 
25 class St2011WMaker;
26 
27 class St2011WlumiMaker : public StMaker {
28  private:
29  St2011WMaker *wMK; // W-algo maker with all data
30 
31  // histograms
32  TObjArray *HList;
33  enum {mxHA=8}; TH1 * hA[mxHA];
34 
35  void initHistos();
36  void bXingSort();
37 
38  public:
39  St2011WlumiMaker(const char *name="2011Wlumi");
40  virtual ~St2011WlumiMaker(){};
41  virtual Int_t Init();
42  virtual Int_t Make();
43  void setHList(TObjArray * x){HList=x;}
44  void attachWalgoMaker(St2011WMaker *mk) { wMK=mk;}
45 
46  virtual Int_t InitRun(int runumber); // Overload empty StMaker::InitRun
47  virtual Int_t FinishRun(int runumber); // Overload empty StMaker::FinishRun
48 
49 
51  virtual const char *GetCVS() const {
52  static const char cvs[]="Tag $Name: $ $Id: St2011WlumiMaker.h,v 1.3 2014/08/06 11:43:41 jeromel Exp $ built " __DATE__ " " __TIME__ ;
53  return cvs;
54  }
55 
56  ClassDef(St2011WlumiMaker,0) //StAF chain virtual base class for Makers
57 };
58 
59 #endif
60 
61 
62 // $Log: St2011WlumiMaker.h,v $
63 // Revision 1.3 2014/08/06 11:43:41 jeromel
64 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
65 //
66 // Revision 1.2 2012/09/14 21:02:29 balewski
67 // *lumi-maker re-written to accumulate alternative rel lumi monitors,
68 // * added spin sorting to Zs
69 //
70 // Revision 1.1 2011/02/10 20:33:24 balewski
71 // start
72 //
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
virtual Int_t Make()
muDst based extraction of W-signal from pp500 data from 2011
Definition: St2011WMaker.h:49
accumulates alternative rel lumi monitors based on jet events