NusSandObj.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file NusSandObj.h
3 // \brief Object collecting Nus Sandbox variables
4 // \version
5 // \author gsdavies@iu.edu - Gavin Davies
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef NUSSANDOBJ_H
8 #define NUSSANDOBJ_H
9 
10 namespace nussand
11 {
12  class NusSandObj {
13  public:
14 
15  NusSandObj();
16  ~NusSandObj();
17 
18  void SetSumTX(float sumtx); ///< sum of track direction XZ-view unit vectors
19  void SetSumTY(float sumty); ///< sum of track direction YZ-view unit vectors
20  void SetEWSumTX(float ewsumtx); ///< energy-weighted sum of track direction XZ-view unit vectors
21  void SetEWSumTY(float ewsumty); ///< energy-weighted sum of track direction YZ-view unit vectors
22  void SetCosSumTX(float cossumtx); ///< cosine angle with respect to beam of sum of track direction XZ-view unit vectors
23  void SetCosSumTY(float cossumty); ///< cosine angle with respect to beam of sum of track direction YZ-view unit vectors
24  void SetCosEWSumTX(float cosewsumtx); ///< cosine angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors
25  void SetCosEWSumTY(float cosewsumty); ///< cosine angle with respect to beam of energy-weighted sum of track direction YZ-view unit vectors
26  void SetAngSumTX(float angsumtx); ///< angle with respect to beam of sum of track direction XZ-view unit vectors
27  void SetAngSumTY(float angsumty); ///< angle with respect to beam of sum of track direction XZ-view unit vectors
28  void SetAngEWSumTX(float angewsumtx); ///< angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors
29  void SetAngEWSumTY(float angewsumty); ///< angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors
30 
31  float SumTX() const;
32  float SumTY() const;
33  float EWSumTX() const;
34  float EWSumTY() const;
35  float CosSumTX() const;
36  float CosSumTY() const;
37  float CosEWSumTX() const;
38  float CosEWSumTY() const;
39  float AngSumTX() const;
40  float AngSumTY() const;
41  float AngEWSumTX() const;
42  float AngEWSumTY() const;
43 
44  protected:
45 
46  float fSumTX;
47  float fSumTY;
48  float fEWSumTX;
49  float fEWSumTY;
50  float fCosSumTX;
51  float fCosSumTY;
52  float fCosEWSumTX;
53  float fCosEWSumTY;
54  float fAngSumTX;
55  float fAngSumTY;
56  float fAngEWSumTX;
57  float fAngEWSumTY;
58  };
59 }
60 #endif
float EWSumTX() const
Definition: NusSandObj.cxx:112
void SetSumTY(float sumty)
sum of track direction YZ-view unit vectors
Definition: NusSandObj.cxx:34
void SetAngSumTY(float angsumty)
angle with respect to beam of sum of track direction XZ-view unit vectors
Definition: NusSandObj.cxx:82
void SetCosSumTY(float cossumty)
cosine angle with respect to beam of sum of track direction YZ-view unit vectors
Definition: NusSandObj.cxx:58
Sandbox to make objects for nu_s analysis in CAF.
Definition: FillSandboxes.h:8
float CosSumTX() const
Definition: NusSandObj.cxx:124
void SetCosEWSumTX(float cosewsumtx)
cosine angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors ...
Definition: NusSandObj.cxx:64
float AngSumTY() const
Definition: NusSandObj.cxx:154
void SetCosEWSumTY(float cosewsumty)
cosine angle with respect to beam of energy-weighted sum of track direction YZ-view unit vectors ...
Definition: NusSandObj.cxx:70
float AngSumTX() const
Definition: NusSandObj.cxx:148
float CosEWSumTY() const
Definition: NusSandObj.cxx:142
void SetAngSumTX(float angsumtx)
angle with respect to beam of sum of track direction XZ-view unit vectors
Definition: NusSandObj.cxx:76
void SetAngEWSumTY(float angewsumty)
angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors ...
Definition: NusSandObj.cxx:94
void SetEWSumTY(float ewsumty)
energy-weighted sum of track direction YZ-view unit vectors
Definition: NusSandObj.cxx:46
void SetCosSumTX(float cossumtx)
cosine angle with respect to beam of sum of track direction XZ-view unit vectors
Definition: NusSandObj.cxx:52
float AngEWSumTX() const
Definition: NusSandObj.cxx:160
float EWSumTY() const
Definition: NusSandObj.cxx:118
float CosSumTY() const
Definition: NusSandObj.cxx:130
float CosEWSumTX() const
Definition: NusSandObj.cxx:136
void SetEWSumTX(float ewsumtx)
energy-weighted sum of track direction XZ-view unit vectors
Definition: NusSandObj.cxx:40
float SumTX() const
Definition: NusSandObj.cxx:100
void SetAngEWSumTX(float angewsumtx)
angle with respect to beam of energy-weighted sum of track direction XZ-view unit vectors ...
Definition: NusSandObj.cxx:88
void SetSumTX(float sumtx)
sum of track direction XZ-view unit vectors
Definition: NusSandObj.cxx:28
float AngEWSumTY() const
Definition: NusSandObj.cxx:166
float SumTY() const
Definition: NusSandObj.cxx:106