Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FarMCNN.h

Go to the documentation of this file.
00001 #ifndef MainLoop_h
00002 #define MainLoop_h
00003 #include <string>
00004 #include <vector>
00005 #include "TChain.h"
00006 #include "MCNNAnalysis/ComparisonResult.h"
00007 #include "MCNNAnalysis/ComparisonResultList.h"
00008 #include "MCNNAnalysis/MinosCompactEvent.h"
00009 
00010 class MinosCompactEvent;
00011 class MinosEventDisplay;
00012 class MinosAnalysisResult;
00013 class PECalculator;
00014 
00015 // Functions
00016 void Initialize();
00017 void ReadEventLibrary();
00018 bool NextLibraryEvent();
00019 void CompactInput(const char* fname, unsigned short chargetype);
00020 void MakeComparison();
00021 void WriteResults(const char* fname, const char* tag);
00022 void Finish();
00023 comparisonResult_h CompareEvents(MinosCompactEvent* eventA, MinosCompactEvent* eventB);
00024 ComparisonResult* CompareEventsP(MinosCompactEvent* eventA, MinosCompactEvent* eventB);
00025 comparisonResult_h CompareEvents(MinosCompactEvent* eventA, MinosCompactEvent* eventB, int ip, int isU, int isV);
00026 void FillWorkSpaceA(MinosCompactEvent* event);
00027 void FillWorkSpaceB(MinosCompactEvent* event);
00028 void ClearWorkSpaceA(MinosCompactEvent* event);
00029 void ClearWorkSpaceB(MinosCompactEvent* event);
00030 
00031 // Variables
00032 unsigned int file_count;
00033 Int_t srCtr;
00034 bool isMC;
00035 bool isMRCC;
00036 
00037 // Objects
00038 TChain *lib_chain;
00039 std::vector<string> _files;
00040 std::vector<MinosCompactEvent*> _inputAll;
00041 std::vector<float> _selflnL;
00042 std::vector<ComparisonResultList*> _compResList;
00043 PECalculator* peCalculator;
00044 MinosEventDisplay* eventDisplay;
00045 MinosCompactEvent *pcce;
00046 
00047 // Workspace for event comparison
00048 int _workSpaceA[201][201];
00049 int _workSpaceB[201][201];
00050 
00051 #endif // MainLoop_h

Generated on Mon Feb 15 11:06:41 2010 for loon by  doxygen 1.3.9.1