![]() |
![]() |
#include "PhysicsTools/CandUtils/interface/makeNamedCompositeCandidate.h"
Go to the source code of this file.
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidate | ( | const Candidate & | c1, | |
std::string | s1, | |||
const Candidate & | c2, | |||
std::string | s2, | |||
const Candidate & | c3, | |||
std::string | s3, | |||
const Candidate & | c4, | |||
std::string | s4 | |||
) |
Definition at line 23 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00026 { 00027 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00028 cmp.addDaughter( c1, s1 ); 00029 cmp.addDaughter( c2, s2 ); 00030 cmp.addDaughter( c3, s3 ); 00031 cmp.addDaughter( c4, s4 ); 00032 return cmp; 00033 }
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidate | ( | const Candidate & | c1, | |
std::string | s1, | |||
const Candidate & | c2, | |||
std::string | s2, | |||
const Candidate & | c3, | |||
std::string | s3 | |||
) |
Definition at line 13 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00015 { 00016 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00017 cmp.addDaughter( c1, s1 ); 00018 cmp.addDaughter( c2, s2 ); 00019 cmp.addDaughter( c3, s3 ); 00020 return cmp; 00021 }
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidate | ( | const Candidate & | c1, | |
std::string | s1, | |||
const Candidate & | c2, | |||
std::string | s2 | |||
) |
Definition at line 5 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00006 { 00007 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00008 cmp.addDaughter( c1, s1 ); 00009 cmp.addDaughter( c2, s2 ); 00010 return cmp; 00011 }
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidateWithRefsToMaster | ( | const reco::CandidateRef & | c1, | |
std::string | s1, | |||
const reco::CandidateRef & | c2, | |||
std::string | s2, | |||
const reco::CandidateRef & | c3, | |||
std::string | s3, | |||
const reco::CandidateRef & | c4, | |||
std::string | s4 | |||
) |
Definition at line 56 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00059 { 00060 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00061 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c1 ) ), s1 ); 00062 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c2 ) ), s2 ); 00063 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c3 ) ), s3 ); 00064 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c4 ) ), s4 ); 00065 return cmp; 00066 }
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidateWithRefsToMaster | ( | const reco::CandidateRef & | c1, | |
std::string | s1, | |||
const reco::CandidateRef & | c2, | |||
std::string | s2, | |||
const reco::CandidateRef & | c3, | |||
std::string | s3 | |||
) |
Definition at line 45 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00047 { 00048 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00049 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c1 ) ), s1 ); 00050 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c2 ) ), s2 ); 00051 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c3 ) ), s3 ); 00052 return cmp; 00053 }
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidateWithRefsToMaster | ( | const reco::CandidateRef & | c1, | |
std::string | s1, | |||
const reco::CandidateRef & | c2, | |||
std::string | s2 | |||
) |
Definition at line 36 of file makeNamedCompositeCandidate.cc.
References helpers::NamedCompositeCandidateMaker::addDaughter().
00037 { 00038 helpers::NamedCompositeCandidateMaker cmp( auto_ptr<NamedCompositeCandidate>( new NamedCompositeCandidate ) ); 00039 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c1 ) ), s1 ); 00040 cmp.addDaughter( ShallowCloneCandidate( CandidateBaseRef( c2 ) ), s2 ); 00041 return cmp; 00042 }