CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
PFTauDiscriminants::DiscriminantList Class Reference

#include <DiscriminantList.h>

Public Types

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

Public Member Functions

const_iterator begin ()
 iterators over the list More...
 
 DiscriminantList ()
 
const collectiondiscriminantList ()
 returns constant reference to full list More...
 
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().

9 {
10  theDiscriminants_.push_back(new DecayMode() );
11  theDiscriminants_.push_back(new MainTrackPt() );
12  theDiscriminants_.push_back(new MainTrackAngle() );
13  theDiscriminants_.push_back(new TrackPt() );
14  theDiscriminants_.push_back(new TrackAngle() );
15  theDiscriminants_.push_back(new PiZeroPt() );
16  theDiscriminants_.push_back(new PiZeroAngle() );
17  theDiscriminants_.push_back(new Dalitz() );
18  theDiscriminants_.push_back(new InvariantMassOfSignal() );
19  theDiscriminants_.push_back(new InvariantMass() );
20  theDiscriminants_.push_back(new Pt() );
21  theDiscriminants_.push_back(new Eta() );
22  theDiscriminants_.push_back(new OutlierPt() );
23  theDiscriminants_.push_back(new OutlierAngle() );
24  theDiscriminants_.push_back(new ChargedOutlierPt() );
25  theDiscriminants_.push_back(new ChargedOutlierAngle() );
26  theDiscriminants_.push_back(new NeutralOutlierPt() );
27  theDiscriminants_.push_back(new NeutralOutlierAngle() );
28  theDiscriminants_.push_back(new OutlierNCharged() );
29  theDiscriminants_.push_back(new GammaOccupancy() );
30  theDiscriminants_.push_back(new GammaPt() );
31  theDiscriminants_.push_back(new FilteredObjectPt() );
33  theDiscriminants_.push_back(new OutlierN() );
34  theDiscriminants_.push_back(new OutlierSumPt() );
35  theDiscriminants_.push_back(new OutlierMass() );
36  theDiscriminants_.push_back(new ChargedOutlierSumPt() );
37  theDiscriminants_.push_back(new NeutralOutlierSumPt() );
38 }
VDouble InvariantMassOfSignalWithFiltered(Tau)
double InvariantMassOfSignal(Tau tau)
PFTauDiscriminants::DiscriminantList::~DiscriminantList ( )

Definition at line 41 of file DiscriminantList.cc.

References begin, and end.

42 {
43  for(const_iterator iDiscrminant = this->begin();
44  iDiscrminant != this->end();
45  ++iDiscrminant)
46  {
47  delete *iDiscrminant;
48  }
49 }
const_iterator begin()
iterators over the list
collection::const_iterator const_iterator

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().

28 { 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_.

const_iterator PFTauDiscriminants::DiscriminantList::end ( void  )
inline

Member Data Documentation

collection PFTauDiscriminants::DiscriminantList::theDiscriminants_
private

Definition at line 29 of file DiscriminantList.h.

Referenced by begin(), and discriminantList().