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 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
23 
25 
28 class BPHChi2Select;
29 class BPHMassSelect;
30 
31 //---------------
32 // C++ Headers --
33 //---------------
34 #include <string>
35 #include <vector>
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
42 
43  public:
44 
48  const BPHRecoBuilder::BPHGenericCollection* kPosCollection,
49  const BPHRecoBuilder::BPHGenericCollection* kNegCollection );
50 
53  virtual ~BPHPhiToKKBuilder();
54 
57  std::vector<BPHPlusMinusConstCandPtr> build();
59 
61  void setPtMin ( double pt );
62  void setEtaMax ( double eta );
63  void setMassMin( double m );
64  void setMassMax( double m );
65  void setProbMin( double p );
66  void setConstr ( double mass, double sigma );
67 
69  double getPtMin () const;
70  double getEtaMax () const;
71  double getMassMin() const;
72  double getMassMax() const;
73  double getProbMin() const;
74  double getConstrMass () const;
75  double getConstrSigma() const;
76 
77  private:
78 
79  // private copy and assigment constructors
82 
85 
89 
94  double cMass;
95  double cSigma;
96  bool updated;
97 
98  std::vector<BPHPlusMinusConstCandPtr> phiList;
99 
100 };
101 
102 
103 #endif
104 
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)
double getMassMax() const
double getProbMin() const
double getPtMin() const
get current cuts