QwAnalysis
QwFakeHelicity.h
Go to the documentation of this file.
1 /**********************************************************\
2 * File: QwFakeHelicity.h *
3 * *
4 * Author: B.Waidyawansa *
5 * Time-stamp:03-06-2010 *
6 \**********************************************************/
7 /**
8  The QwFakeHelicity class uses a pregenerated random seed to generate
9  the fake helicity signal that then can be used to perfrom helicity
10  related calculations.
11 */
12 
13 
14 #ifndef __QwFAKEHELICITY__
15 #define __QwFAKEHELICITY__
16 
17 #include "QwHelicity.h"
18 
19 class QwFakeHelicity: public QwHelicity {
20  public:
21  QwFakeHelicity(TString region_tmp):VQwSubsystem(region_tmp),QwHelicity(region_tmp),fMinPatternPhase(1)
22 
23  {
24  // using the constructor of the base class
25  };
26 
27  virtual ~QwFakeHelicity() { };
28 
29  void ClearEventData();
30  Bool_t IsGoodHelicity();
31  void ProcessEvent();
32 
33  protected:
35 
36  Bool_t CollectRandBits();
37  UInt_t GetRandbit(UInt_t& ranseed);
38 
39 };
40 
41 #endif
QwFakeHelicity(TString region_tmp)
virtual ~QwFakeHelicity()
Bool_t IsGoodHelicity()
Int_t fMinPatternPhase
The pure virtual base class of all subsystems.
Definition: VQwSubsystem.h:59
Bool_t CollectRandBits()
UInt_t GetRandbit(UInt_t &ranseed)