1#ifndef DCHAIN_DCCHARGEDVISIBLELIST_CC
2#define DCHAIN_DCCHARGEDVISIBLELIST_CC
118template <
class Charged ,
class Cand
idateClass >
121 m_function( pFunction ) ,
122 m_functionalObject( 0 )
126template <
class Charged ,
class Cand
idateClass >
129 bool ( * pFunction )( Charged& ) ) :
130 dchain::ChargedVisibleList<Charged, CandidateClass>(aOtherList, pFunction),
131 m_function( pFunction ) ,
132 m_functionalObject( 0 )
136template <
class Charged ,
class Cand
idateClass >
140 m_functionalObject( &aFunctionalObject )
144template <
class Charged ,
class Cand
idateClass >
148 dchain::ChargedVisibleList<Charged,CandidateClass>(aOtherList,aFunctionalObject),
150 m_functionalObject( &aFunctionalObject )
154template <
class Charged ,
class Cand
idateClass >
163template <
class Charged ,
class Cand
idateClass >
166 this->eraseContents() ;
175template <
class Charged ,
class Cand
idateClass >
178 if ( 0 != m_function ) {
180 }
else if (m_functionalObject) {
void fill(NTuple::Array< double > &nt_p4, const HepLorentzVector &p4)
DCChargedVisibleList(bool(*pFunction)(Charged &)=0)
virtual ~DCChargedVisibleList()
void fill(const dchain::LabeledParticleList< Charged, CandidateClass > &aList)
const DCChargedVisibleList< Charged, CandidateClass > & operator=(const DCChargedVisibleList< Charged, CandidateClass > &aOtherList)
virtual LabeledParticleList< Charged, CandidateClass > & labeledCandidateList()