CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHX3872ToJPsiPiPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHX3872ToJPsiPiPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHX3872ToJPsiPiPiBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
22 
24 
25 class BPHParticleChargeSelect;
28 class BPHMassSelect;
29 class BPHChi2Select;
30 class BPHMassFitSelect;
31 
32 //---------------
33 // C++ Headers --
34 //---------------
35 #include <string>
36 #include <vector>
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 public:
47  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
48  const BPHRecoBuilder::BPHGenericCollection* posCollection,
49  const BPHRecoBuilder::BPHGenericCollection* negCollection);
50 
51  // deleted copy constructor and assignment operator
54 
58 
61  std::vector<BPHRecoConstCandPtr> build();
63 
65  void setPiPtMin(double pt);
66  void setPiEtaMax(double eta);
67  void setJPsiMassMin(double m);
68  void setJPsiMassMax(double m);
69  void setMassMin(double m);
70  void setMassMax(double m);
71  void setProbMin(double p);
72  void setMassFitMin(double m);
73  void setMassFitMax(double m);
74  void setConstr(bool flag);
75 
77  double getPiPtMin() const;
78  double getPiEtaMax() const;
79  double getJPsiMassMin() const;
80  double getJPsiMassMax() const;
81  double getMassMin() const;
82  double getMassMax() const;
83  double getProbMin() const;
84  double getMassFitMin() const;
85  double getMassFitMax() const;
86  bool getConstr() const;
87 
88 private:
92 
94  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
97 
99  double ptMin;
100  double etaMax;
101 
105 
107  float minPDiff;
108  bool updated;
109 
110  std::vector<BPHRecoConstCandPtr> x3872List;
111 };
112 
113 #endif
BPHX3872ToJPsiPiPiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
double getJPsiMassMin() const
get current cuts
const edm::EventSetup * evSetup
void setPiPtMin(double pt)
set cuts
const BPHRecoBuilder::BPHGenericCollection * pCollection
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
const BPHRecoBuilder::BPHGenericCollection * nCollection
BPHX3872ToJPsiPiPiBuilder & operator=(const BPHX3872ToJPsiPiPiBuilder &x)=delete
std::vector< BPHRecoConstCandPtr > x3872List
std::vector< BPHRecoConstCandPtr > build()
build X3872 candidates
void setJPsiMassMin(double m)
set cuts
double getPiPtMin() const
get current cuts