StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ParityDevCorrFctn.h
1 #ifndef ParityDevCorrFctn_hh
2 #define ParityDevCorrFctn_hh
3 
4 #include "StHbtMaker/Infrastructure/StParityAnalysis.h"
5 #include "StHbtMaker/Infrastructure/StParityTypes.hh"
6 #include "StHbtMaker/Infrastructure/StHbtTagWriter.hh"
7 #include "StHbtMaker/Base/StHbtCorrFctn.hh"
8 #include "StHbtMaker/Cut/mikesEventCut.h"
9 
11 public:
12  ParityDevCorrFctn(const ParityDevCorrFctn& ); // copy constructor
14  virtual ~ParityDevCorrFctn();
15 
16  virtual StHbtString Report();
17  virtual void AddRealPair(const StHbtPair*);
18  virtual void AddMixedPair(const StHbtPair*);
19 
20  void ParityCompute(ParityBuff*, ParityBuff*, int);
21 
22  virtual void Finish();
23  ParityDevCorrFctn* Clone();
24 
27  StHbt1DHisto* SameKMiHistoy();
28  StHbt1DHisto* SameKMiHistoz();
29  StHbt1DHisto* SameJcHistox();
30  StHbt1DHisto* SameJcHistoy();
31  StHbt1DHisto* SameJcHistoz();
32  StHbt1DHisto* SameJcKtHisto();
33  StHbt1DHisto* SameKtwistKtHisto();
34 
35  StHbt1DHisto* MixedKMiHistox();
36  StHbt1DHisto* MixedKMiHistoy();
37  StHbt1DHisto* MixedKMiHistoz();
38  StHbt1DHisto* MixedJcHistox();
39  StHbt1DHisto* MixedJcHistoy();
40  StHbt1DHisto* MixedJcHistoz();
41  StHbt1DHisto* MixedJcKtHisto();
42  StHbt1DHisto* MixedKtwistKtHisto();
43 
44  StHbt1DHisto* JcKtBinomialHisto();
45  StHbt1DHisto* NumPairsBinHisto();
46 
47 private:
48 
49  StHbt1DHisto* mKMiSamex;
50  StHbt1DHisto* mKMiSamey;
51  StHbt1DHisto* mKMiSamez;
52  StHbt1DHisto* mJcSamex;
53  StHbt1DHisto* mJcSamey;
54  StHbt1DHisto* mJcSamez;
55  StHbt1DHisto* mJcKtSame;
56  StHbt1DHisto* mKtwistKtSame;
57 
58  StHbt1DHisto* mKMiMixedx;
59  StHbt1DHisto* mKMiMixedy;
60  StHbt1DHisto* mKMiMixedz;
61  StHbt1DHisto* mJcMixedx;
62  StHbt1DHisto* mJcMixedy;
63  StHbt1DHisto* mJcMixedz;
64  StHbt1DHisto* mJcKtMixed;
65  StHbt1DHisto* mKtwistKtMixed;
66 
67  StHbt1DHisto* mJcKtBinomial;
68  StHbt1DHisto* mNumPairsBin;
69 
70  StHbtTagWriter* mTagWriter;
71 
72 #ifdef __ROOT__
73  ClassDef(ParityDevCorrFctn, 1)
74 #endif
75 };
76 
77 
78 // histograms for parity analysis
79 inline StHbt1DHisto* ParityDevCorrFctn::SameKMiHistox(){return mKMiSamex;}
80 inline StHbt1DHisto* ParityDevCorrFctn::SameKMiHistoy(){return mKMiSamey;}
81 inline StHbt1DHisto* ParityDevCorrFctn::SameKMiHistoz(){return mKMiSamez;}
82 inline StHbt1DHisto* ParityDevCorrFctn::SameJcHistox(){return mJcSamex;}
83 inline StHbt1DHisto* ParityDevCorrFctn::SameJcHistoy(){return mJcSamey;}
84 inline StHbt1DHisto* ParityDevCorrFctn::SameJcHistoz(){return mJcSamez;}
85 inline StHbt1DHisto* ParityDevCorrFctn::SameJcKtHisto(){return mJcKtSame;}
86 inline StHbt1DHisto* ParityDevCorrFctn::SameKtwistKtHisto(){return mKtwistKtSame;}
87 
88 inline StHbt1DHisto* ParityDevCorrFctn::MixedKMiHistox(){return mKMiMixedx;}
89 inline StHbt1DHisto* ParityDevCorrFctn::MixedKMiHistoy(){return mKMiMixedy;}
90 inline StHbt1DHisto* ParityDevCorrFctn::MixedKMiHistoz(){return mKMiMixedz;}
91 inline StHbt1DHisto* ParityDevCorrFctn::MixedJcHistox(){return mJcMixedx;}
92 inline StHbt1DHisto* ParityDevCorrFctn::MixedJcHistoy(){return mJcMixedy;}
93 inline StHbt1DHisto* ParityDevCorrFctn::MixedJcHistoz(){return mJcMixedz;}
94 inline StHbt1DHisto* ParityDevCorrFctn::MixedJcKtHisto(){return mJcKtMixed;}
95 inline StHbt1DHisto* ParityDevCorrFctn::MixedKtwistKtHisto(){return mKtwistKtMixed;}
96 
97 inline StHbt1DHisto* ParityDevCorrFctn::JcKtBinomialHisto(){return mJcKtBinomial;}
98 inline StHbt1DHisto* ParityDevCorrFctn::NumPairsBinHisto(){return mNumPairsBin;}
99 
100 // end parity histograms
101 inline ParityDevCorrFctn* ParityDevCorrFctn::Clone() { ParityDevCorrFctn* c = new ParityDevCorrFctn(*this); return c;}
102 inline ParityDevCorrFctn::ParityDevCorrFctn(const ParityDevCorrFctn& fctn) :StHbtCorrFctn() {
103  mTagWriter = StHbtTagWriter::Instance();
104 }
105 
106 #endif
107 
StHbt1DHisto * SameKMiHistox()
histograms