CMS 3D CMS Logo

DiscriminantList.h

Go to the documentation of this file.
00001 #ifndef RecoTauTag_TauTagTools_interface_DiscrminantList
00002 #define RecoTauTag_TauTagTools_interface_DiscrminantList
00003 // Class: DiscriminantList
00004 // 
00005 /*files: RecoTauTag/TauTagTools/interface/DiscriminantList.h RecoTauTag/TauTagTools/src/DiscriminantList.cc
00006  *
00007  * Description: Base point to define a list of tau discriminant objects used in an MVA training/computation chain
00008  *
00009  * Note: container class owns the Discriminant objects and will delete them upon its destruction.
00010  *
00011  * USERS: Define list of desired descriminants in ctor, @ RecoTauTag/TauTagTools/src/DiscriminantList.cc
00012 
00013 */
00014 // Original Author:  Evan K.Friis, UC Davis  (friis@physics.ucdavis.edu)
00015 
00016 #include "RecoTauTag/TauTagTools/interface/Discriminants.h"
00017 
00018 using namespace std;
00019 namespace PFTauDiscriminants {
00020 class DiscriminantList {
00021    public:
00022       typedef vector<Discriminant*> collection;
00023       typedef collection::const_iterator const_iterator;
00024       DiscriminantList();
00025       ~DiscriminantList();
00027       const collection& discriminantList() { return theDiscriminants_; };
00029       const_iterator    begin()            { return theDiscriminants_.begin(); };
00030       const_iterator    end()              { return theDiscriminants_.end(); };
00031 
00032    private:
00033       collection theDiscriminants_;
00034 };
00035 }//end namespace
00036 
00037 #endif

Generated on Tue Jun 9 17:45:04 2009 for CMSSW by  doxygen 1.5.4