00001 #ifndef ComparisonResult_h 00002 #define ComparisonResult_h 00003 00004 #include "TObject.h" 00005 #include "MinosCompactEvent.h" 00006 00007 // comparison result 00008 typedef struct { 00009 float lnL; 00010 int stripOffsetU; 00011 int stripOffsetV; 00012 int planeOffset; 00013 int nMatched; 00014 int nUnmatched; 00015 float fractionQMatched; 00016 } comparisonResult_h; 00017 00018 class MinosCompactEvent; 00019 00020 class ComparisonResult : public TObject { 00021 public: 00022 00023 ComparisonResult(); 00024 ComparisonResult(comparisonResult_h &result); 00025 ComparisonResult(ComparisonResult* result); 00026 void SetNeutrino(MinosCompactEvent* event); 00027 00028 int run; 00029 int snarl; 00030 float eNu; //the neutrino energy 00031 float y; 00032 short idact; 00033 short idres; 00034 short idnu; 00035 float lnL; 00036 int stripOffsetU; 00037 int stripOffsetV; 00038 int planeOffset; 00039 int nMatched; 00040 int nUnmatched; 00041 float fractionQMatched; 00042 float dLnL; 00043 int qtot; //the total charge in the event 00044 int nstp; //the number of strips 00045 compactStrip_h cstrip; 00046 00047 int operator<(const ComparisonResult &rhs) const; 00048 int operator>(const ComparisonResult &rhs) const; 00049 00050 private: 00051 00052 ClassDef(ComparisonResult,2) 00053 00054 }; 00055 00056 #endif //ComparisonResult_h 00057 00058 00059 00060 00061
1.3.9.1