CMS 3D CMS Logo

BPHDecayConstrainedBuilderBase.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilderBase_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilderBase_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
23 
25 class BPHMassFitSelect;
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 #include <string>
31 #include <vector>
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
38 public:
42  const std::string& resName,
43  double resMass,
44  double resWidth);
45 
46  // deleted copy constructor and assignment operator
49 
53 
56  void setResMassMin(double m);
58  void setResMassMax(double m);
59  void setResMassRange(double mMin, double mMax);
60  void setConstr(bool flag);
62 
64  double getResMassMin() const { return resoSel->getMassMin(); }
65  double getResMassMax() const { return resoSel->getMassMax(); }
66  bool getConstr() const { return massConstr; }
68 
69 protected:
71  double resMass,
72  double resWidth,
73  bool createFitSelObject = true);
75 
77  double rMass;
78  double rWidth;
79 
81 
82  bool massConstr;
83  bool mfSelForce;
84 
85  virtual void addResCollection(BPHRecoBuilder& brb) = 0;
86  virtual BPHMassFitSelect* massFitSelector(double mMin, double mMax);
87 };
88 
89 #endif
virtual void addResCollection(BPHRecoBuilder &brb)=0
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayConstrainedBuilderBase & operator=(const BPHDecayConstrainedBuilderBase &x)=delete
virtual BPHMassFitSelect * massFitSelector(double mMin, double mMax)
void setMassFitSelect(BPHMassFitSelect *mfs)
double getResMassMin() const
get current cuts
double getMassMax() const
Definition: BPHMassCuts.h:59
void setResMassRange(double mMin, double mMax)