-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTGenElas.h
executable file
·65 lines (53 loc) · 1.54 KB
/
TGenElas.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// TGenElas.h, v1.0, Tue Aug 4 11:13:57
// Author: C. Munoz Camacho
//
#ifndef __TGenElas__
#define __TGenElas__
#ifndef __TGenBase__
#include "TGenBase.h"
#endif
#ifndef ROOT_TLorentzVector
#include "TLorentzVector.h"
#endif
////////////////////////////////////////////////////////////////////////////////
//
// TGenElas.h
//
// DVCS Event generator class
//
////////////////////////////////////////////////////////////////////////////////
class TGenElas : public TGenBase
{
private :
TLorentzVector* fp; // Recoil particle
Double_t fSigmaP; // Sigma plus cross-section
Double_t fSigmaM; // Sigma minus cross-section
Double_t fPSF; // Phase space factor of the event
public :
TGenElas(Double_t Ebeam, Int_t TargType, UInt_t seed1=1, UInt_t seed2=2);
TGenElas(const TGenElas&);
virtual ~TGenElas();
virtual void Print(char* opt="");
void IntRCBef(void);
void IntRCAft(void);
void ComputeElas(void);
Double_t KellyE(Double_t);
Double_t KellyM(Double_t);
Double_t ArringE(Double_t);
Double_t ArringM(Double_t);
Double_t XSec(void);
Double_t XSecKelly(void);
Double_t XSecArrington(void);
Double_t XSecTotal(Int_t steps=1000);
Double_t XSecMax(void);
void GenKin(void);
// void ComputeDVCS(void);
// void Compute2Body(Double_t m);
void ApplySpecVerAcc(Double_t aav=-1.);
Double_t GetPSF(void) { return fPSF ; }
TLorentzVector* GetFinalProton(void);
void Write2File(void);
ClassDef(TGenElas,1) // Elastic Event Generator Class
}; // End of TGenElas class definition
#endif