CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHBdToKxMuMuBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBdToKxMuMuBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBdToKxMuMuBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
22 
24 
25 class BPHMassSelect;
26 class BPHChi2Select;
27 class BPHMassFitSelect;
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 #include <string>
33 #include <vector>
34 
35 // ---------------------
36 // -- Class Interface --
37 // ---------------------
38 
40 public:
44  const std::vector<BPHPlusMinusConstCandPtr>& oniaCollection,
45  const std::vector<BPHPlusMinusConstCandPtr>& kx0Collection);
46 
47  // deleted copy constructor and assignment operator
50 
53  virtual ~BPHBdToKxMuMuBuilder();
54 
57  std::vector<BPHRecoConstCandPtr> build();
59 
61  void setOniaMassMin(double m);
62  void setOniaMassMax(double m);
63  void setKxMassMin(double m);
64  void setKxMassMax(double m);
65  void setMassMin(double m);
66  void setMassMax(double m);
67  void setProbMin(double p);
68  void setMassFitMin(double m);
69  void setMassFitMax(double m);
70  void setConstr(bool flag);
71 
73  double getOniaMassMin() const;
74  double getOniaMassMax() const;
75  double getKxMassMin() const;
76  double getKxMassMax() const;
77  double getMassMin() const;
78  double getMassMax() const;
79  double getProbMin() const;
80  double getMassFitMin() const;
81  double getMassFitMax() const;
82  bool getConstr() const;
83 
84 private:
87 
89  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
90  const std::vector<BPHPlusMinusConstCandPtr>* kCollection;
91 
94 
98 
99  bool massConstr;
100  float minPDiff;
101  bool updated;
102 
103  std::vector<BPHRecoConstCandPtr> bdList;
104 };
105 
106 #endif
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
BPHBdToKxMuMuBuilder & operator=(const BPHBdToKxMuMuBuilder &x)=delete
double getOniaMassMax() const
std::vector< BPHRecoConstCandPtr > bdList
const std::vector< BPHPlusMinusConstCandPtr > * kCollection
std::vector< BPHRecoConstCandPtr > build()
build Bs candidates
BPHBdToKxMuMuBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &oniaCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
double getOniaMassMin() const
get current cuts
void setOniaMassMin(double m)
set cuts
const edm::EventSetup * evSetup
BPHMassFitSelect * mFitSel