CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoTauTag/TauTagTools/interface/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 namespace PFTauDiscriminants {
00019 class DiscriminantList {
00020    public:
00021       typedef std::vector<Discriminant*> collection;
00022       typedef collection::const_iterator const_iterator;
00023       DiscriminantList();
00024       ~DiscriminantList();
00026       const collection& discriminantList() { return theDiscriminants_; };
00028       const_iterator    begin()            { return theDiscriminants_.begin(); };
00029       const_iterator    end()              { return theDiscriminants_.end(); };
00030 
00031    private:
00032       collection theDiscriminants_;
00033 };
00034 }//end namespace
00035 
00036 #endif