CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup > Class Template Reference

#include <CandCombiner.h>

Inheritance diagram for CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >:
CandCombinerBase< OutputCollection, Cloner::CandPtr > CandCombinerBase< OutputCollection, Cloner::CandPtr >

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::auto_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::auto_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::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::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::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::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...
 
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

virtual void addDaughter (typename OutputCollection::value_type &cmp, const CandPtr &c, const std::string name="") const
 add candidate daughter More...
 
virtual void addDaughter (typename OutputCollection::value_type &cmp, const CandPtr &c, const std::string name="") const
 add candidate daughter More...
 
virtual bool select (const reco::Candidate &c) const
 select a candidate 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 bool selectPair (const reco::Candidate &c1, const reco::Candidate &c2) const
 select a candidate More...
 
virtual void setup (typename OutputCollection::value_type &c) const
 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...
 

Detailed Description

template<typename Selector, typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
class CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >

performs all possible and selected combinations of particle pairs using the CandCombiner utility

Author
Luca Lista, INFN
Version
Revision:
1.3
Id:
CandCombiner.h,v 1.3 2010/10/25 14:07:17 gpetrucc Exp
Author
Luca Lista, INFN

Definition at line 47 of file CandCombiner.h.

Member Typedef Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
typedef CandCombinerBase<OutputCollection, CandPtr> CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::base

Definition at line 50 of file CandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
typedef CandCombinerBase<OutputCollection, CandPtr> CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::base

Definition at line 56 of file CandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
typedef Cloner::CandPtr CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandPtr

Definition at line 49 of file CandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
typedef Cloner::CandPtr CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandPtr

Definition at line 55 of file CandCombiner.h.

Constructor & Destructor Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( )
inline

default constructor

Definition at line 52 of file CandCombiner.h.

52  :
53  base(),
54  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 56 of file CandCombiner.h.

56  :
57  base(q1, q2),
58  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 60 of file CandCombiner.h.

60  :
61  base(q1, q2, q3),
62  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 64 of file CandCombiner.h.

64  :
65  base(q1, q2, q3, q4),
66  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select)
inline

default constructor

Definition at line 68 of file CandCombiner.h.

68  :
69  base( ),
70  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 72 of file CandCombiner.h.

72  :
73  base(q1, q2),
74  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 76 of file CandCombiner.h.

76  :
77  base(q1, q2, q3),
78  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 80 of file CandCombiner.h.

80  :
81  base(q1, q2, q3, q4),
82  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair 
)
inline

constructor from selector

Definition at line 84 of file CandCombiner.h.

84  :
85  base( ),
86  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 88 of file CandCombiner.h.

88  :
89  base(q1, q2),
90  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 92 of file CandCombiner.h.

92  :
93  base(q1, q2, q3),
94  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 96 of file CandCombiner.h.

96  :
97  base(q1, q2, q3, q4),
98  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup 
)
inline

Definition at line 99 of file CandCombiner.h.

99  :
100  base(),
101  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 103 of file CandCombiner.h.

103  :
104  base(q1, q2),
105  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 107 of file CandCombiner.h.

107  :
108  base(q1, q2, q3),
109  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 111 of file CandCombiner.h.

111  :
112  base(q1, q2, q3, q4),
113  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 115 of file CandCombiner.h.

115  :
116  base(true, dauCharge), select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 118 of file CandCombiner.h.

118  :
119  base(true, dauCharge), select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const std::vector< int > &  dauCharge)
inline

constructor from a selector, specifying to check for charge

Definition at line 121 of file CandCombiner.h.

121  :
122  base(true, dauCharge), select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
bool  checkCharge,
bool  checkOverlap,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying optionally to check for charge

Definition at line 124 of file CandCombiner.h.

125  :
126  base(checkCharge, checkOverlap, dauCharge),
127  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( )
inline

default constructor

Definition at line 58 of file CandCombiner.h.

58  :
59  base(),
60  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 62 of file CandCombiner.h.

62  :
63  base(q1, q2),
64  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 66 of file CandCombiner.h.

66  :
67  base(q1, q2, q3),
68  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 70 of file CandCombiner.h.

70  :
71  base(q1, q2, q3, q4),
72  select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select)
inline

default constructor

Definition at line 74 of file CandCombiner.h.

74  :
75  base( ),
76  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 78 of file CandCombiner.h.

78  :
79  base(q1, q2),
80  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 82 of file CandCombiner.h.

82  :
83  base(q1, q2, q3),
84  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 86 of file CandCombiner.h.

86  :
87  base(q1, q2, q3, q4),
88  select_(select), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair 
)
inline

constructor from selector

Definition at line 90 of file CandCombiner.h.

90  :
91  base( ),
92  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 94 of file CandCombiner.h.

94  :
95  base(q1, q2),
96  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 98 of file CandCombiner.h.

98  :
99  base(q1, q2, q3),
100  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 102 of file CandCombiner.h.

102  :
103  base(q1, q2, q3, q4),
104  select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup 
)
inline

Definition at line 105 of file CandCombiner.h.

105  :
106  base(),
107  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 109 of file CandCombiner.h.

109  :
110  base(q1, q2),
111  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 113 of file CandCombiner.h.

113  :
114  base(q1, q2, q3),
115  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 117 of file CandCombiner.h.

117  :
118  base(q1, q2, q3, q4),
119  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
double q2[4]
Definition: TauolaWrapper.h:88
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
double q1[4]
Definition: TauolaWrapper.h:87
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 121 of file CandCombiner.h.

121  :
122  base(true, dauCharge), select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 124 of file CandCombiner.h.

124  :
125  base(true, dauCharge), select_(select), selectPair_(selectPair), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const std::vector< int > &  dauCharge)
inline

constructor from a selector, specifying to check for charge

Definition at line 127 of file CandCombiner.h.

127  :
128  base(true, dauCharge), select_(), selectPair_(), setup_() { }
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::CandCombiner ( const Selector select,
const PairSelector selectPair,
const Setup &  setup,
bool  checkCharge,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying optionally to check for charge

Definition at line 130 of file CandCombiner.h.

131  :
132  base(checkCharge, dauCharge),
133  select_(select), selectPair_(selectPair), setup_(setup) { }
Setup & setup()
return reference to setup object to allow its initialization
Definition: CandCombiner.h:129
CandCombinerBase< OutputCollection, CandPtr > base
Definition: CandCombiner.h:50
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
Selector select_
candidate selector
Definition: CandCombiner.h:149

Member Function Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual void CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::addDaughter ( typename OutputCollection::value_type &  cmp,
const CandPtr c,
const std::string  name = "" 
) const
inlineprivatevirtual

add candidate daughter

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 145 of file CandCombiner.h.

References mergeVDriftHistosByStation::name.

145  {
146  Cloner::addDaughter(cmp, c, name);
147  }
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual void CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::addDaughter ( typename OutputCollection::value_type &  cmp,
const CandPtr c,
const std::string  name = "" 
) const
inlineprivatevirtual

add candidate daughter

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 151 of file CandCombiner.h.

References mergeVDriftHistosByStation::name.

151  {
152  Cloner::addDaughter(cmp, c, name);
153  }
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual bool CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select ( const reco::Candidate c) const
inlineprivatevirtual
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual bool CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select ( const reco::Candidate c) const
inlineprivatevirtual

select a candidate

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 139 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select_.

139  {
140  return select_(c);
141  }
Selector select_
candidate selector
Definition: CandCombiner.h:149
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual bool CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair ( const reco::Candidate c1,
const reco::Candidate c2 
) const
inlineprivatevirtual

select a candidate

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 137 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair_.

137  {
138  return selectPair_(c1, c2);
139  }
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual bool CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair ( const reco::Candidate c1,
const reco::Candidate c2 
) const
inlineprivatevirtual

select a candidate

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 143 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair_.

143  {
144  return selectPair_(c1, c2);
145  }
PairSelector selectPair_
candidate pair selector
Definition: CandCombiner.h:151
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
Setup& CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup ( )
inline

return reference to setup object to allow its initialization

Definition at line 129 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.

Referenced by BeautifulSoup.Tag::_invert().

129 { return setup_; }
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
Setup& CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup ( void  )
inline

return reference to setup object to allow its initialization

Definition at line 135 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.

135 { return setup_; }
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual void CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup ( typename OutputCollection::value_type &  c) const
inlineprivatevirtual

set kinematics to reconstructed composite

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 141 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.

Referenced by BeautifulSoup.Tag::_invert().

141  {
142  setup_.set(c);
143  }
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
virtual void CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup ( typename OutputCollection::value_type &  c) const
inlineprivatevirtual

set kinematics to reconstructed composite

Implements CandCombinerBase< OutputCollection, Cloner::CandPtr >.

Definition at line 147 of file CandCombiner.h.

References CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_.

147  {
148  setup_.set(c);
149  }
Setup setup_
utility to setup composite candidate kinematics from daughters
Definition: CandCombiner.h:153

Member Data Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
Selector CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select_
private

candidate selector

Definition at line 149 of file CandCombiner.h.

Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::select().

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
PairSelector CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair_
private

candidate pair selector

Definition at line 151 of file CandCombiner.h.

Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::selectPair().

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta>
Setup CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup_
private

utility to setup composite candidate kinematics from daughters

Definition at line 153 of file CandCombiner.h.

Referenced by CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup >::setup().