ComparisonResult Class Reference

#include <ComparisonResult.h>

List of all members.

Public Member Functions

 ComparisonResult ()
 ComparisonResult (comparisonResult_h &result)
 ComparisonResult (ComparisonResult *result)
void SetNeutrino (MinosCompactEvent *event)
int operator< (const ComparisonResult &rhs) const
int operator> (const ComparisonResult &rhs) const

Public Attributes

int run
int snarl
float eNu
float y
short idact
short idres
short idnu
float lnL
int stripOffsetU
int stripOffsetV
int planeOffset
int nMatched
int nUnmatched
float fractionQMatched
float dLnL
int qtot
int nstp
compactStrip_h cstrip

Detailed Description

Definition at line 20 of file ComparisonResult.h.


Constructor & Destructor Documentation

ComparisonResult::ComparisonResult (  ) 

Definition at line 6 of file ComparisonResult.cxx.

References run().

00007 {
00008   run=-1;
00009   snarl=-1;
00010   idact=-1;
00011   idnu=-1;
00012   eNu=-1;
00013   lnL  = -99999.;
00014   dLnL = 99999.;
00015 
00016 }

ComparisonResult::ComparisonResult ( comparisonResult_h result  ) 
ComparisonResult::ComparisonResult ( ComparisonResult result  ) 

Definition at line 32 of file ComparisonResult.cxx.

References dLnL, eNu, fractionQMatched, idact, idnu, idres, lnL, nMatched, nstp, nUnmatched, planeOffset, qtot, run, snarl, stripOffsetU, stripOffsetV, and y.

00032                                                           {
00033 
00034   lnL = result->lnL;
00035   stripOffsetU = result->stripOffsetU;
00036   stripOffsetV = result->stripOffsetV;
00037   planeOffset  = result->planeOffset;
00038   nMatched     = result->nMatched;
00039   nUnmatched   = result->nUnmatched;
00040   fractionQMatched = result->fractionQMatched;
00041   dLnL = result->dLnL;
00042   run = result->run;
00043   snarl = result->snarl;
00044   eNu = result->eNu;
00045   y   = result->y; 
00046   idact = result->idact;
00047   idres = result->idres;
00048   idnu  = result->idnu;
00049   qtot = result->qtot;
00050   nstp = result->nstp;
00051 
00052 }


Member Function Documentation

int ComparisonResult::operator< ( const ComparisonResult rhs  )  const

Definition at line 68 of file ComparisonResult.cxx.

References dLnL.

00069 {
00070   if( this->dLnL < rhs.dLnL ) return 1;
00071   return 0;
00072 }

int ComparisonResult::operator> ( const ComparisonResult rhs  )  const

Definition at line 75 of file ComparisonResult.cxx.

References dLnL.

00076 {
00077   if( this->dLnL > rhs.dLnL ) return 1;
00078   return 0;
00079 }

void ComparisonResult::SetNeutrino ( MinosCompactEvent event  ) 

Definition at line 54 of file ComparisonResult.cxx.

References eNu, idact, idnu, idres, nstp, qtot, run, snarl, and y.

Referenced by MCNNRunner::MakeComparison().

00054                                                           {
00055 
00056   run = event->Run;
00057   snarl = event->Snarl;
00058   eNu   = event->eNu;
00059   y     = event->y; 
00060   idact = event->idact;
00061   idres = event->idres;
00062   idnu  = event->idnu;
00063   qtot  = event->Qtot;
00064   nstp  = (event->UStrips.size() + event->VStrips.size()); 
00065 }


Member Data Documentation

Definition at line 45 of file ComparisonResult.h.

Definition at line 33 of file ComparisonResult.h.

Referenced by ComparisonResult(), NNReader::GetBestMatch(), and SetNeutrino().

Definition at line 35 of file ComparisonResult.h.

Referenced by ComparisonResult(), and MCNNRunner::MakeComparison().

Definition at line 39 of file ComparisonResult.h.

Referenced by ComparisonResult().

Definition at line 44 of file ComparisonResult.h.

Referenced by ComparisonResult(), and SetNeutrino().

Definition at line 40 of file ComparisonResult.h.

Referenced by ComparisonResult().

Definition at line 38 of file ComparisonResult.h.

Referenced by ComparisonResult().

Definition at line 43 of file ComparisonResult.h.

Referenced by ComparisonResult(), and SetNeutrino().

Definition at line 29 of file ComparisonResult.h.

Referenced by ComparisonResult(), NNReader::GetBestMatch(), and SetNeutrino().

Definition at line 36 of file ComparisonResult.h.

Referenced by ComparisonResult().

Definition at line 37 of file ComparisonResult.h.

Referenced by ComparisonResult().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1