CMS 3D CMS Logo

BPHBdToKxMuMuBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBdToKxMuMuBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBdToKxMuMuBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
22 
24 
25 class BPHMassSelect;
26 class BPHChi2Select;
27 class BPHMassFitSelect;
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 #include <string>
33 #include <vector>
34 
35 // ---------------------
36 // -- Class Interface --
37 // ---------------------
38 
40 public:
44  const std::vector<BPHPlusMinusConstCandPtr>& oniaCollection,
45  const std::vector<BPHPlusMinusConstCandPtr>& kx0Collection);
46 
47  // deleted copy constructor and assignment operator
50 
53  virtual ~BPHBdToKxMuMuBuilder();
54 
57  std::vector<BPHRecoConstCandPtr> build();
59 
61  void setOniaMassMin(double m);
62  void setOniaMassMax(double m);
63  void setKxMassMin(double m);
64  void setKxMassMax(double m);
65  void setMassMin(double m);
66  void setMassMax(double m);
67  void setProbMin(double p);
68  void setMassFitMin(double m);
69  void setMassFitMax(double m);
70  void setConstr(bool flag);
71 
73  double getOniaMassMin() const;
74  double getOniaMassMax() const;
75  double getKxMassMin() const;
76  double getKxMassMax() const;
77  double getMassMin() const;
78  double getMassMax() const;
79  double getProbMin() const;
80  double getMassFitMin() const;
81  double getMassFitMax() const;
82  bool getConstr() const;
83 
84 private:
87 
89  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
90  const std::vector<BPHPlusMinusConstCandPtr>* kCollection;
91 
94 
98 
99  bool massConstr;
100  float minPDiff;
101  bool updated;
102 
103  std::vector<BPHRecoConstCandPtr> bdList;
104 };
105 
106 #endif
BPHBdToKxMuMuBuilder::getKxMassMax
double getKxMassMax() const
Definition: BPHBdToKxMuMuBuilder.cc:174
BPHBdToKxMuMuBuilder::setKxMassMin
void setKxMassMin(double m)
Definition: BPHBdToKxMuMuBuilder.cc:118
BPHBdToKxMuMuBuilder::setKxMassMax
void setKxMassMax(double m)
Definition: BPHBdToKxMuMuBuilder.cc:124
BPHBdToKxMuMuBuilder::getConstr
bool getConstr() const
Definition: BPHBdToKxMuMuBuilder.cc:186
BPHBdToKxMuMuBuilder::kCollection
const std::vector< BPHPlusMinusConstCandPtr > * kCollection
Definition: BPHBdToKxMuMuBuilder.h:90
DDAxes::x
BPHBdToKxMuMuBuilder::updated
bool updated
Definition: BPHBdToKxMuMuBuilder.h:101
BPHBdToKxMuMuBuilder::massConstr
bool massConstr
Definition: BPHBdToKxMuMuBuilder.h:99
BPHBdToKxMuMuBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHBdToKxMuMuBuilder.h:88
BPHBdToKxMuMuBuilder
Definition: BPHBdToKxMuMuBuilder.h:39
BPHBdToKxMuMuBuilder::setMassMax
void setMassMax(double m)
Definition: BPHBdToKxMuMuBuilder.cc:136
BPHBdToKxMuMuBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHBdToKxMuMuBuilder.h:97
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHBdToKxMuMuBuilder::getMassMin
double getMassMin() const
Definition: BPHBdToKxMuMuBuilder.cc:176
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHBdToKxMuMuBuilder::~BPHBdToKxMuMuBuilder
virtual ~BPHBdToKxMuMuBuilder()
Definition: BPHBdToKxMuMuBuilder.cc:53
BPHBdToKxMuMuBuilder::setMassFitMax
void setMassFitMax(double m)
Definition: BPHBdToKxMuMuBuilder.cc:155
BPHBdToKxMuMuBuilder::setMassMin
void setMassMin(double m)
Definition: BPHBdToKxMuMuBuilder.cc:130
BPHBdToKxMuMuBuilder::setMassFitMin
void setMassFitMin(double m)
Definition: BPHBdToKxMuMuBuilder.cc:149
BPHBdToKxMuMuBuilder::minPDiff
float minPDiff
Definition: BPHBdToKxMuMuBuilder.h:100
BPHBdToKxMuMuBuilder::getProbMin
double getProbMin() const
Definition: BPHBdToKxMuMuBuilder.cc:180
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
Event.h
BPHBdToKxMuMuBuilder::kx0Name
std::string kx0Name
Definition: BPHBdToKxMuMuBuilder.h:86
BPHBdToKxMuMuBuilder::setProbMin
void setProbMin(double p)
Definition: BPHBdToKxMuMuBuilder.cc:142
BPHBdToKxMuMuBuilder::getMassFitMin
double getMassFitMin() const
Definition: BPHBdToKxMuMuBuilder.cc:182
edm::EventSetup
Definition: EventSetup.h:58
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHBdToKxMuMuBuilder::jCollection
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
Definition: BPHBdToKxMuMuBuilder.h:89
BPHRecoBuilder.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BPHBdToKxMuMuBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHBdToKxMuMuBuilder.h:96
BPHBdToKxMuMuBuilder::operator=
BPHBdToKxMuMuBuilder & operator=(const BPHBdToKxMuMuBuilder &x)=delete
BPHBdToKxMuMuBuilder::setOniaMassMax
void setOniaMassMax(double m)
Definition: BPHBdToKxMuMuBuilder.cc:112
BPHPlusMinusCandidate.h
BPHBdToKxMuMuBuilder::bdList
std::vector< BPHRecoConstCandPtr > bdList
Definition: BPHBdToKxMuMuBuilder.h:103
BPHBdToKxMuMuBuilder::getOniaMassMin
double getOniaMassMin() const
get current cuts
Definition: BPHBdToKxMuMuBuilder.cc:168
BPHBdToKxMuMuBuilder::getOniaMassMax
double getOniaMassMax() const
Definition: BPHBdToKxMuMuBuilder.cc:170
BPHBdToKxMuMuBuilder::mkx0Sel
BPHMassSelect * mkx0Sel
Definition: BPHBdToKxMuMuBuilder.h:93
BPHBdToKxMuMuBuilder::BPHBdToKxMuMuBuilder
BPHBdToKxMuMuBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &oniaCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
Definition: BPHBdToKxMuMuBuilder.cc:36
BPHBdToKxMuMuBuilder::oniaSel
BPHMassSelect * oniaSel
Definition: BPHBdToKxMuMuBuilder.h:92
BPHRecoCandidate.h
BPHBdToKxMuMuBuilder::setConstr
void setConstr(bool flag)
Definition: BPHBdToKxMuMuBuilder.cc:161
BPHBdToKxMuMuBuilder::massSel
BPHMassSelect * massSel
Definition: BPHBdToKxMuMuBuilder.h:95
BPHBdToKxMuMuBuilder::build
std::vector< BPHRecoConstCandPtr > build()
build Bs candidates
Definition: BPHBdToKxMuMuBuilder.cc:64
BPHBdToKxMuMuBuilder::oniaName
std::string oniaName
Definition: BPHBdToKxMuMuBuilder.h:85
BPHBdToKxMuMuBuilder::setOniaMassMin
void setOniaMassMin(double m)
set cuts
Definition: BPHBdToKxMuMuBuilder.cc:106
BPHBdToKxMuMuBuilder::getKxMassMin
double getKxMassMin() const
Definition: BPHBdToKxMuMuBuilder.cc:172
BPHBdToKxMuMuBuilder::getMassFitMax
double getMassFitMax() const
Definition: BPHBdToKxMuMuBuilder.cc:184
BPHBdToKxMuMuBuilder::getMassMax
double getMassMax() const
Definition: BPHBdToKxMuMuBuilder.cc:178
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:117
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34