#include <NamedCandCombiner.h>
Public Member Functions | |
NamedCandCombiner (std::string name) | |
default constructor More... | |
NamedCandCombiner (std::string name, int q1, int q2) | |
constructor from a selector and two charges More... | |
NamedCandCombiner (std::string name, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
NamedCandCombiner (std::string name, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
NamedCandCombiner (std::string name, const Selector &select) | |
default constructor More... | |
NamedCandCombiner (std::string name, const Selector &select, int q1, int q2) | |
constructor from a selector and two charges More... | |
NamedCandCombiner (std::string name, const Selector &select, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
NamedCandCombiner (std::string name, const Selector &select, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair) | |
constructor from selector More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, int q1, int q2) | |
constructor from a selector and two charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup) | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2) | |
constructor from a selector and two charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
NamedCandCombiner (std::string name, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
NamedCandCombiner (std::string name, const Selector &select, const PairSelector &selectPair, const Setup &setup, bool checkCharge, bool checkOverlap, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying optionally to check for charge More... | |
Setup & | setup () |
return reference to setup object to allow its initialization More... | |
Public Member Functions inherited from NamedCandCombinerBase | |
std::unique_ptr< reco::NamedCompositeCandidateCollection > | combine (const std::vector< reco::CandidatePtrVector > &, string_coll const &) const |
return all selected candidate pairs More... | |
std::unique_ptr< reco::NamedCompositeCandidateCollection > | combine (const reco::CandidatePtrVector &, string_coll const &) const |
return all selected candidate pairs More... | |
std::unique_ptr< reco::NamedCompositeCandidateCollection > | combine (const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, string_coll const &) const |
return all selected candidate pairs More... | |
std::unique_ptr< reco::NamedCompositeCandidateCollection > | combine (const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, string_coll const &) const |
return all selected candidate pairs More... | |
std::unique_ptr< reco::NamedCompositeCandidateCollection > | combine (const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, string_coll const &) const |
return all selected candidate pairs More... | |
NamedCandCombinerBase (std::string name) | |
default construct More... | |
NamedCandCombinerBase (std::string name, int, int) | |
construct from two charge values More... | |
NamedCandCombinerBase (std::string name, int, int, int) | |
construct from three charge values More... | |
NamedCandCombinerBase (std::string name, int, int, int, int) | |
construct from four charge values More... | |
NamedCandCombinerBase (std::string name, bool checkCharge, bool checkOverlap, const std::vector< int > &) | |
constructor from a selector, specifying optionally to check for charge More... | |
virtual | ~NamedCandCombinerBase () |
destructor More... | |
Private Member Functions | |
virtual void | addDaughter (reco::NamedCompositeCandidate &cmp, const reco::CandidatePtr &c, std::string n) const |
add candidate daughter More... | |
virtual bool | select (const reco::Candidate &c) const |
select a candidate More... | |
virtual bool | selectPair (const reco::Candidate &c1, const reco::Candidate &c2) const |
select a candidate More... | |
virtual void | setup (reco::NamedCompositeCandidate &c) const |
set kinematics to reconstructed composite More... | |
Private Attributes | |
std::string | name_ |
name More... | |
Selector | select_ |
candidate selector More... | |
PairSelector | selectPair_ |
candidate pair selector More... | |
Setup | setup_ |
utility to setup composite candidate kinematics from daughters More... | |
Additional Inherited Members | |
Public Types inherited from NamedCandCombinerBase | |
typedef std::vector< std::string > | string_coll |
Definition at line 41 of file NamedCandCombiner.h.
|
inline |
default constructor
Definition at line 44 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 48 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 52 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 56 of file NamedCandCombiner.h.
|
inline |
default constructor
Definition at line 60 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 64 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 68 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 72 of file NamedCandCombiner.h.
|
inline |
constructor from selector
Definition at line 76 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 80 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 84 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 88 of file NamedCandCombiner.h.
|
inline |
Definition at line 91 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 95 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 99 of file NamedCandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 103 of file NamedCandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 107 of file NamedCandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 110 of file NamedCandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 113 of file NamedCandCombiner.h.
|
inline |
constructor from a selector, specifying optionally to check for charge
Definition at line 116 of file NamedCandCombiner.h.
|
inlineprivatevirtual |
add candidate daughter
Implements NamedCandCombinerBase.
Definition at line 137 of file NamedCandCombiner.h.
|
inlineprivatevirtual |
select a candidate
Implements NamedCandCombinerBase.
Definition at line 125 of file NamedCandCombiner.h.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
|
inlineprivatevirtual |
select a candidate
Implements NamedCandCombinerBase.
Definition at line 129 of file NamedCandCombiner.h.
|
inline |
return reference to setup object to allow its initialization
Definition at line 121 of file NamedCandCombiner.h.
Referenced by o2olib.O2OTool::execute().
|
inlineprivatevirtual |
set kinematics to reconstructed composite
Implements NamedCandCombinerBase.
Definition at line 133 of file NamedCandCombiner.h.
Referenced by o2olib.O2OTool::execute().
|
private |
name
Definition at line 147 of file NamedCandCombiner.h.
|
private |
candidate selector
Definition at line 141 of file NamedCandCombiner.h.
|
private |
candidate pair selector
Definition at line 143 of file NamedCandCombiner.h.
|
private |
utility to setup composite candidate kinematics from daughters
Definition at line 145 of file NamedCandCombiner.h.
Referenced by upgradeWorkflowComponents.UpgradeWorkflow::setup().