CMS 3D CMS Logo

BPHBsToJPsiPhiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_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>& jpsiCollection,
45  const std::vector<BPHPlusMinusConstCandPtr>& phiCollection);
46 
49  virtual ~BPHBsToJPsiPhiBuilder();
50 
53  std::vector<BPHRecoConstCandPtr> build();
55 
57  void setJPsiMassMin(double m);
58  void setJPsiMassMax(double m);
59  void setPhiMassMin(double m);
60  void setPhiMassMax(double m);
61  void setMassMin(double m);
62  void setMassMax(double m);
63  void setProbMin(double p);
64  void setMassFitMin(double m);
65  void setMassFitMax(double m);
66  void setConstr(bool flag);
67 
69  double getJPsiMassMin() const;
70  double getJPsiMassMax() const;
71  double getPhiMassMin() const;
72  double getPhiMassMax() const;
73  double getMassMin() const;
74  double getMassMax() const;
75  double getProbMin() const;
76  double getMassFitMin() const;
77  double getMassFitMax() const;
78  bool getConstr() const;
79 
80 private:
81  // private copy and assigment constructors
84 
87 
89  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
90  const std::vector<BPHPlusMinusConstCandPtr>* pCollection;
91 
94 
98 
99  bool massConstr;
100  float minPDiff;
101  bool updated;
102 
103  std::vector<BPHRecoConstCandPtr> bsList;
104 };
105 
106 #endif
BPHBsToJPsiPhiBuilder & operator=(const BPHBsToJPsiPhiBuilder &x)=delete
const edm::EventSetup * evSetup
double getJPsiMassMin() const
get current cuts
BPHMassFitSelect * mFitSel
std::vector< BPHRecoConstCandPtr > bsList
BPHBsToJPsiPhiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &phiCollection)
const std::vector< BPHPlusMinusConstCandPtr > * pCollection
void setJPsiMassMin(double m)
set cuts
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
std::vector< BPHRecoConstCandPtr > build()
build Bs candidates