00001 00002 // $Id: CompareToReroot.h,v 1.3 2003/11/04 15:33:22 tagg Exp $ 00003 // 00004 // FILL_IN: [Document your code!!] 00005 // 00006 // n.tagg1@physics.ox.ac.uk 00008 #ifndef COMPARETOREROOT_H 00009 #define COMPARETOREROOT_H 00010 #ifndef JOBCMODULE_H 00011 #include "JobControl/JobCModule.h" 00012 #endif 00013 00014 #include <TFile.h> 00015 #include <TTree.h> 00016 #include "Digitization/DigiScintHit.h" 00017 00018 class HitCompare; 00019 00020 class CompareToReroot : public JobCModule 00021 { 00022 public: 00023 CompareToReroot(); 00024 ~CompareToReroot(); 00025 00026 public: 00027 // Analysis and Reconstruction methods 00028 JobCResult Ana(const MomNavigator* mom); 00029 00030 00031 private: 00032 // Module member data 00033 TFile* fFile; 00034 TTree* fTree; 00035 HitCompare* fHitCompare; 00036 }; 00037 00038 class HitCompare: public TObject 00039 { 00040 public: 00041 HitCompare() { 00042 event = plane = strip = 0; 00043 end = 0; 00044 pe_reroot = pe_photon = 0; 00045 adc_reroot = tdc_reroot = tmean_photon = 0; 00046 tfirst_photon = 0.999e12; 00047 nhits = 0; 00048 hit_de = hit_ds = hit_x = hit_t = 0; 00049 halflength = pigtail = clear = 0; 00050 } 00051 int event; 00052 int plane; 00053 int strip; 00054 char end; 00055 float pe_reroot; 00056 float adc_reroot; 00057 float tdc_reroot; 00058 00059 float pe_photon; 00060 float tfirst_photon; 00061 float tmean_photon; 00062 00063 int nhits; 00064 float hit_de; 00065 float hit_ds; 00066 float hit_x; 00067 float hit_t; 00068 00069 float halflength; 00070 float pigtail; 00071 float clear; 00072 00073 // other end 00074 float pe_reroot_2; 00075 float adc_reroot_2; 00076 float tdc_reroot_2; 00077 00078 float pe_photon_2; 00079 float tfirst_photon_2; 00080 float tmean_photon_2; 00081 ClassDef(HitCompare,2); 00082 }; 00083 00084 00085 #endif // COMPARETOREROOT_H 00086
1.3.9.1