CMS 3D CMS Logo

BPHX3872ToJPsiPiPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHX3872ToJPsiPiPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHX3872ToJPsiPiPiBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
22 
24 
28 class BPHMassSelect;
29 class BPHChi2Select;
30 class BPHMassFitSelect;
31 
32 //---------------
33 // C++ Headers --
34 //---------------
35 #include <string>
36 #include <vector>
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 public:
47  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
48  const BPHRecoBuilder::BPHGenericCollection* posCollection,
49  const BPHRecoBuilder::BPHGenericCollection* negCollection);
50 
51  // deleted copy constructor and assignment operator
54 
58 
61  std::vector<BPHRecoConstCandPtr> build();
63 
65  void setPiPtMin(double pt);
66  void setPiEtaMax(double eta);
67  void setJPsiMassMin(double m);
68  void setJPsiMassMax(double m);
69  void setMassMin(double m);
70  void setMassMax(double m);
71  void setProbMin(double p);
72  void setMassFitMin(double m);
73  void setMassFitMax(double m);
74  void setConstr(bool flag);
75 
77  double getPiPtMin() const;
78  double getPiEtaMax() const;
79  double getJPsiMassMin() const;
80  double getJPsiMassMax() const;
81  double getMassMin() const;
82  double getMassMax() const;
83  double getProbMin() const;
84  double getMassFitMin() const;
85  double getMassFitMax() const;
86  bool getConstr() const;
87 
88 private:
92 
94  const std::vector<BPHPlusMinusConstCandPtr>* jCollection;
97 
99  double ptMin;
100  double etaMax;
101 
105 
107  float minPDiff;
108  bool updated;
109 
110  std::vector<BPHRecoConstCandPtr> x3872List;
111 };
112 
113 #endif
BPHX3872ToJPsiPiPiBuilder::getPiEtaMax
double getPiEtaMax() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:294
BPHX3872ToJPsiPiPiBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:290
BPHX3872ToJPsiPiPiBuilder::ptMin
double ptMin
Definition: BPHX3872ToJPsiPiPiBuilder.h:99
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHX3872ToJPsiPiPiBuilder::jCollection
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:94
BPHX3872ToJPsiPiPiBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHX3872ToJPsiPiPiBuilder.h:103
BPHX3872ToJPsiPiPiBuilder::massConstr
bool massConstr
Definition: BPHX3872ToJPsiPiPiBuilder.h:106
BPHX3872ToJPsiPiPiBuilder::getMassMax
double getMassMax() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:298
DDAxes::x
BPHParticleEtaSelect
Definition: BPHParticleEtaSelect.h:30
BPHX3872ToJPsiPiPiBuilder::build
std::vector< BPHRecoConstCandPtr > build()
build X3872 candidates
Definition: BPHX3872ToJPsiPiPiBuilder.cc:71
BPHX3872ToJPsiPiPiBuilder
Definition: BPHX3872ToJPsiPiPiBuilder.h:42
BPHX3872ToJPsiPiPiBuilder::~BPHX3872ToJPsiPiPiBuilder
virtual ~BPHX3872ToJPsiPiPiBuilder()
Definition: BPHX3872ToJPsiPiPiBuilder.cc:61
BPHX3872ToJPsiPiPiBuilder::setMassFitMax
void setMassFitMax(double m)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:275
BPHX3872ToJPsiPiPiBuilder::x3872List
std::vector< BPHRecoConstCandPtr > x3872List
Definition: BPHX3872ToJPsiPiPiBuilder.h:110
BPHX3872ToJPsiPiPiBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:104
BPHX3872ToJPsiPiPiBuilder::getMassFitMax
double getMassFitMax() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:304
BPHX3872ToJPsiPiPiBuilder::pionPosName
std::string pionPosName
Definition: BPHX3872ToJPsiPiPiBuilder.h:90
PVValHelper::eta
Definition: PVValidationHelpers.h:70
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
BPHX3872ToJPsiPiPiBuilder::getJPsiMassMin
double getJPsiMassMin() const
get current cuts
Definition: BPHX3872ToJPsiPiPiBuilder.cc:288
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHX3872ToJPsiPiPiBuilder::operator=
BPHX3872ToJPsiPiPiBuilder & operator=(const BPHX3872ToJPsiPiPiBuilder &x)=delete
BPHParticlePtSelect
Definition: BPHParticlePtSelect.h:30
BPHX3872ToJPsiPiPiBuilder::setMassFitMin
void setMassFitMin(double m)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:269
BPHX3872ToJPsiPiPiBuilder::getConstr
bool getConstr() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:306
BPHX3872ToJPsiPiPiBuilder::getMassMin
double getMassMin() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:296
BPHX3872ToJPsiPiPiBuilder::setPiPtMin
void setPiPtMin(double pt)
set cuts
Definition: BPHX3872ToJPsiPiPiBuilder.cc:238
BPHX3872ToJPsiPiPiBuilder::getPiPtMin
double getPiPtMin() const
get current cuts
Definition: BPHX3872ToJPsiPiPiBuilder.cc:292
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BPHX3872ToJPsiPiPiBuilder::pCollection
const BPHRecoBuilder::BPHGenericCollection * pCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:95
BPHX3872ToJPsiPiPiBuilder::BPHX3872ToJPsiPiPiBuilder
BPHX3872ToJPsiPiPiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:36
Event.h
BPHX3872ToJPsiPiPiBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
set cuts
Definition: BPHX3872ToJPsiPiPiBuilder.cc:226
BPHX3872ToJPsiPiPiBuilder::setConstr
void setConstr(bool flag)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:281
BPHX3872ToJPsiPiPiBuilder::nCollection
const BPHRecoBuilder::BPHGenericCollection * nCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:96
BPHX3872ToJPsiPiPiBuilder::massSel
BPHMassSelect * massSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:102
BPHX3872ToJPsiPiPiBuilder::etaMax
double etaMax
Definition: BPHX3872ToJPsiPiPiBuilder.h:100
edm::EventSetup
Definition: EventSetup.h:58
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHRecoBuilder.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BPHX3872ToJPsiPiPiBuilder::getProbMin
double getProbMin() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:300
BPHRecoBuilder::BPHGenericCollection
Definition: BPHRecoBuilder.h:70
BPHX3872ToJPsiPiPiBuilder::pionNegName
std::string pionNegName
Definition: BPHX3872ToJPsiPiPiBuilder.h:91
BPHX3872ToJPsiPiPiBuilder::setMassMin
void setMassMin(double m)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:250
BPHX3872ToJPsiPiPiBuilder::updated
bool updated
Definition: BPHX3872ToJPsiPiPiBuilder.h:108
BPHX3872ToJPsiPiPiBuilder::setMassMax
void setMassMax(double m)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:256
BPHPlusMinusCandidate.h
BPHX3872ToJPsiPiPiBuilder::minPDiff
float minPDiff
Definition: BPHX3872ToJPsiPiPiBuilder.h:107
BPHX3872ToJPsiPiPiBuilder::jPsiName
std::string jPsiName
Definition: BPHX3872ToJPsiPiPiBuilder.h:89
BPHX3872ToJPsiPiPiBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHX3872ToJPsiPiPiBuilder.h:93
BPHRecoCandidate.h
BPHX3872ToJPsiPiPiBuilder::getMassFitMin
double getMassFitMin() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:302
BPHX3872ToJPsiPiPiBuilder::setProbMin
void setProbMin(double p)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:262
BPHX3872ToJPsiPiPiBuilder::setPiEtaMax
void setPiEtaMax(double eta)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:244
BPHX3872ToJPsiPiPiBuilder::jpsiSel
BPHMassSelect * jpsiSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:98
BPHParticleChargeSelect
Definition: BPHParticleChargeSelect.h:30
BPHX3872ToJPsiPiPiBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHX3872ToJPsiPiPiBuilder.cc:232
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:117
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34