Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:11

0001 // @(#)root/tmva $Id$
0002 // Author: Matt Jachowski
0003 
0004 /**********************************************************************************
0005  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
0006  * Package: TMVA                                                                  *
0007  * Class  : TMVA::TNeuronInput                                                    *
0008  *                                                                                *
0009  * Description:                                                                   *
0010  *      Interface for TNeuron input calculation classes                           *
0011  *                                                                                *
0012  * Authors (alphabetical):                                                        *
0013  *      Matt Jachowski  <jachowski@stanford.edu> - Stanford University, USA       *
0014  *                                                                                *
0015  * Copyright (c) 2005:                                                            *
0016  *      CERN, Switzerland                                                         *
0017  *                                                                                *
0018  * Redistribution and use in source and binary forms, with or without             *
0019  * modification, are permitted according to the terms listed in LICENSE           *
0020  * (see tmva/doc/LICENSE)                                          *
0021  **********************************************************************************/
0022 
0023 
0024 #ifndef ROOT_TMVA_TNeuronInput
0025 #define ROOT_TMVA_TNeuronInput
0026 
0027 //////////////////////////////////////////////////////////////////////////
0028 //                                                                      //
0029 // TNeuronInput                                                         //
0030 //                                                                      //
0031 // Interface for TNeuron input calculation classes                      //
0032 //                                                                      //
0033 //////////////////////////////////////////////////////////////////////////
0034 
0035 #include "Rtypes.h"
0036 #include "TString.h"
0037 
0038 namespace TMVA {
0039 
0040    class TNeuron;
0041 
0042    class TNeuronInput {
0043 
0044    public:
0045 
0046       TNeuronInput() {}
0047       virtual ~TNeuronInput() {}
0048 
0049       // calculate input value for neuron
0050       virtual Double_t GetInput( const TNeuron* neuron ) const = 0;
0051 
0052       // name of class
0053       virtual TString GetName() = 0;
0054 
0055       ClassDef(TNeuronInput,0); // Interface for TNeuron input calculation classes
0056    };
0057 
0058 } // namespace TMVA
0059 
0060 #endif