1 #ifndef CandUtils_CandCombiner_h 2 #define CandUtils_CandCombiner_h 21 template <
typename Ref>
99 const std::vector<int>& dauCharge)
112 const std::vector<int>& dauCharge)
edm::Ref< Container > Ref
Setup & setup()
return reference to setup object to allow its initialization
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
std::vector< CompositeCandidate > CompositeCandidateCollection
collection of Candidate objects
CandCombinerBase< OutputCollection, CandPtr > base
static void addDaughter(reco::CompositeCandidate &cmp, const reco::CandidateBaseRef &c, const std::string name="")
CandCombiner(int q1, int q2, int q3)
constructor from a selector and three charges
CandCombiner()
default constructor
CandCombiner(int q1, int q2, int q3, int q4)
constructor from a selector and four charges
bool select(const reco::Candidate &c) const override
select a candidate
void addDaughter(typename OutputCollection::value_type &cmp, const CandPtr &c, const std::string name="") const override
add candidate daughter
CandCombiner(const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3)
constructor from a selector and three charges
CandCombiner(const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2, int q3)
constructor from a selector and three charges
CandCombiner(const Selector &select, const PairSelector &selectPair, const std::vector< int > &dauCharge)
constructor from a selector, specifying to check for charge
CandCombiner(const Selector &select)
default constructor
Setup setup_
utility to setup composite candidate kinematics from daughters
Container::value_type value_type
CandCombiner(const Selector &select, const PairSelector &selectPair, const Setup &setup, int q1, int q2)
constructor from a selector and two charges
CandCombiner(const Selector &select, int q1, int q2, int q3, int q4)
constructor from a selector and four charges
PairSelector selectPair_
candidate pair selector
CandCombiner(const Selector &select, int q1, int q2, int q3)
constructor from a selector and three charges
CandCombiner(const Selector &select, int q1, int q2)
constructor from a selector and two charges
reco::CandidateBaseRef CandPtr
Functor that operates on <T>
CandCombiner(const Selector &select, const PairSelector &selectPair, const Setup &setup)
CandCombiner(const Selector &select, const PairSelector &selectPair, const Setup &setup, const std::vector< int > &dauCharge)
constructor from a selector, specifying to check for charge
reco::CandidateBaseRef CandPtr
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
reco::CandidatePtr CandPtr
def checkOverlap(process)
CandCombiner(int q1, int q2)
constructor from a selector and two charges
CandCombiner(const Selector &select, const PairSelector &selectPair)
constructor from selector
CandCombiner(const std::vector< int > &dauCharge)
constructor from a selector, specifying to check for charge
CandCombiner(const Selector &select, const PairSelector &selectPair, int q1, int q2, int q3, int q4)
constructor from a selector and four charges
CandCombiner(const Selector &select, const PairSelector &selectPair, int q1, int q2)
constructor from a selector and two charges
bool selectPair(const reco::Candidate &c1, const reco::Candidate &c2) const override
select a candidate
static void addDaughter(reco::CompositeCandidate &cmp, const Ref &c, const std::string name="")
void setup(typename OutputCollection::value_type &c) const override
set kinematics to reconstructed composite
static void addDaughter(reco::CompositeCandidate &cmp, const reco::CandidatePtr &c, const std::string name="")
Selector select_
candidate selector