HeavyFlavorAnalysis
SpecificDecay
interface
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
//----------------------
16
#include "
HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayGenericBuilder.h
"
17
18
//------------------------------------
19
// Collaborating Class Declarations --
20
//------------------------------------
21
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h
"
22
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoCandidate.h
"
23
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHPlusMinusCandidate.h
"
24
25
#include "
FWCore/Framework/interface/Event.h
"
26
27
//---------------
28
// C++ Headers --
29
//---------------
30
#include <string>
31
#include <vector>
32
33
// ---------------------
34
// -- Class Interface --
35
// ---------------------
36
37
class
BPHDecayConstrainedBuilder
:
public
BPHDecayGenericBuilder
{
38
public
:
41
BPHDecayConstrainedBuilder
(
const
edm::EventSetup
& es,
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
48
BPHDecayConstrainedBuilder
(
const
BPHDecayConstrainedBuilder
&
x
) =
delete
;
49
BPHDecayConstrainedBuilder
&
operator=
(
const
BPHDecayConstrainedBuilder
&
x
) =
delete
;
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
:
69
std::string
rName
;
70
double
rMass
;
71
double
rWidth
;
72
73
const
std::vector<BPHPlusMinusConstCandPtr>*
rCollection
;
74
75
BPHMassSelect
*
resoSel
;
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:58
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
Generated for CMSSW Reference Manual by
1.8.16