CMS 3D CMS Logo

BPHBuToJPsiKBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBuToJPsiKBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBuToJPsiKBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
23 
25 
29 class BPHMassSelect;
30 class BPHChi2Select;
31 class BPHMassFitSelect;
32 
33 //---------------
34 // C++ Headers --
35 //---------------
36 #include <string>
37 #include <vector>
38 
39 // ---------------------
40 // -- Class Interface --
41 // ---------------------
42 
44 
45  public:
46 
50  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
51  const BPHRecoBuilder::BPHGenericCollection* kaonCollection );
52 
55  virtual ~BPHBuToJPsiKBuilder();
56 
59  std::vector<BPHRecoConstCandPtr> build();
61 
63  void setKPtMin ( double pt );
64  void setKEtaMax ( double eta );
65  void setJPsiMassMin( double m );
66  void setJPsiMassMax( double m );
67  void setMassMin ( double m );
68  void setMassMax ( double m );
69  void setProbMin ( double p );
70  void setMassFitMin ( double m );
71  void setMassFitMax ( double m );
72  void setConstr ( bool flag );
73 
75  double getKPtMin () const;
76  double getKEtaMax () const;
77  double getJPsiMassMin() const;
78  double getJPsiMassMax() const;
79  double getMassMin () const;
80  double getMassMax () const;
81  double getProbMin () const;
82  double getMassFitMin () const;
83  double getMassFitMax () const;
84  bool getConstr () const;
85 
86  private:
87 
88  // private copy and assigment constructors
89  BPHBuToJPsiKBuilder ( const BPHBuToJPsiKBuilder& x ) = delete;
91 
94 
96  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
98 
103 
107 
109  float minPDiff;
110  bool updated;
111 
112  std::vector<BPHRecoConstCandPtr> buList;
113 
114 };
115 
116 
117 #endif
118 
BPHParticlePtSelect * ptSel
std::vector< BPHRecoConstCandPtr > build()
build Bu candidates
double getJPsiMassMax() const
BPHParticleNeutralVeto * knVeto
double getMassMin() const
BPHMassFitSelect * mFitSel
void setJPsiMassMin(double m)
set cuts
void setKPtMin(double pt)
set cuts
void setMassFitMax(double m)
void setKEtaMax(double eta)
double getMassFitMax() const
BPHParticleEtaSelect * etaSel
BPHBuToJPsiKBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
const BPHRecoBuilder::BPHGenericCollection * kCollection
double getKPtMin() const
get current cuts
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
void setMassFitMin(double m)
double getJPsiMassMin() const
get current cuts
BPHBuToJPsiKBuilder & operator=(const BPHBuToJPsiKBuilder &x)=delete
double getMassFitMin() const
double getMassMax() const
double getProbMin() const
const edm::EventSetup * evSetup
BPHMassSelect * jpsiSel
double getKEtaMax() const
void setJPsiMassMax(double m)
std::vector< BPHRecoConstCandPtr > buList