SdivSqrtSplusB.h

Go to the documentation of this file.
00001 // @(#)root/tmva $Id: SdivSqrtSplusB.h 37986 2011-02-04 21:42:15Z pcanal $ 
00002 // Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss 
00003 
00004 /**********************************************************************************
00005  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
00006  * Package: TMVA                                                                  *
00007  * Class  : SdivSqrtSplusB                                                        *
00008  * Web    : http://tmva.sourceforge.net                                           *
00009  *                                                                                *
00010  * Description: Implementation of the SdivSqrtSplusB as separation criterion      *
00011  *              S/sqrt(S + B)                                                     *
00012  *                                                                                *
00013  * Authors (alphabetical):                                                        *
00014  *      Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland              *
00015  *      Helge Voss      <Helge.Voss@cern.ch>     - MPI-K Heidelberg, Germany      *
00016  *      Kai Voss        <Kai.Voss@cern.ch>       - U. of Victoria, Canada         *
00017  *                                                                                *
00018  * Copyright (c) 2005:                                                            *
00019  *      CERN, Switzerland                                                         * 
00020  *      U. of Victoria, Canada                                                    * 
00021  *      Heidelberg U., Germany                                                    * 
00022  *                                                                                *
00023  * Redistribution and use in source and binary forms, with or without             *
00024  * modification, are permitted according to the terms listed in LICENSE           *
00025  * (http://tmva.sourceforge.net/LICENSE)                                          *
00026  **********************************************************************************/
00027 
00028 #ifndef ROOT_TMVA_SdivSqrtSplusB
00029 #define ROOT_TMVA_SdivSqrtSplusB
00030 
00031 //////////////////////////////////////////////////////////////////////////
00032 //                                                                      //
00033 // SdivSqrtSplusB                                                       //
00034 //                                                                      //
00035 // Implementation of the SdivSqrtSplusB as separation criterion         //
00036 //   Index = S/sqrt(S+B)  (statistical significance)                    //
00037 //                                                                      //
00038 //////////////////////////////////////////////////////////////////////////
00039 
00040 #ifndef ROOT_TMVA_SeparationBase
00041 #include "TMVA/SeparationBase.h"
00042 #endif
00043 
00044 namespace TMVA {
00045 
00046    class SdivSqrtSplusB : public SeparationBase {
00047 
00048    public:
00049 
00050       //constructor for the "statistical significance" index
00051       SdivSqrtSplusB(): SeparationBase()  { fName = "StatSig"; }
00052 
00053       // copy constructor
00054       SdivSqrtSplusB( const SdivSqrtSplusB& g): SeparationBase(g) {}
00055 
00056       //destructor
00057       virtual ~SdivSqrtSplusB() {}
00058 
00059       // return the Index (S/sqrt(S+B))
00060       virtual Double_t  GetSeparationIndex( const Double_t &s, const Double_t &b );
00061 
00062    protected:
00063 
00064       ClassDef(SdivSqrtSplusB,0) // Implementation of the SdivSqrtSplusB as separation criterion
00065    };
00066 
00067 } // namespace TMVA
00068 
00069 #endif
00070 

Generated on Tue Jul 5 14:27:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1