Main Page   Compound List   File List   Compound Members   File Members  

RMCEvent.hh

Go to the documentation of this file.
00001 
00006 #ifndef _rmcevent_h
00007 #define _rmcevent_h
00008 
00009 #include <math.h>
00010 #include <iostream.h>
00011 #include <string.h>
00012 #include "ReactorEvent.hh"
00013 #include "ReactorDetector.hh"
00014 #include "RMCSecondary.hh"
00015 #include "TObject.h"
00016 #include "TClonesArray.h"
00017 #include "TObjArray.h"
00018 #include "TRef.h"
00019 #include "iostream.h"
00020 #include "TTree.h"
00021 #include "TChain.h"
00022 #include "TBranch.h"
00023 #include "TFile.h"
00024 #include "TNamed.h"
00025 #include "TBuffer.h"
00026 #include "TControlBar.h"
00027 #include "TCut.h"
00028 #include "TEventList.h"
00029 #include "TString.h"
00030 #include "TH1.h"
00031 #include "TButton.h"
00032 #include "TArrayI.h"
00033 #include "TList.h"
00034 
00035 
00036 #include "TTreeFormula.h"
00037 #include "TProofServ.h"
00038 #include "TSystem.h"
00039 
00040 
00041 class RMCEvent : public TObject
00042 {
00043   
00044  public:
00045 
00046   RMCEvent                           ();
00047   ~RMCEvent                          ();
00048 
00049   void SetEventType(int eventtype){fEventType = eventtype;}; 
00050   void SetEventNum(int eventnum){fEventNum = eventnum;}; 
00051   void SetInteractionVertex(double* rint)
00052        {
00053          fInteractionVertex[0]= *rint++;
00054          fInteractionVertex[1]= *rint++;
00055          fInteractionVertex[2]= *rint++;
00056        };
00057   void SetKEParent(double energy){fKEParent = energy;}; 
00058   void SetNumParticles(int nsecondaries){fNumSecondaries = nsecondaries;}; 
00059 
00060   int GetEventType(){return fEventType;}; 
00061   int GetEventNum(){return fEventNum;}
00062   double* GetInteractionVertex(){return fInteractionVertex;}
00063   double GetKEParent(){return fKEParent;}
00064   int GetNumSecondaries(){return fNumSecondaries;}
00065 
00066   void Build(ReactorEvent& Event, ReactorDetector& Detector, 
00067                         std::string EventType, int Nevent);
00068 
00069   TObjArray *fSecondaries; //->
00070   int fNSecondary;
00071 
00072  //
00073 
00074  private:
00075 
00076    int    fEventType;
00077    int    fEventNum;
00078    double fInteractionVertex[3];
00079    double fKEParent;
00080    int fNumSecondaries;
00081 
00082    ClassDef(RMCEvent,1) //RMCEvent class
00083 
00084 
00085 };
00086 
00087 #endif
00088 
00089 
00090 
00091 
00092 
00093 
00094 
00095 
00096 
00097 
00098 

Generated on Mon Feb 21 16:11:19 2005 for ReactorFsim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002