#include <BPHDecayToTkpTknSymChargeBuilder.h>
Classes | |
class | Particle |
Public Member Functions | |
BPHDecayToTkpTknSymChargeBuilder (const edm::EventSetup &es, const std::string &daug1Name, double daug1Mass, double daug1Sigma, const std::string &daug2Name, double daug2Mass, double daug2Sigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection, double expectedMass) | |
BPHDecayToTkpTknSymChargeBuilder (const BPHDecayToTkpTknSymChargeBuilder &x)=delete | |
std::vector < BPHPlusMinusConstCandPtr > | build () |
build candidates More... | |
double | getDzMax () const |
double | getTrk1EtaMax () const |
double | getTrk1PtMin () const |
get current cuts More... | |
double | getTrk2EtaMax () const |
double | getTrk2PtMin () const |
BPHDecayToTkpTknSymChargeBuilder & | operator= (const BPHDecayToTkpTknSymChargeBuilder &x)=delete |
void | setDzMax (double dz) |
void | setTrk1EtaMax (double eta) |
void | setTrk1PtMin (double pt) |
set cuts More... | |
void | setTrk2EtaMax (double eta) |
void | setTrk2PtMin (double pt) |
~BPHDecayToTkpTknSymChargeBuilder () override | |
Public Member Functions inherited from BPHDecayGenericBuilder | |
BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr) | |
BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
get current cuts More... | |
double | getMinPDiff () |
double | getProbMin () const |
BPHDecayGenericBuilder & | operator= (const BPHDecayGenericBuilder &x)=delete |
void | setMassFitMax (double m) |
void | setMassFitMin (double m) |
void | setMassFitRange (double mMin, double mMax) |
void | setMassMax (double m) |
void | setMassMin (double m) |
set cuts More... | |
void | setMassRange (double mMin, double mMax) |
void | setMinPDiff (double mpd) |
track min p difference More... | |
void | setProbMin (double p) |
virtual | ~BPHDecayGenericBuilder () |
Private Member Functions | |
void | addParticle (const BPHRecoBuilder::BPHGenericCollection *collection, int charge, std::vector< Particle * > &list) |
Private Attributes | |
double | d1Mass |
std::string | d1Name |
double | d1Sigma |
double | d2Mass |
std::string | d2Name |
double | d2Sigma |
double | dzMax |
double | eMass |
double | eta1Max |
double | eta2Max |
const BPHRecoBuilder::BPHGenericCollection * | nCollection |
const BPHRecoBuilder::BPHGenericCollection * | pCollection |
double | pt1Min |
double | pt2Min |
std::vector < BPHPlusMinusConstCandPtr > | recList |
Additional Inherited Members | |
Protected Attributes inherited from BPHDecayGenericBuilder | |
BPHChi2Select * | chi2Sel |
const edm::EventSetup * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | updated |
Description: Class to build a decay to an oppositely charged particle pair with different masses, choosing the best mass assignment on the reconstructed mass basis
Definition at line 43 of file BPHDecayToTkpTknSymChargeBuilder.h.
BPHDecayToTkpTknSymChargeBuilder::BPHDecayToTkpTknSymChargeBuilder | ( | const edm::EventSetup & | es, |
const std::string & | daug1Name, | ||
double | daug1Mass, | ||
double | daug1Sigma, | ||
const std::string & | daug2Name, | ||
double | daug2Mass, | ||
double | daug2Sigma, | ||
const BPHRecoBuilder::BPHGenericCollection * | posCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | negCollection, | ||
double | expectedMass | ||
) |
Constructor
Definition at line 40 of file BPHDecayToTkpTknSymChargeBuilder.cc.
|
delete |
|
override |
|
private |
Definition at line 206 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References reco::Candidate::charge(), d1Mass, d2Mass, eta1Max, eta2Max, BPHRecoBuilder::BPHGenericCollection::get(), BPHTrackReference::getTrack(), mps_fire::i, dqmiodumpmetadata::n, fireworks::p2, reco::Candidate::p4(), pt1Min, pt2Min, submitPVResolutionJobs::q, BPHRecoBuilder::BPHGenericCollection::size(), and mathSSE::sqrt().
Referenced by build().
vector< BPHPlusMinusConstCandPtr > BPHDecayToTkpTknSymChargeBuilder::build | ( | ) |
build candidates
Operations
Definition at line 75 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References BPHChi2Select::accept(), addParticle(), BPHDecayToTkpTknSymChargeBuilder::Particle::cand, BPHDecayGenericBuilder::chi2Sel, BPHGenericPtr< T >::create(), d1Mass, d1Name, d1Sigma, d2Mass, d2Name, d2Sigma, reco::TrackBase::dz(), dzMax, BPHDecayToTkpTknSymChargeBuilder::Particle::e1, BPHDecayToTkpTknSymChargeBuilder::Particle::e2, eMass, BPHDecayGenericBuilder::evSetup, BPHDecayGenericBuilder::getMassMax(), BPHDecayGenericBuilder::getMassMin(), ResonanceBuilder::mass, nCollection, nt, fireworks::p1, fireworks::p2, pCollection, DiDispStaMuonMonitor_cfi::pt, BPHDecayToTkpTknSymChargeBuilder::Particle::px, BPHDecayToTkpTknSymChargeBuilder::Particle::py, BPHDecayToTkpTknSymChargeBuilder::Particle::pz, recList, findQualityFiles::rr, BPHDecayToTkpTknSymChargeBuilder::Particle::track, and BPHDecayGenericBuilder::updated.
Referenced by BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), and BPHWriteSpecificDecay::fill().
|
inline |
Definition at line 83 of file BPHDecayToTkpTknSymChargeBuilder.h.
References dzMax.
|
inline |
Definition at line 81 of file BPHDecayToTkpTknSymChargeBuilder.h.
References eta1Max.
Referenced by BPHKx0ToKPiBuilder::getPiEtaMax().
|
inline |
get current cuts
Definition at line 79 of file BPHDecayToTkpTknSymChargeBuilder.h.
References pt1Min.
Referenced by BPHKx0ToKPiBuilder::getPiPtMin().
|
inline |
Definition at line 82 of file BPHDecayToTkpTknSymChargeBuilder.h.
References eta2Max.
Referenced by BPHKx0ToKPiBuilder::getKEtaMax().
|
inline |
Definition at line 80 of file BPHDecayToTkpTknSymChargeBuilder.h.
References pt2Min.
Referenced by BPHKx0ToKPiBuilder::getKPtMin().
|
delete |
void BPHDecayToTkpTknSymChargeBuilder::setDzMax | ( | double | dz | ) |
Definition at line 200 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References PVValHelper::dz, dzMax, and BPHDecayGenericBuilder::updated.
void BPHDecayToTkpTknSymChargeBuilder::setTrk1EtaMax | ( | double | eta | ) |
Definition at line 188 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References PVValHelper::eta, eta1Max, and BPHDecayGenericBuilder::updated.
Referenced by BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), BPHKx0ToKPiBuilder::setEtaMax(), and BPHKx0ToKPiBuilder::setPiEtaMax().
void BPHDecayToTkpTknSymChargeBuilder::setTrk1PtMin | ( | double | pt | ) |
set cuts
Definition at line 176 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References DiDispStaMuonMonitor_cfi::pt, pt1Min, and BPHDecayGenericBuilder::updated.
Referenced by BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), and BPHKx0ToKPiBuilder::setPtMin().
void BPHDecayToTkpTknSymChargeBuilder::setTrk2EtaMax | ( | double | eta | ) |
Definition at line 194 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References PVValHelper::eta, eta2Max, and BPHDecayGenericBuilder::updated.
Referenced by BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), BPHKx0ToKPiBuilder::setEtaMax(), and BPHKx0ToKPiBuilder::setKEtaMax().
void BPHDecayToTkpTknSymChargeBuilder::setTrk2PtMin | ( | double | pt | ) |
Definition at line 182 of file BPHDecayToTkpTknSymChargeBuilder.cc.
References DiDispStaMuonMonitor_cfi::pt, pt2Min, and BPHDecayGenericBuilder::updated.
Referenced by BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), BPHKx0ToKPiBuilder::setKPtMin(), and BPHKx0ToKPiBuilder::setPtMin().
|
private |
Definition at line 87 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), and build().
|
private |
Definition at line 86 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 88 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 90 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), and build().
|
private |
Definition at line 89 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 91 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 101 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build(), getDzMax(), and setDzMax().
|
private |
Definition at line 92 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 99 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), getTrk1EtaMax(), and setTrk1EtaMax().
|
private |
Definition at line 100 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), getTrk2EtaMax(), and setTrk2EtaMax().
|
private |
Definition at line 95 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 94 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().
|
private |
Definition at line 97 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), getTrk1PtMin(), and setTrk1PtMin().
|
private |
Definition at line 98 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by addParticle(), getTrk2PtMin(), and setTrk2PtMin().
|
private |
Definition at line 103 of file BPHDecayToTkpTknSymChargeBuilder.h.
Referenced by build().