CMS 3D CMS Logo

BPHLbToJPsiL0Builder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHLbToJPsiL0Builder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHLbToJPsiL0Builder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
27 
29 
31 
32 //---------------
33 // C++ Headers --
34 //---------------
35 #include <string>
36 #include <vector>
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43  : public BPHDecayToResFlyingBuilder<BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate> {
44 public:
48  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
49  const std::vector<BPHPlusMinusConstCandPtr>& l0Collection)
50  : BPHDecayGenericBuilderBase(es, nullptr),
52  BPHDecayToFlyingCascadeBuilderBase("Lambda0", BPHParticleMasses::lambda0Mass, BPHParticleMasses::lambda0MSigma),
53  BPHDecayToResFlyingBuilder(jpsiCollection, l0Collection) {
54  setResMassRange(2.80, 3.40);
55  setFlyingMassRange(0.00, 3.00);
56  setMassRange(3.50, 8.00);
57  setKinFitProbMin(0.02);
58  setMassFitRange(5.00, 6.00);
59  setConstr(true);
60  }
61 
62  // deleted copy constructor and assignment operator
65 
68  ~BPHLbToJPsiL0Builder() override = default;
69 
72  void setJPsiMassMin(double m) { setResMassMin(m); }
74  void setJPsiMassMax(double m) { setResMassMax(m); }
77 
79  double getJPsiMassMin() const { return getResMassMin(); }
80  double getJPsiMassMax() const { return getResMassMax(); }
81  double getLambda0MassMin() const { return getFlyingMassMin(); }
82  double getLambda0MassMax() const { return getFlyingMassMax(); }
83 
85  void setup(void* parameters) override {}
86 };
87 
88 #endif
BPHLbToJPsiL0Builder & operator=(const BPHLbToJPsiL0Builder &x)=delete
double getJPsiMassMax() const
void setMassFitRange(double mMin, double mMax)
void setLambda0MassMin(double m)
void setJPsiMassMax(double m)
double getResMassMin() const
get current cuts
void setJPsiMassMin(double m)
set cuts
double getJPsiMassMin() const
get current cuts
~BPHLbToJPsiL0Builder() override=default
void setResMassRange(double mMin, double mMax)
void setLambda0MassMax(double m)
double getLambda0MassMin() const
void setup(void *parameters) override
setup parameters for BPHRecoBuilder
BPHLbToJPsiL0Builder(const BPHEventSetupWrapper &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &l0Collection)
double getLambda0MassMax() const
void setMassRange(double mMin, double mMax)