CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
NamedCandCombiner< Selector, PairSelector, Cloner, Setup > Class Template Reference

#include <NamedCandCombiner.h>

Inheritance diagram for NamedCandCombiner< Selector, PairSelector, Cloner, Setup >:
NamedCandCombinerBase

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::NamedCompositeCandidateCollectioncombine (const std::vector< reco::CandidatePtrVector > &, string_coll const &) const
 return all selected candidate pairs More...
 
std::unique_ptr< reco::NamedCompositeCandidateCollectioncombine (const reco::CandidatePtrVector &, string_coll const &) const
 return all selected candidate pairs More...
 
std::unique_ptr< reco::NamedCompositeCandidateCollectioncombine (const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, string_coll const &) const
 return all selected candidate pairs More...
 
std::unique_ptr< reco::NamedCompositeCandidateCollectioncombine (const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, const reco::CandidatePtrVector &, string_coll const &) const
 return all selected candidate pairs More...
 
std::unique_ptr< reco::NamedCompositeCandidateCollectioncombine (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
 

Detailed Description

template<typename Selector, typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
class NamedCandCombiner< Selector, PairSelector, Cloner, Setup >

Author
Luca Lista, INFN

Definition at line 41 of file NamedCandCombiner.h.

Constructor & Destructor Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name)
inline

default constructor

Definition at line 44 of file NamedCandCombiner.h.

44  :
46  select_(), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 48 of file NamedCandCombiner.h.

48  :
50  select_(), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 52 of file NamedCandCombiner.h.

52  :
54  select_(), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 56 of file NamedCandCombiner.h.

56  :
57  NamedCandCombinerBase(name, q1, q2, q3, q4),
58  select_(), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select 
)
inline

default constructor

Definition at line 60 of file NamedCandCombiner.h.

60  :
62  select_(select), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 64 of file NamedCandCombiner.h.

64  :
66  select_(select), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 68 of file NamedCandCombiner.h.

68  :
70  select_(select), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
int  q1,
int  q2,
int  q3,
int  q4 
)
inline

constructor from a selector and four charges

Definition at line 72 of file NamedCandCombiner.h.

72  :
73  NamedCandCombinerBase(name, q1, q2, q3, q4),
74  select_(select), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair 
)
inline

constructor from selector

Definition at line 76 of file NamedCandCombiner.h.

76  :
78  select_(select), selectPair_(selectPair), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 80 of file NamedCandCombiner.h.

80  :
82  select_(select), selectPair_(selectPair), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair,
int  q1,
int  q2,
int  q3 
)
inline

constructor from a selector and three charges

Definition at line 84 of file NamedCandCombiner.h.

84  :
86  select_(select), selectPair_(selectPair), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
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 88 of file NamedCandCombiner.h.

88  :
89  NamedCandCombinerBase(name, q1, q2, q3, q4),
90  select_(select), selectPair_(selectPair), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair,
const Setup &  setup 
)
inline

Definition at line 91 of file NamedCandCombiner.h.

91  :
93  select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair,
const Setup &  setup,
int  q1,
int  q2 
)
inline

constructor from a selector and two charges

Definition at line 95 of file NamedCandCombiner.h.

95  :
97  select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
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 99 of file NamedCandCombiner.h.

99  :
101  select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
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 103 of file NamedCandCombiner.h.

103  :
104  NamedCandCombinerBase(name, q1, q2, q3, q4),
105  select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
double q2[4]
Definition: TauolaWrapper.h:88
double q1[4]
Definition: TauolaWrapper.h:87
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
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 107 of file NamedCandCombiner.h.

107  :
108  NamedCandCombinerBase(name, true, dauCharge), select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const Selector select,
const PairSelector selectPair,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 110 of file NamedCandCombiner.h.

110  :
111  NamedCandCombinerBase(name, true, dauCharge), select_(select), selectPair_(selectPair), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
const std::vector< int > &  dauCharge 
)
inline

constructor from a selector, specifying to check for charge

Definition at line 113 of file NamedCandCombiner.h.

113  :
114  NamedCandCombinerBase(name, true, dauCharge), select_(), selectPair_(), setup_(), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
Setup setup_
utility to setup composite candidate kinematics from daughters
Selector select_
candidate selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::NamedCandCombiner ( std::string  name,
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 116 of file NamedCandCombiner.h.

117  :
119  select_(select), selectPair_(selectPair), setup_(setup), name_(name) { }
NamedCandCombinerBase(std::string name)
default construct
PairSelector selectPair_
candidate pair selector
std::string name_
name
def checkOverlap(process)
Setup setup_
utility to setup composite candidate kinematics from daughters
Setup & setup()
return reference to setup object to allow its initialization
Selector select_
candidate selector

Member Function Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
virtual void NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::addDaughter ( reco::NamedCompositeCandidate cmp,
const reco::CandidatePtr c,
std::string  n 
) const
inlineprivatevirtual

add candidate daughter

Implements NamedCandCombinerBase.

Definition at line 137 of file NamedCandCombiner.h.

137  {
138  Cloner::addDaughter(cmp, c, n);
139  }
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
virtual bool NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::select ( const reco::Candidate c) const
inlineprivatevirtual
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
virtual bool NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::selectPair ( const reco::Candidate c1,
const reco::Candidate c2 
) const
inlineprivatevirtual

select a candidate

Implements NamedCandCombinerBase.

Definition at line 129 of file NamedCandCombiner.h.

129  {
130  return selectPair_(c1, c2);
131  }
PairSelector selectPair_
candidate pair selector
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
Setup& NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::setup ( )
inline

return reference to setup object to allow its initialization

Definition at line 121 of file NamedCandCombiner.h.

Referenced by o2olib.O2OTool::execute().

121 { return setup_; }
Setup setup_
utility to setup composite candidate kinematics from daughters
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
virtual void NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::setup ( reco::NamedCompositeCandidate c) const
inlineprivatevirtual

set kinematics to reconstructed composite

Implements NamedCandCombinerBase.

Definition at line 133 of file NamedCandCombiner.h.

Referenced by o2olib.O2OTool::execute().

133  {
134  setup_.set(c);
135  }
Setup setup_
utility to setup composite candidate kinematics from daughters

Member Data Documentation

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
std::string NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::name_
private

name

Definition at line 147 of file NamedCandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
Selector NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::select_
private

candidate selector

Definition at line 141 of file NamedCandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
PairSelector NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::selectPair_
private

candidate pair selector

Definition at line 143 of file NamedCandCombiner.h.

template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = combiner::helpers::NormalClone, typename Setup = AddFourMomenta>
Setup NamedCandCombiner< Selector, PairSelector, Cloner, Setup >::setup_
private

utility to setup composite candidate kinematics from daughters

Definition at line 145 of file NamedCandCombiner.h.

Referenced by upgradeWorkflowComponents.UpgradeWorkflow::setup().