Privacy and Security Notice

main.cc Source File

main.cc

Go to the documentation of this file.
00001 #include "treedo.h"
00002 #include "mathstd.h"
00003 #include "mathdefs.h"
00004 #include "Qset.h"
00005 #include "Qevent.h"
00006 #include "Qoptions.h"
00007 #include <iostream>
00008 using namespace std;
00009 
00010 #define NDetMax 1010
00011 //Temporary global variables for sub-programs
00012 bool bWriteGlobal = false;
00013 int iEvent = 0;
00014 TreeLine  *trelin;
00015 int trelinanz;
00016 Det *rcDETRegion[2][3][4];
00017 treeregion *rcTreeRegion[2][3][4][4];
00018 Det rcDET[NDetMax];
00019 Options opt;
00020 
00021 
00022 int main(void){
00023 
00024         Qset qset;
00025         qset.FillDetec("qweak.geo");
00026         cerr << "Detector Geometry Loaded" << endl;
00027 
00028         Qoptions qoptions;
00029         qoptions.Get("qweak.options");
00030         cerr << "Options Loaded" << endl;
00031 
00032         tree thetree;
00033         thetree.rcInitTree();
00034         cerr << "Track Pattern Database Loaded" << endl;
00035 
00036 
00037  
00038         Qevent qevent;
00039         qevent.FillHits("qweak.event");
00040         cerr << "Event Loaded" << endl;
00041         
00042 
00043 
00044         treedo Treedo;
00045         Treedo.rcTreeDo(iEvent);
00046         
00047 
00048         return 0;
00049 }
00050 

Generated on Fri Jan 11 22:33:59 2008 by  doxygen 1.4.6