|
|
Go to the documentation of this file.
61 map<const reco::Candidate*, const reco::Candidate*> iMap;
62 const vector<const reco::Candidate*>& daug =
daughters();
66 for (
i = 0;
i <
n; ++
i) {
70 for (
i = 0;
i <
n; ++
i) {
74 const vector<BPHRecoConstCandPtr>& dComp =
daughComp();
77 for (
j = 0;
j <
m; ++
j) {
78 const map<const reco::Candidate*, string>&
dMap = dComp[
j]->searchMap;
106 if ((fitter ==
nullptr) && (
bs ==
nullptr) && (priorPos ==
nullptr) && (priorError ==
nullptr)) {
113 if (fitter !=
nullptr) {
132 map<const reco::Candidate*, const reco::Track*>::const_iterator iter =
tkMap.find(
cand);
133 map<const reco::Candidate*, const reco::Track*>::const_iterator iend =
tkMap.end();
134 return (iter != iend ? iter->second :
nullptr);
146 map<const reco::Candidate*, reco::TransientTrack*>::const_iterator iter =
ttMap.find(
cand);
147 map<const reco::Candidate*, reco::TransientTrack*>::const_iterator iend =
ttMap.end();
148 return (iter != iend ? iter->second :
nullptr);
155 static string dum =
"";
156 map<const reco::Candidate*, string>::const_iterator iter =
searchMap.find(
cand);
170 const map<const reco::Candidate*, string>&
dMap =
comp->searchMap;
190 const vector<const reco::Candidate*>& dL =
daughFull();
202 map<const reco::Candidate*, string>::const_iterator iter =
searchMap.find(rp);
208 <<
"no track for reco::(PF)Candidate";
236 if (priorPos ==
nullptr) {
240 if (priorError ==
nullptr) {
256 <<
"vertex fit failed";
bool isValid() const
Tells whether the vertex is valid.
virtual const std::vector< BPHRecoConstCandPtr > & daughComp() const
const std::string & getTrackSearchList(const reco::Candidate *cand) const
retrieve track search list
virtual void addP(const std::string &name, const reco::Candidate *daug, double mass=-1.0)
virtual void addV(const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass)
const reco::Track * getTrack(const reco::Candidate *cand) const
get Track for a daughter
reco::TransientTrack * getTransientTrack(const reco::Candidate *cand) const
get TransientTrack for a daughter
Log< level::Warning, true > LogPrint
const edm::EventSetup * getEventSetup() const
retrieve EventSetup
virtual void tTracks() const
~BPHDecayVertex() override
virtual bool validVertex() const
BPHDecayVertex(const BPHDecayVertex &x)=delete
reco::Vertex fittedVertex
virtual const reco::Vertex & vertex(VertexFitter< 5 > *fitter=nullptr, const reco::BeamSpot *bs=nullptr, const GlobalPoint *priorPos=nullptr, const GlobalError *priorError=nullptr) const
get reconstructed vertex
static const reco::Track * getTrack(const reco::Candidate &rc, const char *modeList="cfhbpmnigset", char *modeFlag=nullptr)
virtual int charge() const =0
electric charge
GlobalError const * savedPE
std::map< const reco::Candidate *, const reco::Track * > tkMap
const std::vector< reco::TransientTrack > & transientTracks() const
get list of TransientTracks
void setNotUpdated() const override
virtual bool validTracks() const
check for valid reconstructed vertex
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const edm::EventSetup * evSetup
std::vector< reco::TransientTrack > trTracks
std::vector< const reco::Track * > rTracks
virtual void setNotUpdated() const
std::map< const reco::Candidate *, reco::TransientTrack * > ttMap
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
const std::vector< const reco::Track * > & tracks() const
get list of Tracks
virtual void fitVertex(VertexFitter< 5 > *fitter, const reco::BeamSpot *bs, const GlobalPoint *priorPos, const GlobalError *priorError) const
virtual const std::vector< const reco::Candidate * > & daughFull() const
VertexFitter< 5 > * savedFitter
reco::TransientTrack build(const reco::Track *p) const
virtual const std::vector< const reco::Candidate * > & daughters() const
const std::vector< Component > & componentList() const
reco::BeamSpot const * savedBS
std::map< std::string, const reco::Candidate * > dMap
GlobalPoint const * savedPP
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
std::map< const reco::Candidate *, std::string > searchMap