CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DiscriminantList.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 namespace PFTauDiscriminants {
5 
6 // CONSTRUCTOR:
7 // USER: add/remove the Discrimiants* you wish to use here.
8 DiscriminantList::DiscriminantList()
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() );
32  theDiscriminants_.push_back(new InvariantMassOfSignalWithFiltered() );
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 }
39 
40 //cleanup on destruction
41 DiscriminantList::~DiscriminantList()
42 {
43  for(const_iterator iDiscrminant = this->begin();
44  iDiscrminant != this->end();
45  ++iDiscrminant)
46  {
47  delete *iDiscrminant;
48  }
49 }
50 
51 } //end namespace
52 
53 
54 
55 
#define end
Definition: vmac.h:38
VDouble InvariantMassOfSignalWithFiltered(Tau)
#define begin
Definition: vmac.h:31
double InvariantMassOfSignal(Tau tau)
collection::const_iterator const_iterator