BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
DCFillableChargedList.cc
Go to the documentation of this file.
1#ifndef DCHAIN_FILLABLECHARGEDLIST_CC
2#define DCHAIN_FILLABLECHARGEDLIST_CC
3// -*- C++ -*-
4//
5// Package: DChain
6// Module: FillableChargedList
7//
8// Description: <one line class summary>
9//
10// Implimentation:
11// <Notes on implimentation>
12//
13// Author: Simon Patton
14// Created: Wed Sep 3 13:47:97 EDT 1997
15// $Id: DCFillableChargedList.cc,v 1.1.1.1 2009/03/03 06:06:56 maqm Exp $
16//
17// Revision history
18//
19// $Log: DCFillableChargedList.cc,v $
20// Revision 1.1.1.1 2009/03/03 06:06:56 maqm
21// first import of DecayChain
22//
23// Revision 1.3 2006/01/11 20:28:38 cdj
24// massive class renaming, addition of [] for selection and unit tests
25//
26// Revision 1.2 2000/12/30 19:43:33 cdj
27// no more missing symbols under OSF1
28//
29// Revision 1.1.1.1 2000/12/18 22:16:55 cdj
30// imported DChain
31//
32// Revision 1.4 1998/08/20 20:00:12 sjp
33// Modified to use DChainBoolean
34//
35// Revision 1.3 1998/08/19 20:46:23 sjp
36// Fixed comments and removed report references
37//
38// Revision 1.2 1998/04/17 19:14:50 sjp
39// Modified to use latest type
40//
41// Revision 1.1 1997/09/17 20:06:41 sjp
42// New class to separate filling from behaviour
43//
44
45// system include files
46#include <stdlib.h> // required for 'exit'
47
48// user include files
50
51// STL include files
52
53//
54// constants, enums and typedefs
55//
56
57//
58// static data member definitions
59//
60
61//
62// constructors and destructor
63//
64
65template < class Charged >
67DCFillableChargedList( bool ( * pFunction )( Charged& ) ) :
68 DCChargedVisibleList< Charged , typename Charged::CandidateClass >( pFunction )
69{
70}
71
72template < class Charged >
75 bool ( * pFunction )( Charged& ) ) :
76 DCChargedVisibleList< Charged , typename Charged::CandidateClass >( aOtherList ,
77 pFunction )
78{
79}
80
81template < class Charged >
84 DCChargedVisibleList< Charged , typename Charged::CandidateClass >( aFunctionalObject )
85{
86}
87
88template < class Charged >
91 DCSelectionFunction< Charged >& aFunctionalObject ) :
92 DCChargedVisibleList< Charged , typename Charged::CandidateClass >( aOtherList ,
93 aFunctionalObject )
94{
95}
96
97template < class Charged >
100{
101}
102
103//
104// assignment operators
105//
106
107template < class Charged >
110{
112 return ( *this ) ;
113}
114
115//
116// member functions
117//
118
119//
120// const member functions
121//
122
123//
124// static member functions
125//
126
127#endif /* DCHAIN_FILLABLECHARGEDLIST_CC */
const DCChargedVisibleList< Charged, CandidateClass > & operator=(const DCChargedVisibleList< Charged, CandidateClass > &aOtherList)
DCFillableChargedList(bool(*pFunction)(Charged &)=0)
const DCFillableChargedList< Charged > & operator=(const DCFillableChargedList< Charged > &aOtherList)