#include <CandCombiner.h>
Public Types | |
typedef CandCombinerBase< OutputCollection, CandPtr > | base |
typedef CandCombinerBase< OutputCollection, CandPtr > | base |
typedef Cloner::CandPtr | CandPtr |
typedef Cloner::CandPtr | CandPtr |
Public Types inherited from CandCombinerBase< OutputCollection, Cloner::CandPtr > | |
typedef std::vector< std::string > | vstring |
typedef std::vector< std::string > | vstring |
Public Member Functions | |
CandCombiner () | |
default constructor More... | |
CandCombiner (int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner () | |
default constructor More... | |
CandCombiner (int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select) | |
default constructor More... | |
CandCombiner (int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (const Selector &select) | |
default constructor More... | |
CandCombiner (const Selector &select, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (const Selector &select, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair) | |
constructor from selector More... | |
CandCombiner (const Selector &select, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair) | |
constructor from selector More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup) | |
CandCombiner (const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup) | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2) | |
constructor from a selector and two charges More... | |
CandCombiner (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... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (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... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (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... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (const std::vector< int > &dauCharge) | |
constructor from a selector, specifying to check for charge More... | |
CandCombiner (const Selector &select, const PairSelector &selectPair, const Setup &setup, bool checkCharge, 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... | |
Setup & | setup () |
return reference to setup object to allow its initialization More... | |
Public Member Functions inherited from CandCombinerBase< OutputCollection, Cloner::CandPtr > | |
CandCombinerBase (const std::string="") | |
default construct More... | |
CandCombinerBase (const std::string="") | |
default construct More... | |
CandCombinerBase (int, int, const std::string="") | |
construct from two charge values More... | |
CandCombinerBase (int, int, const std::string="") | |
construct from two charge values More... | |
CandCombinerBase (int, int, int, const std::string="") | |
construct from three charge values More... | |
CandCombinerBase (int, int, int, const std::string="") | |
construct from three charge values More... | |
CandCombinerBase (int, int, int, int, const std::string="") | |
construct from four charge values More... | |
CandCombinerBase (int, int, int, int, const std::string="") | |
construct from four charge values More... | |
CandCombinerBase (bool checkCharge, bool checkOverlap, const std::vector< int > &, const std::string="") | |
constructor from a selector, specifying optionally to check for charge More... | |
CandCombinerBase (bool checkCharge, const std::vector< int > &, const std::string="") | |
constructor from a selector, specifying optionally to check for charge More... | |
std::auto_ptr< OutputCollection > | combine (const std::vector< edm::Handle< reco::CandidateView > > &, const vstring=vstring()) const |
return all selected candidate pairs More... | |
std::unique_ptr< OutputCollection > | combine (const std::vector< edm::Handle< reco::CandidateView > > &, const vstring &=vstring()) const |
return all selected candidate pairs More... | |
std::auto_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const vstring=vstring()) const |
return all selected candidate pairs More... | |
std::unique_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const vstring &=vstring()) const |
return all selected candidate pairs More... | |
std::auto_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring=vstring()) const |
return all selected candidate pairs More... | |
std::unique_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring &=vstring()) const |
return all selected candidate pairs More... | |
std::auto_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring=vstring()) const |
return all selected candidate pairs More... | |
std::unique_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring &=vstring()) const |
return all selected candidate pairs More... | |
std::unique_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring &=vstring()) const |
return all selected candidate pairs More... | |
std::auto_ptr< OutputCollection > | combine (const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const edm::Handle< reco::CandidateView > &, const vstring=vstring()) const |
return all selected candidate pairs More... | |
virtual | ~CandCombinerBase () |
destructor More... | |
virtual | ~CandCombinerBase () |
destructor More... | |
Private Member Functions | |
void | addDaughter (typename OutputCollection::value_type &cmp, const CandPtr &c, const std::string name="") const override |
add candidate daughter More... | |
virtual void | addDaughter (typename OutputCollection::value_type &cmp, const CandPtr &c, const std::string name="") const |
add candidate daughter More... | |
bool | select (const reco::Candidate &c) const override |
select a candidate More... | |
virtual bool | select (const reco::Candidate &c) const |
select a candidate More... | |
bool | selectPair (const reco::Candidate &c1, const reco::Candidate &c2) const override |
select a candidate More... | |
virtual bool | selectPair (const reco::Candidate &c1, const reco::Candidate &c2) const |
select a candidate More... | |
void | setup (typename OutputCollection::value_type &c) const override |
set kinematics to reconstructed composite More... | |
virtual void | setup (typename OutputCollection::value_type &c) const |
set kinematics to reconstructed composite More... | |
Private Attributes | |
Selector | select_ |
candidate selector More... | |
PairSelector | selectPair_ |
candidate pair selector More... | |
Setup | setup_ |
utility to setup composite candidate kinematics from daughters More... | |
performs all possible and selected combinations of particle pairs using the CandCombiner utility
Definition at line 47 of file CandCombiner.h.
typedef CandCombinerBase<OutputCollection, CandPtr> CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::base |
Definition at line 50 of file CandCombiner.h.
typedef CandCombinerBase<OutputCollection, CandPtr> CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::base |
Definition at line 56 of file CandCombiner.h.
typedef Cloner::CandPtr CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandPtr |
Definition at line 49 of file CandCombiner.h.
typedef Cloner::CandPtr CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandPtr |
Definition at line 55 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 52 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 56 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 60 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 64 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 68 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 72 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 76 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 80 of file CandCombiner.h.
|
inline |
constructor from selector
Definition at line 84 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 88 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 92 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 96 of file CandCombiner.h.
|
inline |
Definition at line 99 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 103 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 107 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 111 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 115 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 118 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 121 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying optionally to check for charge
Definition at line 124 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 58 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 62 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 66 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 70 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 74 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 78 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 82 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 86 of file CandCombiner.h.
|
inline |
constructor from selector
Definition at line 90 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 94 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 98 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 102 of file CandCombiner.h.
|
inline |
Definition at line 105 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 109 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 113 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 117 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 121 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 124 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 127 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying optionally to check for charge
Definition at line 130 of file CandCombiner.h.
|
inlineoverrideprivatevirtual |
add candidate daughter
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 145 of file CandCombiner.h.
References dataset::name.
|
inlineprivatevirtual |
add candidate daughter
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 151 of file CandCombiner.h.
References dataset::name.
|
inlineoverrideprivatevirtual |
select a candidate
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 133 of file CandCombiner.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 CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 139 of file CandCombiner.h.
|
inlineoverrideprivatevirtual |
select a candidate
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 137 of file CandCombiner.h.
|
inlineprivatevirtual |
select a candidate
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 143 of file CandCombiner.h.
|
inline |
return reference to setup object to allow its initialization
Definition at line 129 of file CandCombiner.h.
Referenced by o2olib.O2OTool::execute().
|
inline |
return reference to setup object to allow its initialization
Definition at line 135 of file CandCombiner.h.
|
inlineoverrideprivatevirtual |
set kinematics to reconstructed composite
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 141 of file CandCombiner.h.
Referenced by o2olib.O2OTool::execute().
|
inlineprivatevirtual |
set kinematics to reconstructed composite
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 147 of file CandCombiner.h.
|
private |
candidate selector
Definition at line 149 of file CandCombiner.h.
|
private |
candidate pair selector
Definition at line 151 of file CandCombiner.h.
|
private |
utility to setup composite candidate kinematics from daughters
Definition at line 153 of file CandCombiner.h.