CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DiscriminantList.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_TauTagTools_interface_DiscrminantList
2 #define RecoTauTag_TauTagTools_interface_DiscrminantList
3 // Class: DiscriminantList
4 //
5 /*files: RecoTauTag/TauTagTools/interface/DiscriminantList.h RecoTauTag/TauTagTools/src/DiscriminantList.cc
6  *
7  * Description: Base point to define a list of tau discriminant objects used in an MVA training/computation chain
8  *
9  * Note: container class owns the Discriminant objects and will delete them upon its destruction.
10  *
11  * USERS: Define list of desired descriminants in ctor, @ RecoTauTag/TauTagTools/src/DiscriminantList.cc
12 
13 */
14 // Original Author: Evan K.Friis, UC Davis (friis@physics.ucdavis.edu)
15 
17 
18 namespace PFTauDiscriminants {
20  public:
21  typedef std::vector<Discriminant*> collection;
22  typedef collection::const_iterator const_iterator;
28  const_iterator begin() { return theDiscriminants_.begin(); };
29  const_iterator end() { return theDiscriminants_.end(); };
30 
31  private:
33 };
34 }//end namespace
35 
36 #endif
std::vector< Discriminant * > collection
const collection & discriminantList()
returns constant reference to full list
const_iterator begin()
iterators over the list
collection::const_iterator const_iterator