#include <CandCombiner.h>
Public Types | |
typedef CandCombinerBase< OutputCollection, CandPtr > | base |
typedef Cloner::CandPtr | CandPtr |
Public Types inherited from CandCombinerBase< OutputCollection, Cloner::CandPtr > | |
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 (int q1, int q2, int q3) | |
constructor from a selector and three charges More... | |
CandCombiner (int q1, int q2, int q3, int q4) | |
constructor from a selector and four charges More... | |
CandCombiner (const Selector &select) | |
default constructor 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) | |
constructor from a selector and three 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, const PairSelector &selectPair) | |
constructor from selector 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) | |
constructor from a selector and three 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, const Setup &setup) | |
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) | |
constructor from a selector and three 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, const std::vector< int > &dauCharge) | |
constructor from a selector, specifying 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, 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 CandCombinerBase< OutputCollection, Cloner::CandPtr > | |
CandCombinerBase (const std::string="") | |
default construct 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, 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... | |
std::unique_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 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::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... | |
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... | |
bool | select (const reco::Candidate &c) const override |
select a candidate More... | |
bool | selectPair (const reco::Candidate &c1, const reco::Candidate &c2) const override |
select a candidate More... | |
void | setup (typename OutputCollection::value_type &c) const override |
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 49 of file CandCombiner.h.
typedef CandCombinerBase<OutputCollection, CandPtr> CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::base |
Definition at line 52 of file CandCombiner.h.
typedef Cloner::CandPtr CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandPtr |
Definition at line 51 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 54 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 58 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 60 of file CandCombiner.h.
|
inline |
default constructor
Definition at line 62 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 64 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 69 of file CandCombiner.h.
|
inline |
constructor from selector
Definition at line 72 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 75 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 78 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 81 of file CandCombiner.h.
|
inline |
Definition at line 83 of file CandCombiner.h.
|
inline |
constructor from a selector and two charges
Definition at line 86 of file CandCombiner.h.
|
inline |
constructor from a selector and three charges
Definition at line 89 of file CandCombiner.h.
|
inline |
constructor from a selector and four charges
Definition at line 92 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 96 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 102 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying to check for charge
Definition at line 105 of file CandCombiner.h.
|
inline |
constructor from a selector, specifying optionally to check for charge
Definition at line 107 of file CandCombiner.h.
|
inlineoverrideprivatevirtual |
add candidate daughter
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 125 of file CandCombiner.h.
References DummyCfis::c, fileCollector::cmp, and Skims_PA_cff::name.
|
inlineoverrideprivatevirtual |
select a candidate
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 119 of file CandCombiner.h.
References DummyCfis::c, and CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select_.
|
inlineoverrideprivatevirtual |
select a candidate
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 121 of file CandCombiner.h.
References alignmentValidation::c1, and CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair_.
|
inline |
return reference to setup object to allow its initialization
Definition at line 115 of file CandCombiner.h.
References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.
Referenced by o2olib.O2OTool::execute().
|
inlineoverrideprivatevirtual |
set kinematics to reconstructed composite
Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.
Definition at line 123 of file CandCombiner.h.
References DummyCfis::c, and CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.
Referenced by o2olib.O2OTool::execute().
|
private |
candidate selector
Definition at line 131 of file CandCombiner.h.
Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select().
|
private |
candidate pair selector
Definition at line 133 of file CandCombiner.h.
Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair().
|
private |
utility to setup composite candidate kinematics from daughters
Definition at line 135 of file CandCombiner.h.
Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().