CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

PFTauDiscriminants::DiscriminantList Class Reference

#include <DiscriminantList.h>

List of all members.

Public Types

typedef std::vector
< Discriminant * > 
collection
typedef collection::const_iterator const_iterator

Public Member Functions

const_iterator begin ()
 iterators over the list
 DiscriminantList ()
const collectiondiscriminantList ()
 returns constant reference to full list
const_iterator end ()
 ~DiscriminantList ()

Private Attributes

collection theDiscriminants_

Detailed Description

Definition at line 19 of file DiscriminantList.h.


Member Typedef Documentation

Definition at line 21 of file DiscriminantList.h.

typedef collection::const_iterator PFTauDiscriminants::DiscriminantList::const_iterator

Definition at line 22 of file DiscriminantList.h.


Constructor & Destructor Documentation

PFTauDiscriminants::DiscriminantList::DiscriminantList ( )

Definition at line 8 of file DiscriminantList.cc.

References reco::tau::disc::ChargedOutlierAngle(), reco::tau::disc::ChargedOutlierPt(), reco::tau::disc::ChargedOutlierSumPt(), reco::tau::disc::Dalitz(), reco::tau::disc::DecayMode(), reco::tau::disc::Eta(), reco::tau::disc::FilteredObjectPt(), reco::tau::disc::GammaOccupancy(), reco::tau::disc::GammaPt(), reco::tau::disc::InvariantMass(), reco::tau::disc::InvariantMassOfSignal(), reco::tau::disc::InvariantMassOfSignalWithFiltered(), reco::tau::disc::MainTrackAngle(), reco::tau::disc::MainTrackPt(), reco::tau::disc::NeutralOutlierAngle(), reco::tau::disc::NeutralOutlierPt(), reco::tau::disc::NeutralOutlierSumPt(), reco::tau::disc::OutlierAngle(), reco::tau::disc::OutlierMass(), reco::tau::disc::OutlierN(), reco::tau::disc::OutlierNCharged(), reco::tau::disc::OutlierPt(), reco::tau::disc::OutlierSumPt(), reco::tau::disc::PiZeroAngle(), reco::tau::disc::PiZeroPt(), reco::tau::disc::Pt(), reco::tau::disc::TrackAngle(), and reco::tau::disc::TrackPt().

{
   theDiscriminants_.push_back(new DecayMode()                         ); 
   theDiscriminants_.push_back(new MainTrackPt()                       ); 
   theDiscriminants_.push_back(new MainTrackAngle()                    ); 
   theDiscriminants_.push_back(new TrackPt()                           ); 
   theDiscriminants_.push_back(new TrackAngle()                        ); 
   theDiscriminants_.push_back(new PiZeroPt()                          ); 
   theDiscriminants_.push_back(new PiZeroAngle()                       ); 
   theDiscriminants_.push_back(new Dalitz()                            ); 
   theDiscriminants_.push_back(new InvariantMassOfSignal()             ); 
   theDiscriminants_.push_back(new InvariantMass()                     ); 
   theDiscriminants_.push_back(new Pt()                                ); 
   theDiscriminants_.push_back(new Eta()                               ); 
   theDiscriminants_.push_back(new OutlierPt()                         ); 
   theDiscriminants_.push_back(new OutlierAngle()                      ); 
   theDiscriminants_.push_back(new ChargedOutlierPt()                  ); 
   theDiscriminants_.push_back(new ChargedOutlierAngle()               ); 
   theDiscriminants_.push_back(new NeutralOutlierPt()                  ); 
   theDiscriminants_.push_back(new NeutralOutlierAngle()               ); 
   theDiscriminants_.push_back(new OutlierNCharged()                   ); 
   theDiscriminants_.push_back(new GammaOccupancy()                    ); 
   theDiscriminants_.push_back(new GammaPt()                           ); 
   theDiscriminants_.push_back(new FilteredObjectPt()                  ); 
   theDiscriminants_.push_back(new InvariantMassOfSignalWithFiltered() ); 
   theDiscriminants_.push_back(new OutlierN()                          ); 
   theDiscriminants_.push_back(new OutlierSumPt()                      ); 
   theDiscriminants_.push_back(new OutlierMass()                       ); 
   theDiscriminants_.push_back(new ChargedOutlierSumPt()               ); 
   theDiscriminants_.push_back(new NeutralOutlierSumPt()               ); 
}
PFTauDiscriminants::DiscriminantList::~DiscriminantList ( )

Definition at line 41 of file DiscriminantList.cc.

References begin, and end.

{
   for(const_iterator iDiscrminant  = this->begin();
                      iDiscrminant != this->end();
                    ++iDiscrminant)
   {
      delete *iDiscrminant;
   }
}

Member Function Documentation

const_iterator PFTauDiscriminants::DiscriminantList::begin ( void  ) [inline]

iterators over the list

Definition at line 28 of file DiscriminantList.h.

References theDiscriminants_.

Referenced by PFTauMVADiscriminator::PFTauMVADiscriminator(), and TauMVATrainer::TauMVATrainer().

{ return theDiscriminants_.begin(); };
const collection& PFTauDiscriminants::DiscriminantList::discriminantList ( ) [inline]

returns constant reference to full list

Definition at line 26 of file DiscriminantList.h.

References theDiscriminants_.

{ return theDiscriminants_; };
const_iterator PFTauDiscriminants::DiscriminantList::end ( void  ) [inline]

Member Data Documentation

Definition at line 29 of file DiscriminantList.h.

Referenced by begin(), and discriminantList().