1#ifndef DCHAIN_DCNEUTRALVISIBLELIST_CC
2#define DCHAIN_DCNEUTRALVISIBLELIST_CC
107template<
class Neutral ,
class Cand
idateClass >
110 m_function( pFunction ) ,
111 m_functionalObject( 0 )
115template<
class Neutral ,
class Cand
idateClass >
118 bool ( * pFunction )( Neutral& ) ) :
119 dchain::NeutralVisibleList< Neutral, CandidateClass >( aOtherList, pFunction ) ,
120 m_function( pFunction ) ,
121 m_functionalObject( 0 )
125template<
class Neutral ,
class Cand
idateClass >
129 m_functionalObject( &aFunctionalObject )
133template<
class Neutral ,
class Cand
idateClass >
137 dchain::NeutralVisibleList< Neutral,CandidateClass >( aOtherList, aFunctionalObject),
139 m_functionalObject( &aFunctionalObject )
143template<
class Neutral ,
class Cand
idateClass >
153template<
class Neutral ,
class Cand
idateClass >
156 this->eraseContents() ;
161template <
class Neutral ,
class Cand
idateClass >
164 if ( 0 != m_function ) {
166 }
else if (m_functionalObject) {
void fill(NTuple::Array< double > &nt_p4, const HepLorentzVector &p4)
const DCNeutralVisibleList< Neutral, CandidateClass > & operator=(const DCNeutralVisibleList< Neutral, CandidateClass > &aOtherList)
virtual ~DCNeutralVisibleList()
void fill(const dchain::LabeledParticleList< Neutral, CandidateClass > &aList)
DCNeutralVisibleList(bool(*pFunction)(Neutral &)=0)
virtual dchain::LabeledParticleList< Neutral, CandidateClass > & labeledCandidateList()