CMS 3D CMS Logo

BPHDecayConstrainedBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilder_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
24 
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 #include <string>
31 #include <vector>
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
38 public:
42  const std::string& resName,
43  double resMass,
44  double resWidth,
45  const std::vector<BPHPlusMinusConstCandPtr>& resCollection);
46 
47  // deleted copy constructor and assignment operator
50 
53  ~BPHDecayConstrainedBuilder() override;
54 
57  void setResMassMin(double m);
59  void setResMassMax(double m);
60  void setResMassRange(double mMin, double mMax);
61  void setConstr(bool flag);
62 
64  double getResMassMin() const { return resoSel->getMassMin(); }
65  double getResMassMax() const { return resoSel->getMassMax(); }
66  bool getConstr() const { return massConstr; }
67 
68 protected:
70  double rMass;
71  double rWidth;
72 
73  const std::vector<BPHPlusMinusConstCandPtr>* rCollection;
74 
76 
77  bool massConstr;
78 };
79 
80 #endif
BPHDecayConstrainedBuilder::operator=
BPHDecayConstrainedBuilder & operator=(const BPHDecayConstrainedBuilder &x)=delete
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayConstrainedBuilder
Definition: BPHDecayConstrainedBuilder.h:37
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
DDAxes::x
BPHDecayConstrainedBuilder::BPHDecayConstrainedBuilder
BPHDecayConstrainedBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection)
Definition: BPHDecayConstrainedBuilder.cc:32
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHDecayConstrainedBuilder::resoSel
BPHMassSelect * resoSel
Definition: BPHDecayConstrainedBuilder.h:75
BPHDecayConstrainedBuilder::rCollection
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
Definition: BPHDecayConstrainedBuilder.h:73
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHDecayConstrainedBuilder::massConstr
bool massConstr
Definition: BPHDecayConstrainedBuilder.h:77
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
BPHMassSelect
Definition: BPHMassSelect.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BPHDecayConstrainedBuilder::setResMassMax
void setResMassMax(double m)
Definition: BPHDecayConstrainedBuilder.cc:60
Event.h
BPHDecayConstrainedBuilder::getConstr
bool getConstr() const
Definition: BPHDecayConstrainedBuilder.h:66
BPHDecayConstrainedBuilder::setResMassMin
void setResMassMin(double m)
set cuts
Definition: BPHDecayConstrainedBuilder.cc:54
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
edm::EventSetup
Definition: EventSetup.h:57
BPHRecoBuilder.h
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHPlusMinusCandidate.h
BPHDecayConstrainedBuilder::rMass
double rMass
Definition: BPHDecayConstrainedBuilder.h:70
BPHDecayConstrainedBuilder::rName
std::string rName
Definition: BPHDecayConstrainedBuilder.h:69
BPHDecayGenericBuilder
Definition: BPHDecayGenericBuilder.h:36
BPHRecoCandidate.h
BPHDecayGenericBuilder.h
BPHDecayConstrainedBuilder::rWidth
double rWidth
Definition: BPHDecayConstrainedBuilder.h:71
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
BPHDecayConstrainedBuilder::~BPHDecayConstrainedBuilder
~BPHDecayConstrainedBuilder() override
Definition: BPHDecayConstrainedBuilder.cc:48