CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StKinFitter.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef TopKinFitter_StKinFitter_h
5 #define TopKinFitter_StKinFitter_h
6 
8 
10 
11 #include "TLorentzVector.h"
12 
13 #include <memory>
14 #include <vector>
15 
16 class TKinFitter;
17 class TAbsFitParticle;
18 class TFitConstraintM;
19 
20 class StKinFitter : public TopKinFitter {
21 public:
22  StKinFitter();
23  StKinFitter(int jetParam,
24  int lepParam,
25  int metParam,
26  int maxNrIter,
27  double maxDeltaS,
28  double maxF,
29  const std::vector<int>& constraints);
30  StKinFitter(Param jetParam,
31  Param lepParam,
32  Param metParam,
33  int maxNrIter,
34  double maxDeltaS,
35  double maxF,
36  const std::vector<int>& constraints);
37  ~StKinFitter();
38 
40 
41 private:
42  void setupFitter();
43 
44 private:
45  // the particles that enter the kinematic fit
46  std::unique_ptr<TAbsFitParticle> fitBottom_;
47  std::unique_ptr<TAbsFitParticle> fitLight_;
48  std::unique_ptr<TAbsFitParticle> fitLepton_;
49  std::unique_ptr<TAbsFitParticle> fitNeutrino_;
50  // the constraints on the fit
51  std::unique_ptr<TFitConstraintM> cons1_;
52  std::unique_ptr<TFitConstraintM> cons2_;
53  std::unique_ptr<TFitConstraintM> cons3_;
54  // other parameters
56  std::vector<int> constraints_;
57 };
58 
59 #endif
Param
supported parameterizations
Definition: TopKinFitter.h:22
void setupFitter()
Definition: StKinFitter.cc:245
std::unique_ptr< TFitConstraintM > cons1_
Definition: StKinFitter.h:51
std::unique_ptr< TFitConstraintM > cons3_
Definition: StKinFitter.h:53
std::unique_ptr< TAbsFitParticle > fitLight_
Definition: StKinFitter.h:47
Param metParam_
Definition: StKinFitter.h:55
std::unique_ptr< TFitConstraintM > cons2_
Definition: StKinFitter.h:52
std::unique_ptr< TAbsFitParticle > fitNeutrino_
Definition: StKinFitter.h:49
std::vector< int > constraints_
Definition: StKinFitter.h:56
std::unique_ptr< TAbsFitParticle > fitLepton_
Definition: StKinFitter.h:48
Param lepParam_
Definition: StKinFitter.h:55
std::unique_ptr< TAbsFitParticle > fitBottom_
Definition: StKinFitter.h:46
StEvtSolution addKinFitInfo(StEvtSolution *asol)
Definition: StKinFitter.cc:61
Param jetParam_
Definition: StKinFitter.h:55