00001 //---------------------------------------------------------------------------// 00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00003 // // 00004 // MAJORANA Simulation // 00005 // // 00006 // This code implementation is the intellectual property of the // 00007 // MAJORANA Collaboration. It is based on Geant4, an intellectual // 00008 // property of the RD44 GEANT4 collaboration. // 00009 // // 00010 // ********************* // 00011 // // 00012 // Neither the authors of this software system, nor their employing // 00013 // institutes, nor the agencies providing financial support for this // 00014 // work make any representation or warranty, express or implied, // 00015 // regarding this software system or assume any liability for its use. // 00016 // By copying, distributing or modifying the Program (or any work based // 00017 // on on the Program) you indicate your acceptance of this statement, // 00018 // and all its terms. // 00019 // // 00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00021 //---------------------------------------------------------------------------// 00032 // Begin description of class here 00039 // End class description 00040 // 00045 // 00046 // --------------------------------------------------------------------------// 00056 // --------------------------------------------------------------------------// 00057 00058 #ifndef _MJWAVEFORMCOAXIALDETECTOR_HH 00059 #define _MJWAVEFORMCOAXIALDETECTOR_HH 00060 00061 //---------------------------------------------------------------------------// 00062 00063 #include "TTree.h" 00064 00065 #include "waveform/MJVWaveformDetector.hh" 00066 00067 //---------------------------------------------------------------------------// 00068 00069 struct TreeStructure{ 00070 Float_t Time[500]; 00071 Float_t Current[2][500]; 00072 Float_t Charge[2][500]; 00073 Float_t InitialPosition[10][3]; 00074 Float_t InitialCharge[10]; 00075 Int_t NumberOfPoints; 00076 }; 00077 00078 class MJVWaveformCrystal; 00079 00080 class MJWaveformCoaxialDetector : public MJVWaveformDetector 00081 { 00082 public: 00083 00084 //default constructor 00085 MJWaveformCoaxialDetector(); 00086 00087 //copy constructor 00088 MJWaveformCoaxialDetector(const MJWaveformCoaxialDetector &); 00089 00090 //destructor 00091 ~MJWaveformCoaxialDetector(); 00092 00093 //public interface 00094 00095 void BeginOfEventAction(); 00096 void Construct(); 00097 void EventSteppingAction() {;} 00098 void EndOfEventAction(); 00099 void EndOfRunAction(); 00100 00101 //protected members 00102 protected: 00103 00104 00105 //private members 00106 private: 00107 00108 MJVWaveformCrystal *fCoaxialCrystal; 00109 TreeStructure *fData; 00110 TFile *fRootFile; 00111 TTree *fRootTree; 00112 }; 00113 #endif 00114 00115 00116