#include <BPHDecayToV0DiffMassBuilder.h>
Public Member Functions | |
BPHDecayToV0DiffMassBuilder (const edm::EventSetup &es, const std::string &d1Name, double d1Mass, double d1Sigma, const std::string &d2Name, double d2Mass, double d2Sigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection, double expectedMass) | |
BPHDecayToV0DiffMassBuilder (const edm::EventSetup &es, const std::string &d1Name, double d1Mass, double d1Sigma, const std::string &d2Name, double d2Mass, double d2Sigma, const std::vector< reco::VertexCompositeCandidate > *v0Collection, double expectedMass, const std::string &searchList="cfp") | |
BPHDecayToV0DiffMassBuilder (const edm::EventSetup &es, const std::string &d1Name, double d1Mass, double d1Sigma, const std::string &d2Name, double d2Mass, double d2Sigma, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, double expectedMass, const std::string &searchList="cfp") | |
BPHDecayToV0DiffMassBuilder (const BPHDecayToV0DiffMassBuilder &x)=delete | |
BPHDecayToV0DiffMassBuilder & | operator= (const BPHDecayToV0DiffMassBuilder &x)=delete |
~BPHDecayToV0DiffMassBuilder () override | |
Public Member Functions inherited from BPHDecayToV0Builder | |
BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection) | |
BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp") | |
BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp") | |
BPHDecayToV0Builder (const BPHDecayToV0Builder &x)=delete | |
std::vector < BPHPlusMinusConstCandPtr > | build () |
build candidates More... | |
double | getEtaMax () const |
double | getPtMin () const |
get current cuts More... | |
BPHDecayToV0Builder & | operator= (const BPHDecayToV0Builder &x)=delete |
void | setEtaMax (double eta) |
void | setPtMin (double pt) |
set cuts More... | |
~BPHDecayToV0Builder () 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 () |
Protected Member Functions | |
BPHPlusMinusCandidatePtr | buildCandidate (const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type) override |
void | buildFromBPHGenericCollection () override |
build candidates and link to V0 More... | |
Protected Member Functions inherited from BPHDecayToV0Builder | |
template<class T > | |
void | buildFromV0 (const T *v0Collection, v0Type type) |
void | v0Clear () |
Protected Attributes | |
double | expMass |
double | p1Mass |
double | p1Sigma |
double | p2Mass |
double | p2Sigma |
Protected Attributes inherited from BPHDecayToV0Builder | |
std::vector < BPHPlusMinusConstCandPtr > | cList |
double | etaMax |
const BPHRecoBuilder::BPHGenericCollection * | p1Collection |
std::string | p1Name |
const BPHRecoBuilder::BPHGenericCollection * | p2Collection |
std::string | p2Name |
double | ptMin |
const std::vector < reco::VertexCompositePtrCandidate > * | rCollection |
std::string | sList |
std::map< const BPHRecoCandidate *, const V0Info * > | v0Map |
const std::vector < reco::VertexCompositeCandidate > * | vCollection |
Protected Attributes inherited from BPHDecayGenericBuilder | |
BPHChi2Select * | chi2Sel |
const edm::EventSetup * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | updated |
Additional Inherited Members | |
Public Types inherited from BPHDecayToV0Builder | |
enum | v0Type { VertexCompositeCandidate, VertexCompositePtrCandidate } |
Description: Class to build neutral particles decaying to a V0, with daughters having different mass, starting from reco::Candidates or already reconstructed V0s
Definition at line 39 of file BPHDecayToV0DiffMassBuilder.h.
BPHDecayToV0DiffMassBuilder::BPHDecayToV0DiffMassBuilder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
double | d1Mass, | ||
double | d1Sigma, | ||
const std::string & | d2Name, | ||
double | d2Mass, | ||
double | d2Sigma, | ||
const BPHRecoBuilder::BPHGenericCollection * | posCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | negCollection, | ||
double | expectedMass | ||
) |
Constructor
Definition at line 34 of file BPHDecayToV0DiffMassBuilder.cc.
BPHDecayToV0DiffMassBuilder::BPHDecayToV0DiffMassBuilder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
double | d1Mass, | ||
double | d1Sigma, | ||
const std::string & | d2Name, | ||
double | d2Mass, | ||
double | d2Sigma, | ||
const std::vector< reco::VertexCompositeCandidate > * | v0Collection, | ||
double | expectedMass, | ||
const std::string & | searchList = "cfp" |
||
) |
Definition at line 51 of file BPHDecayToV0DiffMassBuilder.cc.
BPHDecayToV0DiffMassBuilder::BPHDecayToV0DiffMassBuilder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
double | d1Mass, | ||
double | d1Sigma, | ||
const std::string & | d2Name, | ||
double | d2Mass, | ||
double | d2Sigma, | ||
const std::vector< reco::VertexCompositePtrCandidate > * | vpCollection, | ||
double | expectedMass, | ||
const std::string & | searchList = "cfp" |
||
) |
Definition at line 68 of file BPHDecayToV0DiffMassBuilder.cc.
|
delete |
|
override |
|
overrideprotectedvirtual |
Implements BPHDecayToV0Builder.
Definition at line 110 of file BPHDecayToV0DiffMassBuilder.cc.
References BPHPlusMinusCandidate::add(), BPHGenericPtr< T >::create(), BPHDecayGenericBuilder::evSetup, expMass, callgraph::m2, ResonanceBuilder::mass, reco::Candidate::mass(), BPHKinematicFit::mass(), p1Mass, BPHDecayToV0Builder::p1Name, p1Sigma, p2Mass, BPHDecayToV0Builder::p2Name, p2Sigma, BPHDecayToV0Builder::sList, BPHDecayToV0Builder::VertexCompositeCandidate, and BPHDecayToV0Builder::VertexCompositePtrCandidate.
|
overrideprotectedvirtual |
build candidates and link to V0
Implements BPHDecayToV0Builder.
Definition at line 94 of file BPHDecayToV0DiffMassBuilder.cc.
References b, BPHDecayToTkpTknSymChargeBuilder::build(), BPHDecayToV0Builder::cList, BPHDecayToV0Builder::etaMax, BPHDecayGenericBuilder::evSetup, expMass, BPHDecayGenericBuilder::getMassMax(), BPHDecayGenericBuilder::getMassMin(), BPHDecayGenericBuilder::getProbMin(), BPHDecayToV0Builder::p1Collection, p1Mass, BPHDecayToV0Builder::p1Name, p1Sigma, BPHDecayToV0Builder::p2Collection, p2Mass, BPHDecayToV0Builder::p2Name, p2Sigma, BPHDecayToV0Builder::ptMin, BPHDecayGenericBuilder::setMassRange(), BPHDecayGenericBuilder::setProbMin(), BPHDecayToTkpTknSymChargeBuilder::setTrk1EtaMax(), BPHDecayToTkpTknSymChargeBuilder::setTrk1PtMin(), BPHDecayToTkpTknSymChargeBuilder::setTrk2EtaMax(), and BPHDecayToTkpTknSymChargeBuilder::setTrk2PtMin().
|
delete |
|
protected |
Definition at line 87 of file BPHDecayToV0DiffMassBuilder.h.
Referenced by buildCandidate(), and buildFromBPHGenericCollection().
|
protected |
Definition at line 83 of file BPHDecayToV0DiffMassBuilder.h.
Referenced by buildCandidate(), and buildFromBPHGenericCollection().
|
protected |
Definition at line 85 of file BPHDecayToV0DiffMassBuilder.h.
Referenced by buildCandidate(), and buildFromBPHGenericCollection().
|
protected |
Definition at line 84 of file BPHDecayToV0DiffMassBuilder.h.
Referenced by buildCandidate(), and buildFromBPHGenericCollection().
|
protected |
Definition at line 86 of file BPHDecayToV0DiffMassBuilder.h.
Referenced by buildCandidate(), and buildFromBPHGenericCollection().