CMS 3D CMS Logo

BPHDecayGenericBuilderBase.cc
Go to the documentation of this file.
1 /*
2  * See header file for a description of this class.
3  *
4  * \author Paolo Ronchese INFN Padova
5  *
6  */
7 
8 //-----------------------
9 // This Class' Header --
10 //-----------------------
12 
13 //-------------------------------
14 // Collaborating Class Headers --
15 //-------------------------------
17 
18 //---------------
19 // C++ Headers --
20 //---------------
21 using namespace std;
22 
23 //-------------------
24 // Initializations --
25 //-------------------
26 
27 //----------------
28 // Constructors --
29 //----------------
31  : evSetup(nullptr),
32  massSel(new BPHMassSelect(-2.0e+06, -1.0e+06)),
33  chi2Sel(new BPHChi2Select(-1.0)),
34  mFitSel(nullptr),
35  minPDiff(1.0e-4),
36  outdated(true) {}
37 
40  evSetup = new BPHEventSetupWrapper(es);
41  mFitSel = mfs;
42 }
43 
44 //--------------
45 // Destructor --
46 //--------------
48  delete massSel;
49  delete chi2Sel;
50  delete mFitSel;
51  delete evSetup;
52 }
53 
54 //--------------
55 // Operations --
56 //--------------
59  outdated = true;
61  return;
62 }
63 
65  outdated = true;
67  return;
68 }
69 
70 void BPHDecayGenericBuilderBase::setMassRange(double mMin, double mMax) {
71  outdated = true;
72  massSel->setMassMin(mMin);
73  massSel->setMassMax(mMax);
74  return;
75 }
76 
78  outdated = true;
80  return;
81 }
82 
84  outdated = true;
86  return;
87 }
88 
90  outdated = true;
92  return;
93 }
94 
95 void BPHDecayGenericBuilderBase::setMassFitRange(double mMin, double mMax) {
96  outdated = true;
97  mFitSel->setMassMin(mMin);
98  mFitSel->setMassMax(mMax);
99  return;
100 }
void setMassMax(double m)
Definition: BPHMassCuts.h:52
void setMassFitRange(double mMin, double mMax)
const BPHEventSetupWrapper * evSetup
void setProbMin(double p)
set prob min
Definition: BPHChi2Select.h:60
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
void setMassRange(double mMin, double mMax)