CMS 3D CMS Logo

BPHKx0ToKPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHKx0ToKPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHKx0ToKPiBuilder_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* posCollection,
49  const BPHRecoBuilder::BPHGenericCollection* negCollection );
50 
53  virtual ~BPHKx0ToKPiBuilder();
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> kx0List;
99 
100 };
101 
102 
103 #endif
104 
BPHKx0ToKPiBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
double getConstrSigma() const
std::vector< BPHPlusMinusConstCandPtr > kx0List
const BPHRecoBuilder::BPHGenericCollection * pCollection
void setMassMin(double m)
void setProbMin(double p)
void setPtMin(double pt)
set cuts
BPHParticleEtaSelect * etaSel
double getPtMin() const
get current cuts
double getEtaMax() const
void setEtaMax(double eta)
double getMassMax() const
const edm::EventSetup * evSetup
double getProbMin() const
BPHKx0ToKPiBuilder & operator=(const BPHKx0ToKPiBuilder &x)
const BPHRecoBuilder::BPHGenericCollection * nCollection
BPHMassSelect * massSel
double getMassMin() const
void setMassMax(double m)
BPHChi2Select * chi2Sel
BPHParticlePtSelect * ptSel
void setConstr(double mass, double sigma)
double getConstrMass() const
std::vector< BPHPlusMinusConstCandPtr > build()
build Phi candidates