#include <BPHDecayToV0Builder.h>
Classes | |
struct | V0Info |
Public Types | |
enum | v0Type { VertexCompositeCandidate, VertexCompositePtrCandidate } |
Public Types inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
typedef BPHPlusMinusCandidate ::const_pointer | prod_ptr |
Public Member Functions | |
BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const BPHRecoBuilder::BPHGenericCollection *daug1Collection, const BPHRecoBuilder::BPHGenericCollection *daug2Collection) | |
BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp") | |
BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp") | |
BPHDecayToV0Builder (const BPHDecayToV0Builder &x)=delete | |
BPHDecayToV0Builder & | operator= (const BPHDecayToV0Builder &x)=delete |
~BPHDecayToV0Builder () override | |
Public Member Functions inherited from BPHDecayGenericBuilderBase | |
BPHDecayGenericBuilderBase () | |
BPHDecayGenericBuilderBase (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs=new BPHMassFitSelect(-2.0e+06, -1.0e+06)) | |
BPHDecayGenericBuilderBase (const BPHDecayGenericBuilderBase &x)=delete | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
get current cuts More... | |
double | getMinPDiff () |
double | getProbMin () const |
BPHDecayGenericBuilderBase & | operator= (const BPHDecayGenericBuilderBase &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 | ~BPHDecayGenericBuilderBase () |
Public Member Functions inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
BPHDecayGenericBuilder (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs) | |
BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete | |
virtual std::vector< prod_ptr > | build () |
build candidates More... | |
BPHDecayGenericBuilder & | operator= (const BPHDecayGenericBuilder &x)=delete |
~BPHDecayGenericBuilder () override=default | |
Protected Member Functions | |
virtual BPHPlusMinusCandidatePtr | buildCandidate (const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type)=0 |
virtual void | buildFromBPHGenericCollection ()=0 |
build candidates and link to V0 More... | |
template<class T > | |
void | buildFromV0 (const T *v0Collection, v0Type type) |
void | fillRecList () override |
build candidates More... | |
void | v0Clear () |
Protected Member Functions inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
BPHDecayGenericBuilder () | |
Protected Attributes | |
const BPHRecoBuilder::BPHGenericCollection * | p1Collection |
std::string | p1Name |
const BPHRecoBuilder::BPHGenericCollection * | p2Collection |
std::string | p2Name |
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 BPHDecayGenericBuilderBase | |
BPHChi2Select * | chi2Sel |
const BPHEventSetupWrapper * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | outdated |
Protected Attributes inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
std::vector< prod_ptr > | recList |
Description: Class to build neutral particles decaying to a V0, starting from reco::Candidates or already reconstructed V0s
Definition at line 42 of file BPHDecayToV0Builder.h.
Enumerator | |
---|---|
VertexCompositeCandidate | |
VertexCompositePtrCandidate |
Definition at line 45 of file BPHDecayToV0Builder.h.
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const BPHEventSetupWrapper & | es, |
const std::string & | daug1Name, | ||
const std::string & | daug2Name, | ||
const BPHRecoBuilder::BPHGenericCollection * | daug1Collection, | ||
const BPHRecoBuilder::BPHGenericCollection * | daug2Collection | ||
) |
Constructor
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const BPHEventSetupWrapper & | es, |
const std::string & | daug1Name, | ||
const std::string & | daug2Name, | ||
const std::vector< reco::VertexCompositeCandidate > * | v0Collection, | ||
const std::string & | searchList = "cfp" |
||
) |
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const BPHEventSetupWrapper & | es, |
const std::string & | daug1Name, | ||
const std::string & | daug2Name, | ||
const std::vector< reco::VertexCompositePtrCandidate > * | vpCollection, | ||
const std::string & | searchList = "cfp" |
||
) |
|
delete |
|
override |
|
protectedpure virtual |
Implemented in BPHDecayToV0DiffMassBuilder, and BPHDecayToV0SameMassBuilder.
Referenced by buildFromV0().
|
protectedpure virtual |
build candidates and link to V0
Implemented in BPHDecayToV0DiffMassBuilder, and BPHDecayToV0SameMassBuilder.
Referenced by fillRecList().
|
protected |
Definition at line 100 of file BPHDecayToV0Builder.cc.
References BPHMassSelect::accept(), BPHChi2Select::accept(), buildCandidate(), BPHDecayGenericBuilderBase::chi2Sel, l1ctLayer1_cff::dr, info(), BPHDecayGenericBuilderBase::massSel, BPHDecayGenericBuilder< BPHPlusMinusCandidate >::recList, V0Monitor_cff::v0, and v0Map.
Referenced by fillRecList().
|
overrideprotectedvirtual |
build candidates
Implements BPHDecayGenericBuilderBase.
Reimplemented in BPHDecayToV0DiffMassBuilder, and BPHDecayToV0SameMassBuilder.
Definition at line 86 of file BPHDecayToV0Builder.cc.
References buildFromBPHGenericCollection(), buildFromV0(), p1Collection, p2Collection, rCollection, v0Clear(), vCollection, VertexCompositeCandidate, and VertexCompositePtrCandidate.
Referenced by BPHDecayToV0SameMassBuilder::fillRecList(), and BPHDecayToV0DiffMassBuilder::fillRecList().
|
delete |
|
protected |
Definition at line 137 of file BPHDecayToV0Builder.cc.
References v0Map.
Referenced by fillRecList(), and ~BPHDecayToV0Builder().
|
protected |
Definition at line 81 of file BPHDecayToV0Builder.h.
Referenced by fillRecList().
|
protected |
Definition at line 78 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0SameMassBuilder::buildCandidate(), and BPHDecayToV0DiffMassBuilder::buildCandidate().
|
protected |
Definition at line 82 of file BPHDecayToV0Builder.h.
Referenced by fillRecList().
|
protected |
Definition at line 79 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0SameMassBuilder::buildCandidate(), and BPHDecayToV0DiffMassBuilder::buildCandidate().
|
protected |
Definition at line 84 of file BPHDecayToV0Builder.h.
Referenced by fillRecList().
|
protected |
Definition at line 85 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0DiffMassBuilder::buildCandidate().
|
protected |
Definition at line 87 of file BPHDecayToV0Builder.h.
Referenced by buildFromV0(), and v0Clear().
|
protected |
Definition at line 83 of file BPHDecayToV0Builder.h.
Referenced by fillRecList().