/[PAMELA software]/PamVMC_update/include/PamVMC2PiAux.h
ViewVC logotype

Contents of /PamVMC_update/include/PamVMC2PiAux.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Oct 15 15:52:31 2013 UTC (11 years, 1 month ago) by formato
Branch: MAIN, rel
CVS Tags: reltag, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
PamVMC update

1 #include <iostream>
2 #include <TString.h>
3 #include <TObject.h>
4 #include <TMath.h>
5 #include <TRandom.h>
6 #include <TVector2.h>
7 #include <TVector3.h>
8
9 #ifndef PAMVMC2PIAUX_H
10 #define PAMVMC2PIAUX_H
11
12 using std::cout;
13 using std::endl;
14 using TMath::Pi;
15 using TMath::Sin;
16 using TMath::Cos;
17 using TMath::ATan;
18 using TMath::Power;
19 using TMath::Sqrt;
20 using TMath::DegToRad;
21 using TMath::RadToDeg;
22 using TMath::ACos;
23 using TMath::ASin;
24 using TMath::ATan2;
25 using TMath::TwoPi;
26
27 #define SHELL3RR 248.451
28 #define SHELL3RZ 138.935
29 #define ZS2MAX (73.1889 + 0.25)
30 #define XS2 -9.0
31 #define YS2 -7.5046
32 #define XS1 20.4184
33 #define YS1 16.5138
34 #define ZS1 101.489
35 #define GPAXCARD (15.7968531 + 1.0)
36 #define GPAYCARD (13.1706848 + 1.0)
37 #define RCY 44.3986
38
39 #define TWOPIDEBUG 1
40
41 class PamVMC2PiAux : public TObject {
42
43 TRandom *frandom; //Random object, class is not owner of this SetRandom used
44 Double_t fsphar, fzminc, fzmins, fthmax, farea;
45
46 void gsurf();
47
48 public:
49
50 PamVMC2PiAux() {
51 gsurf();
52 };
53
54 virtual ~PamVMC2PiAux(){};
55
56 void SetRandom(TRandom *rnd) { frandom = rnd; };
57
58 void GenPosAng(TVector3& pos, TVector2& ang);
59
60 Double_t GetArea(){ return farea; };
61
62 void Print(const Option_t* ="") const {
63 // Will see .... //
64 cout<<"PAMVMC 2PI GENERATOR INFO:"<<endl;
65 };
66
67
68 };
69
70 #endif //PAMVMC2PIAUX

  ViewVC Help
Powered by ViewVC 1.1.23