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 //------------------------------------
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>& phiCollection );
49 
52  virtual ~BPHBsToJPsiPhiBuilder();
53 
56  std::vector<BPHRecoConstCandPtr> build();
58 
60  void setJPsiMassMin( double m );
61  void setJPsiMassMax( double m );
62  void setPhiMassMin ( double m );
63  void setPhiMassMax ( 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 getPhiMassMin () const;
75  double getPhiMassMax () 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
86  BPHBsToJPsiPhiBuilder ( const BPHBsToJPsiPhiBuilder& x ) = delete;
88 
91 
93  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
94  const std::vector<BPHPlusMinusConstCandPtr>* pCollection;
95 
98 
102 
104  float minPDiff;
105  bool updated;
106 
107  std::vector<BPHRecoConstCandPtr> bsList;
108 
109 };
110 
111 
112 #endif
113 
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