CMS 3D CMS Logo

BPHDecayToFlyingCascadeBuilderBase.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 //-------------------------------
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 using namespace std;
26 
27 //-------------------
28 // Initializations --
29 //-------------------
30 
31 //----------------
32 // Constructors --
33 //----------------
35  const string& flyName,
36  double flyMass,
37  double flyMSigma)
38  : BPHDecayToFlyingCascadeBuilderBase(flyName, flyMass, flyMSigma) {
39  if (evSetup == nullptr)
40  evSetup = new BPHEventSetupWrapper(es);
41 }
42 
44  double flyMass,
45  double flyMSigma)
46  : fName(flyName),
47  fMass(flyMass),
48  fMSigma(flyMSigma),
49  flySel(new BPHMassFitSelect(-2.0e+06, -1.0e+06)),
50  kfChi2Sel(new BPHKinFitChi2Select(-1.0)) {}
51 
53  : flySel(new BPHMassFitSelect(-2.0e+06, -1.0e+06)), kfChi2Sel(new BPHKinFitChi2Select(-1.0)) {}
54 
55 //--------------
56 // Destructor --
57 //--------------
59  delete flySel;
60  delete kfChi2Sel;
61 }
62 
63 //--------------
64 // Operations --
65 //--------------
66 
69  outdated = true;
71  return;
72 }
73 
75  outdated = true;
77  return;
78 }
79 
81  outdated = true;
82  flySel->setMassMin(mMin);
83  flySel->setMassMax(mMax);
84  return;
85 }
86 
88  outdated = true;
90 }
void setMassMax(double m)
Definition: BPHMassCuts.h:52
const BPHEventSetupWrapper * evSetup
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
void setProbMin(double p)
set prob min