1#ifndef DCHAIN_DCNEUTRALNCVISIBLELIST_CC
2#define DCHAIN_DCNEUTRALNCVISIBLELIST_CC
121template <
class NeutralNC ,
class Cand
idateClass >
124 m_function( pFunction ) ,
125 m_functionalObject( 0 )
129template <
class NeutralNC ,
class Cand
idateClass >
133 bool ( * pFunction )( NeutralNC& ) ) :
134 dchain::NeutralNCVisibleList<NeutralNC,CandidateClass>(aOtherList,pFunction),
135 m_function( pFunction ) ,
136 m_functionalObject( 0 )
140template <
class NeutralNC ,
class Cand
idateClass >
144 m_functionalObject( &aFunctionalObject )
148template <
class NeutralNC ,
class Cand
idateClass >
153 dchain::NeutralNCVisibleList<NeutralNC,CandidateClass>(aOtherList, aFunctionalObject),
155 m_functionalObject( &aFunctionalObject )
159template <
class NeutralNC ,
class Cand
idateClass >
168template <
class NeutralNC ,
class Cand
idateClass >
171 this->eraseContents() ;
180template <
class NeutralNC ,
class Cand
idateClass >
184 if ( 0 != m_function ) {
186 }
else if (m_functionalObject) {
void fill(NTuple::Array< double > &nt_p4, const HepLorentzVector &p4)
DCNeutralNCVisibleList(bool(*pFunction)(NeutralNC &)=0)
void fill(const dchain::LabeledParticleList< NeutralNC, CandidateClass > &aList)
virtual ~DCNeutralNCVisibleList()
const DCNeutralNCVisibleList< NeutralNC, CandidateClass > & operator=(const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &aOtherList)
virtual dchain::LabeledParticleList< NeutralNC, CandidateClass > & labeledCandidateList()