CMS 3D CMS Logo

BPHBcToJPsiPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBcToJPsiPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBcToJPsiPiBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
24 
26 
30 class BPHMassSelect;
31 class BPHChi2Select;
32 class BPHMassFitSelect;
33 
34 //---------------
35 // C++ Headers --
36 //---------------
37 #include <string>
38 #include <vector>
39 
40 // ---------------------
41 // -- Class Interface --
42 // ---------------------
43 
45 public:
49  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
50  const BPHRecoBuilder::BPHGenericCollection* pionCollection)
52  "JPsi",
53  BPHParticleMasses::jPsiMass,
54  BPHParticleMasses::jPsiMWidth,
55  jpsiCollection,
56  "Pion",
57  BPHParticleMasses::pionMass,
58  BPHParticleMasses::pionMSigma,
59  pionCollection) {
60  setResMassRange(2.80, 3.40);
61  setTrkPtMin(0.7);
62  setTrkEtaMax(10.0);
63  setMassRange(4.00, 9.00);
64  setProbMin(0.02);
65  setMassFitRange(6.00, 7.00);
66  setConstr(true);
67  }
68 
69  // deleted copy constructor and assignment operator
72 
75  ~BPHBcToJPsiPiBuilder() override {}
76 
79  void setPiPtMin(double pt) { setTrkPtMin(pt); }
81  void setPiEtaMax(double eta) { setTrkEtaMax(eta); }
82  void setJPsiMassMin(double m) { setResMassMin(m); }
83  void setJPsiMassMax(double m) { setResMassMax(m); }
84 
86  double getPiPtMin() const { return getTrkPtMin(); }
87  double getPiEtaMax() const { return getTrkEtaMax(); }
88  double getJPsiMassMin() const { return getResMassMin(); }
89  double getJPsiMassMax() const { return getResMassMax(); }
90 };
91 
92 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHBcToJPsiPiBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHBcToJPsiPiBuilder.h:83
BPHBcToJPsiPiBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
Definition: BPHBcToJPsiPiBuilder.h:82
BPHDecayToResTrkBuilder::getTrkPtMin
double getTrkPtMin() const
get current cuts
Definition: BPHDecayToResTrkBuilder.h:74
BPHBcToJPsiPiBuilder::operator=
BPHBcToJPsiPiBuilder & operator=(const BPHBcToJPsiPiBuilder &x)=delete
BPHBcToJPsiPiBuilder::setPiPtMin
void setPiPtMin(double pt)
set cuts
Definition: BPHBcToJPsiPiBuilder.h:80
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHBcToJPsiPiBuilder::setPiEtaMax
void setPiEtaMax(double eta)
Definition: BPHBcToJPsiPiBuilder.h:81
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
BPHDecayToResTrkBuilder
Definition: BPHDecayToResTrkBuilder.h:42
DDAxes::x
BPHParticleEtaSelect
Definition: BPHParticleEtaSelect.h:30
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHBcToJPsiPiBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHBcToJPsiPiBuilder.h:89
BPHBcToJPsiPiBuilder::getPiEtaMax
double getPiEtaMax() const
Definition: BPHBcToJPsiPiBuilder.h:87
BPHParticleMasses.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHParticleNeutralVeto
Definition: BPHParticleNeutralVeto.h:30
BPHDecayToResTrkBuilder::setTrkPtMin
void setTrkPtMin(double pt)
set cuts
Definition: BPHDecayToResTrkBuilder.cc:94
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHParticlePtSelect
Definition: BPHParticlePtSelect.h:30
BPHBcToJPsiPiBuilder::~BPHBcToJPsiPiBuilder
~BPHBcToJPsiPiBuilder() override
Definition: BPHBcToJPsiPiBuilder.h:75
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
BPHDecayConstrainedBuilder::setResMassMax
void setResMassMax(double m)
Definition: BPHDecayConstrainedBuilder.cc:60
Event.h
BPHDecayConstrainedBuilder::setResMassMin
void setResMassMin(double m)
set cuts
Definition: BPHDecayConstrainedBuilder.cc:54
BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder
BPHBcToJPsiPiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
Definition: BPHBcToJPsiPiBuilder.h:48
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHDecayToResTrkBuilder.h
BPHBcToJPsiPiBuilder::getPiPtMin
double getPiPtMin() const
get current cuts
Definition: BPHBcToJPsiPiBuilder.h:86
edm::EventSetup
Definition: EventSetup.h:58
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHRecoBuilder.h
BPHDecayToResTrkBuilder::getTrkEtaMax
double getTrkEtaMax() const
Definition: BPHDecayToResTrkBuilder.h:75
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHRecoBuilder::BPHGenericCollection
Definition: BPHRecoBuilder.h:70
BPHBcToJPsiPiBuilder::getJPsiMassMin
double getJPsiMassMin() const
Definition: BPHBcToJPsiPiBuilder.h:88
BPHPlusMinusCandidate.h
BPHRecoCandidate.h
BPHBcToJPsiPiBuilder
Definition: BPHBcToJPsiPiBuilder.h:44
BPHDecayToResTrkBuilder::setTrkEtaMax
void setTrkEtaMax(double eta)
Definition: BPHDecayToResTrkBuilder.cc:100
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34