CMS 3D CMS Logo

BPHBdToJPsiKxBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKxBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKxBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
23 
25 
26 class BPHMassSelect;
27 class BPHChi2Select;
28 class BPHMassFitSelect;
29 
30 //---------------
31 // C++ Headers --
32 //---------------
33 #include <string>
34 #include <vector>
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 
42  public:
43 
47  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
48  const std::vector<BPHPlusMinusConstCandPtr>& kx0Collection );
49 
52  virtual ~BPHBdToJPsiKxBuilder();
53 
56  std::vector<BPHRecoConstCandPtr> build();
58 
60  void setJPsiMassMin( double m );
61  void setJPsiMassMax( double m );
62  void setKxMassMin ( double m );
63  void setKxMassMax ( double m );
64  void setMassMin ( double m );
65  void setMassMax ( double m );
66  void setProbMin ( double p );
67  void setMassFitMin ( double m );
68  void setMassFitMax ( double m );
69  void setConstr ( bool flag );
70 
72  double getJPsiMassMin() const;
73  double getJPsiMassMax() const;
74  double getKxMassMin () const;
75  double getKxMassMax () const;
76  double getMassMin () const;
77  double getMassMax () const;
78  double getProbMin () const;
79  double getMassFitMin () const;
80  double getMassFitMax () const;
81  bool getConstr () const;
82 
83  private:
84 
85  // private copy and assigment constructors
88 
91 
93  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
94  const std::vector<BPHPlusMinusConstCandPtr>* kCollection;
95 
98 
102 
104  float minPDiff;
105  bool updated;
106 
107  std::vector<BPHRecoConstCandPtr> bdList;
108 
109 };
110 
111 
112 #endif
113 
double getJPsiMassMin() const
get current cuts
void setJPsiMassMin(double m)
set cuts
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
const edm::EventSetup * evSetup
std::vector< BPHRecoConstCandPtr > bdList
BPHBdToJPsiKxBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
double getJPsiMassMax() const
BPHMassFitSelect * mFitSel
const std::vector< BPHPlusMinusConstCandPtr > * kCollection
BPHBdToJPsiKxBuilder & operator=(const BPHBdToJPsiKxBuilder &x)
std::vector< BPHRecoConstCandPtr > build()
build Bs candidates