CMS 3D CMS Logo

BPHPhiToKKBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHPhiToKKBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHPhiToKKBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
22 
24 
27 class BPHChi2Select;
28 class BPHMassSelect;
29 
30 //---------------
31 // C++ Headers --
32 //---------------
33 #include <string>
34 #include <vector>
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 public:
45  const BPHRecoBuilder::BPHGenericCollection* kPosCollection,
46  const BPHRecoBuilder::BPHGenericCollection* kNegCollection);
47 
50  virtual ~BPHPhiToKKBuilder();
51 
54  std::vector<BPHPlusMinusConstCandPtr> build();
56 
58  void setPtMin(double pt);
59  void setEtaMax(double eta);
60  void setMassMin(double m);
61  void setMassMax(double m);
62  void setProbMin(double p);
63  void setConstr(double mass, double sigma);
64 
66  double getPtMin() const;
67  double getEtaMax() const;
68  double getMassMin() const;
69  double getMassMax() const;
70  double getProbMin() const;
71  double getConstrMass() const;
72  double getConstrSigma() const;
73 
74 private:
75  // private copy and assigment constructors
76  BPHPhiToKKBuilder(const BPHPhiToKKBuilder& x) = delete;
77  BPHPhiToKKBuilder& operator=(const BPHPhiToKKBuilder& x) = delete;
78 
81 
85 
90  double cMass;
91  double cSigma;
92  bool updated;
93 
94  std::vector<BPHPlusMinusConstCandPtr> phiList;
95 };
96 
97 #endif
void setEtaMax(double eta)
BPHParticlePtSelect * ptSel
const BPHRecoBuilder::BPHGenericCollection * negCollection
double getEtaMax() const
void setPtMin(double pt)
set cuts
const edm::EventSetup * evSetup
std::vector< BPHPlusMinusConstCandPtr > phiList
double getConstrMass() const
BPHChi2Select * chi2Sel
BPHParticleEtaSelect * etaSel
std::vector< BPHPlusMinusConstCandPtr > build()
build Phi candidates
const BPHRecoBuilder::BPHGenericCollection * posCollection
virtual ~BPHPhiToKKBuilder()
void setProbMin(double p)
BPHPhiToKKBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *kPosCollection, const BPHRecoBuilder::BPHGenericCollection *kNegCollection)
double getMassMin() const
void setMassMin(double m)
void setMassMax(double m)
double getConstrSigma() const
BPHMassSelect * massSel
void setConstr(double mass, double sigma)
BPHPhiToKKBuilder & operator=(const BPHPhiToKKBuilder &x)=delete
double getMassMax() const
double getProbMin() const
double getPtMin() const
get current cuts