StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
digbeam.h
1 #ifndef MAPS_BEAM_H
2 #define MAPS_BEAM_H
3 
4 #include <TNamed.h>
5 #include <TList.h>
6 #include <TGraph.h>
7 #include "Riostream.h"
8 #include "vector"
9 
10 // ROOT classes
11 #include "TString.h"
12 #include "TObject.h"
13 #include "TVector.h"
14 #include "TFile.h"
15 #include "TSystem.h"
16 #include "TRandom.h"
17 #include "TH1.h"
18 #include "TH2.h"
19 #include "TObjArray.h"
20 #include "TTree.h"
21 #include "TBranch.h"
22 #include "TClonesArray.h"
23 using namespace std;
24 
25 
26 class DIGInitialize;
27 class DIGPlane;
28 class DIGADC;
29 class DIGBeam;
30 class DIGTransport;
31 class DIGParticle;
32 class DIGAction;
33 class DIGEvent;
34 class DIGMAPS;
35 
36 
37 //==============================================================================
38 class DIGBeam : public TObject {
39  public:
40  DIGBeam();
41  DIGBeam(Int_t RunNumber,Int_t NumberOfEvents,Float_t ParticleDensity,Float_t ThetaIncidentDeg,Float_t PhiIncidentDeg,
42  Int_t BeamParameter);
43  // DIGPlane(char *name,char *title);
44  virtual ~DIGBeam();
45  void SetRunNumber(Int_t RunNumber);
46  void SetNumberOfEvents(Int_t NumberOfEvents);
47  void SetParticleDensity(Float_t ParticleDensity);
48  void SetThetaIncidentDeg(Float_t ThetaIncidentDeg);
49  void SetPhiIncidentDeg(Float_t PhiIncidentDeg);
50  void SetBeamOption(Int_t BeamOption);
51  void PrintInfo();
52 
53  Int_t GetRunNumber(){return fRunNumber;}
54  Int_t GetNumberOfEvents(){return fNumberOfEvents;}
55  Float_t GetParticleDensity(){return fParticleDensity;}
56  Float_t GetThetaIncidentDeg(){return fThetaIncidentDeg;}
57  Float_t GetPhiIncidentDeg(){return fPhiIncidentDeg;}
58  Int_t GetBeamOption(){return fBeamOption;}
59 
60  protected:
61 
62  Int_t fBeamOption;
63  Int_t fRunNumber;
64  Int_t fNumberOfEvents;
65  Float_t fParticleDensity;
66  Float_t fThetaIncidentDeg;
67  Float_t fPhiIncidentDeg;
68 
69 
70  ClassDef(DIGBeam,1);
71 };
72 
73 
74 
75 
76 //==============================================================================
77 
78 #endif
Definition: digadc.h:36