BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
ChosenConjugateList.cc
Go to the documentation of this file.
1#ifndef DCHAIN_CHOSENCONJUGATELIST_CC
2#define DCHAIN_CHOSENCONJUGATELIST_CC
3// -*- C++ -*-
4//
5// Package: DChain
6// Module: ChosenConjugateList
7//
8// Description: <one line class summary>
9//
10// Implimentation:
11// <Notes on implimentation>
12//
13// Author: Simon Patton
14// Created: Fri Oct 4 11:04:56 EDT 1996
15// $Id: ChosenConjugateList.cc,v 1.1.1.1 2009/03/03 06:06:56 maqm Exp $
16//
17// Revision history
18//
19// $Log: ChosenConjugateList.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:34 cdj
24// massive class renaming, addition of [] for selection and unit tests
25//
26//
27
28// system include files
29#include <stdlib.h> // required for 'exit'
30
31// user include files
40
42
43//
44// constants, enums and typedefs
45//
46namespace dchain {
47//
48// static data member definitions
49//
50
51//
52// constructors and destructor
53//
54template < class Conjugate , class CandidateClass >
56 const conjugation::Label aLabel ) :
57 ConjugateList< CandidateClass >( aLabel ) ,
58 m_list( &aLabeledParticleList )
59{
60}
61
62template < class Conjugate , class CandidateClass >
67//
68// member functions
69//
70template < class Conjugate , class CandidateClass >
73 return ( m_list->begin() ) ;
74}
75
76template < class Conjugate , class CandidateClass >
81
82template < class Conjugate , class CandidateClass >
87
88//
89// const member functions
90//
91template < class Conjugate , class CandidateClass >
93{
94// Need to cast to 'const' to get the right function call
95 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin() ) ;
96}
97
98template < class Conjugate , class CandidateClass >
100{
101// Need to cast to 'const' to get the right function call
102 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end() ) ;
103}
104
105template < class Conjugate , class CandidateClass >
107{
108// Need to cast to 'const' to get the right function call
109 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin( this->label() ) ) ;
110}
112template < class Conjugate , class CandidateClass >
114{
115// Need to cast to 'const' to get the right function call
116 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end( this->label() ) ) ;
117}
118
120template < class Conjugate , class CandidateClass >
125
126//
127// static member functions
128//
129}
130#endif /* DCHAIN_CHOSENCONJUGATELIST_CC */
const_partial_iterator partial_particle_end() const
virtual LabeledCandidateList< CandidateClass > & labeledCandidateList()
const_partial_iterator partial_particle_begin() const