BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TKinemCut.h
Go to the documentation of this file.
1#ifndef RAD_TKinemCut
2#define RAD_TKinemCut
3
4#include "TRadGlobal.h"
5#include "TConstants.h"
6#include <iostream>
7
9protected:
11 double fDeltaPhi;
12 double fPAverage;
13 double fPCross;
14 double fEMin;
16 double fPCrossAbs;
17 double fEMinAbs;
18 double fCosPsi;
21 double fThetaMin;
22 double fThetaMax;
27public:
30 double DeltaTheta(){return fDeltaTheta;}
31 double DeltaPhi(){return fDeltaPhi;}
32 double PAverage(){return fPAverage;}
33 double PCross(){return fPCross;}
34 double EMin(){return fEMin;}
35 double CosPsi(){return fCosPsi;}
38 double ThetaMin(){return fThetaMin;}
39 double ThetaMax(){return fThetaMax;}
40 double ThetaMinM(){return fThetaMinMinus;}
41 double ThetaMaxM(){return fThetaMaxMinus;}
42 double ThetaMinP(){return fThetaMinPlus;}
43 double ThetaMaxP(){return fThetaMaxPlus;}
44
45 void DeltaTheta(const double& x){ fDeltaTheta = x;}
46 void DeltaPhi(const double& x){ fDeltaPhi = x;}
47 void PAverage(const double& x){ fPAverageAbs = x;}
48 void PCross(const double& x){ fPCrossAbs = x;}
49 void EMin(const double& x){ fEMinAbs = x;}
50 void CosPsi(const double& x){ fCosPsi = x;}
51 void AverageTheta(const double& x){
54 }
55 void AverageThetaMin(const double& x){ fAverageThetaMin = x;}
56 void AverageThetaMax(const double& x){ fAverageThetaMax = x;}
57 void ThetaMinM(const double &x){fThetaMinMinus = x; fThetaMaxMinus = gConst->Pi()-x;}
58 void ThetaMinP(const double &x){fThetaMinPlus = x; fThetaMaxPlus = gConst->Pi()-x;}
59 void ThetaRangeM(const double &th_min, const double &th_max){
60 fThetaMinMinus = th_min;
61 fThetaMaxMinus = th_max;
62 }
63 void ThetaRangeP(const double &th_min, const double &th_max){
64 fThetaMinPlus = th_min;
65 fThetaMaxPlus = th_max;
66 }
67
68 void Init();
69 void Default();
70 void Print();
71};
72
73extern TKinemCut *gCut;
74
75
76#endif // ifndef RAD_TKinemCut
Double_t x[10]
TConstants * gConst
Definition: Mcgpj.cxx:49
TKinemCut * gCut
Definition: Mcgpj.cxx:48
static double Pi()
Definition: TConstants.h:39
double fThetaMax
Definition: TKinemCut.h:22
void PCross(const double &x)
Definition: TKinemCut.h:48
void DeltaTheta(const double &x)
Definition: TKinemCut.h:45
double fCosPsi
Definition: TKinemCut.h:18
double fDeltaPhi
Definition: TKinemCut.h:11
double fThetaMinPlus
Definition: TKinemCut.h:25
double DeltaPhi()
Definition: TKinemCut.h:31
void PAverage(const double &x)
Definition: TKinemCut.h:47
~TKinemCut()
Definition: TKinemCut.h:29
void Print()
double ThetaMax()
Definition: TKinemCut.h:39
double fPAverageAbs
Definition: TKinemCut.h:15
double fEMin
Definition: TKinemCut.h:14
double DeltaTheta()
Definition: TKinemCut.h:30
double ThetaMin()
Definition: TKinemCut.h:38
void CosPsi(const double &x)
Definition: TKinemCut.h:50
double fPAverage
Definition: TKinemCut.h:12
double AverageThetaMin()
Definition: TKinemCut.h:36
double ThetaMaxP()
Definition: TKinemCut.h:43
double fAverageThetaMin
Definition: TKinemCut.h:19
void AverageTheta(const double &x)
Definition: TKinemCut.h:51
void ThetaMinM(const double &x)
Definition: TKinemCut.h:57
void AverageThetaMax(const double &x)
Definition: TKinemCut.h:56
void Default()
double fAverageThetaMax
Definition: TKinemCut.h:20
double fEMinAbs
Definition: TKinemCut.h:17
double PAverage()
Definition: TKinemCut.h:32
void ThetaRangeP(const double &th_min, const double &th_max)
Definition: TKinemCut.h:63
void DeltaPhi(const double &x)
Definition: TKinemCut.h:46
void AverageThetaMin(const double &x)
Definition: TKinemCut.h:55
double ThetaMinP()
Definition: TKinemCut.h:42
double CosPsi()
Definition: TKinemCut.h:35
double fThetaMaxPlus
Definition: TKinemCut.h:26
double fThetaMaxMinus
Definition: TKinemCut.h:24
double fDeltaTheta
Definition: TKinemCut.h:10
double ThetaMaxM()
Definition: TKinemCut.h:41
double fPCrossAbs
Definition: TKinemCut.h:16
double fThetaMinMinus
Definition: TKinemCut.h:23
double ThetaMinM()
Definition: TKinemCut.h:40
double EMin()
Definition: TKinemCut.h:34
void ThetaMinP(const double &x)
Definition: TKinemCut.h:58
void EMin(const double &x)
Definition: TKinemCut.h:49
double fPCross
Definition: TKinemCut.h:13
void ThetaRangeM(const double &th_min, const double &th_max)
Definition: TKinemCut.h:59
double AverageThetaMax()
Definition: TKinemCut.h:37
double fThetaMin
Definition: TKinemCut.h:21
double PCross()
Definition: TKinemCut.h:33
void Init()