CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
LabeledCandidateList.cc
Go to the documentation of this file.
1#ifndef DCHAIN_LABELEDCANDIDATELIST_CC
2#define DCHAIN_LABELEDCANDIDATELIST_CC
3// -*- C++ -*-
4//
5// Package: DChain
6// Module: LabeledCandidateList
7//
8// Description: Container of `primary'/`conjugate' subclasses of Candidate
9//
10// Implimentation:
11// <Notes on implimentation>
12//
13// Author: Simon Patton
14// Created: Wed Sep 11 20:56:18 EDT 1996
15// $Id: LabeledCandidateList.cc,v 1.1.1.1 2009/03/03 06:06:56 maqm Exp $
16//
17// Revision history
18//
19// $Log: LabeledCandidateList.cc,v $
20// Revision 1.1.1.1 2009/03/03 06:06:56 maqm
21// first import of DecayChain
22//
23// Revision 1.1 2006/01/11 20:28:40 cdj
24// massive class renaming, addition of [] for selection and unit tests
25//
26// Revision 1.1.1.1 2000/12/18 22:16:56 cdj
27// imported DChain
28//
29// Revision 1.10 1998/08/21 00:51:56 sjp
30// Modifier to no longer use typedefs
31//
32// Revision 1.9 1998/08/19 20:46:24 sjp
33// Fixed comments and removed report references
34//
35// Revision 1.8 1997/08/28 07:00:21 sjp
36// Modified files to handle complete templating
37//
38// Revision 1.7 1997/08/26 04:14:27 sjp
39// Made Candidate handling objects into `CandidateClass' Templates
40//
41// Revision 1.6 1997/08/19 23:03:20 sjp
42// Restructured package to be independent of Rock
43//
44// Revision 1.5 1997/08/15 21:33:47 sjp
45// Updated to use <package>/<file>.h include structure.
46// Updated to use bug flags specified in Experiement.h
47//
48// Revision 1.4 1997/01/31 20:16:27 sjp
49// Modified to use the new `bug' include files
50//
51// Revision 1.3 1997/01/21 20:31:43 sjp
52// Changed CPP flags and include because of library reorganization
53//
54// Revision 1.2 1997/01/19 20:28:45 sjp
55// Changed LargeCount to Count
56//
57// Revision 1.1 1996/11/04 17:17:19 sjp
58// New file for new `List' module
59//
60
61// system include files
62
63// user include files
68
70
71//
72// constants, enums and typedefs
73//
74
75//
76// static data member definitions
77//
78
79//
80// constructors and destructor
81//
82namespace dchain {
83template < class CandidateClass >
87
88// LabeledCandidateList< CandidateClass >::LabeledCandidateList( const LabeledCandidateList< CandidateClass >& )
89// {
90// }
91
92template < class CandidateClass >
96
97//
98// assignment operators
99//
100// const LabeledCandidateList< CandidateClass >& LabeledCandidateList< CandidateClass >::operator=( const LabeledCandidateList< CandidateClass >& )
101// {
102// }
103
104//
105// member functions
106//
107
108//------ operator[] ------
109//
110template < class CandidateClass >
112{
113 return ( labeledCandidateClass( aIndex ) ) ;
114}
115
116//------ begin ------
117//
118template < class CandidateClass >
123
124//------ end ------
125//
126template < class CandidateClass >
131
132//------ erase ------
133//
134template < class CandidateClass >
136 iterator aFinish )
137{
138 erase_elements( aStart.index() ,
139 aFinish.index() ) ;
140}
141
142//
143// const member functions
144//
145
146//------ operator[] ------
147//
148template < class CandidateClass >
150{
151 return ( labeledCandidateClass( aIndex ) ) ;
152}
153
154//------ begin ------
155//
156template < class CandidateClass >
161
162//------ begin ------
163//
164template < class CandidateClass >
169
170//------ end ------
171//
172template < class CandidateClass >
177
178//------ end ------
179//
180template < class CandidateClass >
185
186//
187// static member functions
188//
189}
190#endif /* DCHAIN_LABELEDCANDIDATELIST_CC */
LabeledCandidate< CandidateClass > & operator[](const int aIndex)
void erase(iterator aStart, iterator aFinish)