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

MSTCalc Class Reference

#include <MSTCalc.h>

List of all members.

Public Member Functions

 MSTCalc ()
 MSTCalc (const MSTCalc &mst)
virtual ~MSTCalc ()
virtual void Print (Option_t *option="") const
void Reset ()
void Clear (Option_t *option="")

Public Attributes

int enmsg
float ew1
int enn1
float esm1
float ewtot
int enntot
float esmtot
float e4w
float e4sm
int e4nn
float eb1
float eb25
int enbranch
int onmsg
float ow1
int onn1
float osm1
float owtot
int onntot
float osmtot
float o4w
float o4sm
int o4nn
float ob1
float ob25
int onbranch
float * eallw1
float * oallw1
float * eallm1
float * oallm1
double eeprob
double oeprob
double ealpha
double oalpha
double ebeta
double obeta


Constructor & Destructor Documentation

MSTCalc::MSTCalc  ) 
 

Definition at line 6 of file MSTCalc.cxx.

References eallm1, eallw1, oallm1, and oallw1.

00006                 :
00007    enmsg(ANtpDefVal::kInt),
00008    ew1(ANtpDefVal::kFloat),
00009    enn1(ANtpDefVal::kInt),
00010    esm1(ANtpDefVal::kFloat),
00011    ewtot(ANtpDefVal::kFloat),
00012    enntot(ANtpDefVal::kInt),
00013    esmtot(ANtpDefVal::kFloat),
00014    e4w(ANtpDefVal::kFloat),
00015    e4sm(ANtpDefVal::kFloat),
00016    e4nn(ANtpDefVal::kInt),
00017    eb1(ANtpDefVal::kFloat),
00018    eb25(ANtpDefVal::kFloat),
00019    enbranch(ANtpDefVal::kInt),
00020 
00021    onmsg(ANtpDefVal::kInt),
00022    ow1(ANtpDefVal::kFloat),
00023    onn1(ANtpDefVal::kInt),
00024    osm1(ANtpDefVal::kFloat),
00025    owtot(ANtpDefVal::kFloat),
00026    onntot(ANtpDefVal::kInt),
00027    osmtot(ANtpDefVal::kFloat),
00028    o4w(ANtpDefVal::kFloat),
00029    o4sm(ANtpDefVal::kFloat),
00030    o4nn(ANtpDefVal::kInt),
00031    ob1(ANtpDefVal::kFloat),
00032    ob25(ANtpDefVal::kFloat),
00033    onbranch(ANtpDefVal::kInt),
00034 
00035    eeprob(ANtpDefVal::kFloat),
00036    oeprob(ANtpDefVal::kFloat),
00037    ealpha(ANtpDefVal::kFloat),
00038    oalpha(ANtpDefVal::kFloat),
00039 
00040    ebeta(ANtpDefVal::kFloat),
00041    obeta(ANtpDefVal::kFloat)
00042 {
00043    eallw1=new float[2880];
00044    oallw1=new float[2880];
00045    eallm1=new float[2880];
00046    oallm1=new float[2880];
00047 
00048    for(int i=0;i<2880;i++){
00049       eallw1[i]=ANtpDefVal::kFloat;
00050       oallw1[i]=ANtpDefVal::kFloat;
00051       eallm1[i]=ANtpDefVal::kFloat;
00052       oallm1[i]=ANtpDefVal::kFloat;
00053    }
00054 }

MSTCalc::MSTCalc const MSTCalc mst  ) 
 

Definition at line 56 of file MSTCalc.cxx.

References eallm1, eallw1, enn1, oallm1, oallw1, and onn1.

00056                                   :
00057   TObject(),
00058   enmsg(mst.enmsg),
00059   ew1(mst.ew1),
00060   enn1(mst.enn1),
00061   esm1(mst.esm1),
00062   ewtot(mst.ewtot),
00063   enntot(mst.enntot),
00064   esmtot(mst.esmtot),
00065   e4w(mst.e4w),
00066   e4sm(mst.e4sm),
00067   e4nn(mst.e4nn),
00068   eb1(mst.eb1),
00069   eb25(mst.eb25),
00070   enbranch(mst.enbranch),
00071   
00072   onmsg(mst.onmsg),
00073   ow1(mst.ow1),
00074   onn1(mst.onn1),
00075   osm1(mst.osm1),
00076   owtot(mst.owtot),
00077   onntot(mst.onntot),
00078   osmtot(mst.osmtot),
00079   o4w(mst.o4w),
00080   o4sm(mst.o4sm),
00081   o4nn(mst.o4nn),
00082   ob1(mst.ob1),
00083   ob25(mst.ob25),
00084   onbranch(mst.onbranch),
00085   
00086   eeprob(mst.eeprob),
00087   oeprob(mst.oeprob),
00088   ealpha(mst.ealpha),
00089   oalpha(mst.oalpha),
00090   
00091   ebeta(mst.ebeta),
00092   obeta(mst.obeta)
00093 {
00094    eallw1=new float[2880];
00095    oallw1=new float[2880];
00096    eallm1=new float[2880];
00097    oallm1=new float[2880];
00098 
00099    for(int i=0;i<2880;i++){
00100       if(i<mst.enn1){
00101          eallw1[i]=mst.eallw1[i];
00102          eallm1[i]=mst.eallm1[i];
00103       }
00104       else{
00105          eallw1[i]=ANtpDefVal::kFloat;
00106          eallm1[i]=ANtpDefVal::kFloat;
00107       }
00108       if(i<mst.onn1){
00109          oallw1[i]=mst.oallw1[i];
00110          oallm1[i]=mst.oallm1[i];
00111       }
00112       else{
00113          oallw1[i]=ANtpDefVal::kFloat;
00114          oallm1[i]=ANtpDefVal::kFloat;
00115       }
00116    }
00117 }

MSTCalc::~MSTCalc  )  [virtual]
 

Definition at line 121 of file MSTCalc.cxx.

00122 {
00123    delete[] eallw1;
00124    delete[] oallw1;
00125    delete[] eallm1;
00126    delete[] oallm1;
00127 }


Member Function Documentation

void MSTCalc::Clear Option_t *  option = ""  ) 
 

Definition at line 129 of file MSTCalc.cxx.

References Reset().

00130 {
00131   Reset();
00132   delete[] eallw1;
00133   delete[] oallw1;
00134   delete[] eallm1;
00135   delete[] oallm1;
00136 }

void MSTCalc::Print Option_t *  option = ""  )  const [virtual]
 

Definition at line 195 of file MSTCalc.cxx.

References e4sm, e4w, ealpha, eb1, eb25, eeprob, enbranch, enmsg, enn1, enntot, esm1, esmtot, ew1, ewtot, o4sm, o4w, oalpha, ob1, ob25, oeprob, onbranch, onmsg, onn1, onntot, osm1, osmtot, ow1, and owtot.

Referenced by MSTCalcAna::Print().

00196 {
00197   std::cout<<"MSTCalcAna::Print******"<<std::endl
00198            <<"NMSG even: "<<enmsg<<" odd: "<<onmsg<<std::endl
00199            <<"W1  even: "<<ew1<<" odd: "<<ow1<<std::endl
00200            <<"NN1 even: "<<enn1<<" odd: "<<onn1<<std::endl
00201            <<"SM1 even: "<<esm1<<" odd: "<<osm1<<std::endl
00202            <<"WTOT even: "<<ewtot<<" odd: "<<owtot<<std::endl
00203            <<"NNTOT even: "<<enntot<<" odd: "<<onntot<<std::endl
00204            <<"SMTOT even: "<<esmtot<<" odd: "<<osmtot<<std::endl
00205            <<"4W even: "<<e4w<<" odd: "<<o4w<<std::endl
00206            <<"4SM even: "<<e4sm<<" odd: "<<o4sm<<std::endl
00207            <<"Ele Prob even: "<<eeprob<<" odd: "<<oeprob<<std::endl
00208            <<"Alpha even: "<<ealpha<<" odd: "<<oalpha<<std::endl
00209            <<"Ratio B1 even "<<eb1<<" odd: "<<ob1<<std::endl
00210            <<"Ratio B25 even "<<eb25<<" odd: "<<ob25<<std::endl
00211            <<"NBranches even "<<enbranch<<" odd: "<<onbranch<<std::endl;
00212 }

void MSTCalc::Reset  ) 
 

Definition at line 138 of file MSTCalc.cxx.

References e4nn, e4sm, e4w, eallm1, eallw1, ealpha, eb1, eb25, ebeta, eeprob, enbranch, enmsg, enn1, enntot, esm1, esmtot, ew1, ewtot, o4nn, o4sm, o4w, oallm1, oallw1, oalpha, ob1, ob25, obeta, oeprob, onbranch, onmsg, onn1, onntot, osm1, osmtot, ow1, and owtot.

Referenced by Clear(), MSTCalcAna::ComputeGraphQuantities(), NueRecord::Reset(), and MSTCalcAna::Reset().

00139 {
00140    enmsg=ANtpDefVal::kInt;
00141    ew1=ANtpDefVal::kFloat;
00142    enn1=ANtpDefVal::kInt;
00143    esm1=ANtpDefVal::kFloat;
00144    ewtot=ANtpDefVal::kFloat;
00145    enntot=ANtpDefVal::kInt;
00146    esmtot=ANtpDefVal::kFloat;
00147    e4w=ANtpDefVal::kFloat;
00148    e4sm=ANtpDefVal::kFloat;
00149    e4nn=ANtpDefVal::kInt;
00150    eb1=ANtpDefVal::kFloat;
00151    eb25=ANtpDefVal::kFloat;
00152    enbranch=ANtpDefVal::kInt;
00153    
00154    onmsg=ANtpDefVal::kInt;
00155    ow1=ANtpDefVal::kFloat;
00156    onn1=ANtpDefVal::kInt;
00157    osm1=ANtpDefVal::kFloat;
00158    owtot=ANtpDefVal::kFloat;
00159    onntot=ANtpDefVal::kInt;
00160    osmtot=ANtpDefVal::kFloat;
00161    o4w=ANtpDefVal::kFloat;
00162    o4sm=ANtpDefVal::kFloat;
00163    o4nn=ANtpDefVal::kInt;
00164    ob1=ANtpDefVal::kFloat;
00165    ob25=ANtpDefVal::kFloat;
00166    onbranch=ANtpDefVal::kInt;
00167 
00168    eeprob=ANtpDefVal::kFloat;
00169    oeprob=ANtpDefVal::kFloat;
00170    ealpha=ANtpDefVal::kFloat;
00171    oalpha=ANtpDefVal::kFloat;
00172 
00173    ebeta=ANtpDefVal::kFloat;
00174    obeta=ANtpDefVal::kFloat;
00175 
00176    delete[] eallw1;
00177    delete[] oallw1;
00178    delete[] eallm1;
00179    delete[] oallm1;
00180 
00181    eallw1=new float[2880];
00182    oallw1=new float[2880];
00183    eallm1=new float[2880];
00184    oallm1=new float[2880];  
00185  
00186 
00187    for(int i=0;i<2880;i++){
00188      eallw1[i]=ANtpDefVal::kFloat;
00189      oallw1[i]=ANtpDefVal::kFloat;
00190      eallm1[i]=ANtpDefVal::kFloat;
00191      oallm1[i]=ANtpDefVal::kFloat;
00192    }
00193 }


Member Data Documentation

int MSTCalc::e4nn
 

Definition at line 27 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), and Reset().

float MSTCalc::e4sm
 

Definition at line 26 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::e4w
 

Definition at line 25 of file MSTCalc.h.

Referenced by CompareMST::Ana(), AnnAna::Analyze(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NueMiniAna::FillRecord(), NNTrain::MakeTrainTree(), Print(), and Reset().

float* MSTCalc::eallm1
 

Definition at line 49 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), and Reset().

float* MSTCalc::eallw1
 

Definition at line 46 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), and Reset().

double MSTCalc::ealpha
 

Definition at line 54 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::eb1
 

Definition at line 28 of file MSTCalc.h.

Referenced by CompareMST::Ana(), BagTreeAna::Analyze(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

float MSTCalc::eb25
 

Definition at line 29 of file MSTCalc.h.

Referenced by CompareMST::Ana(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

double MSTCalc::ebeta
 

Definition at line 57 of file MSTCalc.h.

Referenced by MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), and Reset().

double MSTCalc::eeprob
 

Definition at line 52 of file MSTCalc.h.

Referenced by CompareMST::Ana(), AnnAna::Analyze(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

int MSTCalc::enbranch
 

Definition at line 30 of file MSTCalc.h.

Referenced by CompareMST::Ana(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

int MSTCalc::enmsg
 

Definition at line 18 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

int MSTCalc::enn1
 

Definition at line 20 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), Print(), and Reset().

int MSTCalc::enntot
 

Definition at line 23 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::esm1
 

Definition at line 21 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::esmtot
 

Definition at line 24 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::ew1
 

Definition at line 19 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::ewtot
 

Definition at line 22 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

int MSTCalc::o4nn
 

Definition at line 41 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), and Reset().

float MSTCalc::o4sm
 

Definition at line 40 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::o4w
 

Definition at line 39 of file MSTCalc.h.

Referenced by CompareMST::Ana(), AnnAna::Analyze(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NNTrain::MakeTrainTree(), Print(), and Reset().

float* MSTCalc::oallm1
 

Definition at line 50 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), and Reset().

float* MSTCalc::oallw1
 

Definition at line 47 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), and Reset().

double MSTCalc::oalpha
 

Definition at line 55 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::ob1
 

Definition at line 42 of file MSTCalc.h.

Referenced by CompareMST::Ana(), BagTreeAna::Analyze(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

float MSTCalc::ob25
 

Definition at line 43 of file MSTCalc.h.

Referenced by CompareMST::Ana(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

double MSTCalc::obeta
 

Definition at line 58 of file MSTCalc.h.

Referenced by MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), and Reset().

double MSTCalc::oeprob
 

Definition at line 53 of file MSTCalc.h.

Referenced by CompareMST::Ana(), AnnAna::Analyze(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

int MSTCalc::onbranch
 

Definition at line 44 of file MSTCalc.h.

Referenced by CompareMST::Ana(), CompareMD::FillFromList(), MSTCalcAna::GraphLoop(), Print(), and Reset().

int MSTCalc::onmsg
 

Definition at line 32 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

int MSTCalc::onn1
 

Definition at line 34 of file MSTCalc.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), MSTCalc(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), Print(), and Reset().

int MSTCalc::onntot
 

Definition at line 37 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::osm1
 

Definition at line 35 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::osmtot
 

Definition at line 38 of file MSTCalc.h.

Referenced by CompareMST::Ana(), AnnAna::Analyze(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::ow1
 

Definition at line 33 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().

float MSTCalc::owtot
 

Definition at line 36 of file MSTCalc.h.

Referenced by CompareMST::Ana(), MSTCalcAna::ComputeGraphQuantities(), CompareMD::FillFromList(), Print(), and Reset().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:37 2010 for loon by  doxygen 1.3.9.1