BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/BesDChain/include/BesDChain/CDChargedVisible.h
Go to the documentation of this file.
1#ifndef CLEODCHAIN_CDCHARGEDVISIBLE_H
2#define CLEODCHAIN_CDCHARGEDVISIBLE_H
3// -*- C++ -*-
4//
5// Package: CleoDChain
6// Module: CDChargedVisible
7//
8// Description: CDCharged candidate built from charged or truth table
9//
10// Usage:
11// <usage>
12//
13// Author: Simon Patton
14// Created: Wed Sep 18 14:47:30 EDT 1996
15// $Id: CDChargedVisible.h,v 1.1.1.1 2009/03/03 06:05:56 maqm Exp $
16//
17// Revision history
18//
19// $Log: CDChargedVisible.h,v $
20// Revision 1.1.1.1 2009/03/03 06:05:56 maqm
21// first import of BesDChain
22//
23// Revision 1.2 2004/03/05 22:01:49 chengp
24// implemented Monte Carlo matching
25//
26// Revision 1.1 2001/04/11 13:19:13 urner
27// transition to files with CD prefix. Addition of new files
28//
29// Revision 1.3 2001/04/03 17:26:43 cdj
30// moved builtFromCDCharged to builtFromTrack
31//
32// Revision 1.2 2001/03/23 23:05:34 urner
33// added pi0 eta and CDKs decay lists
34//
35// Revision 1.1.1.1 2000/12/18 22:17:25 cdj
36// imported CleoDChain
37//
38// Revision 1.18 1998/04/17 18:52:21 sjp
39// Modifed to use latest CLEO types
40//
41// Revision 1.17 1997/12/23 21:54:47 sjp
42// Modified package to be completely templated
43//
44// Revision 1.16 1997/09/03 14:58:42 sjp
45// Use new report.h and KTKinematicData
46//
47// Revision 1.15 1997/08/29 17:01:17 sjp
48// Modified to handle new Cairn Templated classes
49//
50// Revision 1.14 1997/08/19 20:41:32 sjp
51// Updated to use <package>/<file>.h include structure.
52// (Note: This version of the code has not been compiled)
53//
54// Revision 1.13 1997/01/31 20:10:18 sjp
55// Modified to use the new `bug' include files
56//
57// Revision 1.12 1997/01/21 20:30:23 sjp
58// Changed CPP flags and include because of library reorganization
59//
60// Revision 1.11 1996/12/20 21:01:42 sjp
61// Extended pathname for Includes.
62//
63// Revision 1.10 1996/11/04 17:01:27 sjp
64// Changed name to CDChargedVisible
65//
66
67// system include files
68
69// user include files
70#include "BesDChain/CDCandidate.h"
71#include "BesDChain/DBCandidate.h" // for enumerator
72
73// forward declarations
74namespace DecayChain {
75 class KinematicData;
76}
77
78class EvtRecTrack;
79// zoujh: should be replaced in the future
80// class BPion;
81// class BKaon;
82
83template <DBCandidate::Hypo H> class CDChargedVisible : public CDCandidate {
84 // friend classes and functions
85
86public:
87 // constants, enums and typedefs
90
91 // Constructors and destructor
92 CDChargedVisible( const EvtRecTrack* aVisible );
93 // zoujh: ...
94 // CDChargedVisible( BPion* aPion ) ;
95 // CDChargedVisible( BKaon* aKaon ) ;
96
97 CDChargedVisible( const CDChargedVisible<H>& aOtherCDChargedVisible );
99
100 // member functions
101
102 // const member functions
103 virtual bool builtFromTrack() const;
104 virtual const EvtRecTrack* track() const;
105 inline virtual DBCandidate::Hypo hypo() const;
106
107 // static member functions
108
109protected:
110 // Constructors and destructor
111
112 // protected member functions
113
114 // protected const member functions
116
117private:
118 // Constructors and destructor
119 CDChargedVisible(); // stop default
120
121 // assignment operator(s)
122 const CDChargedVisible&
123 operator=( const CDChargedVisible<H>& aOtherCDChargedVisible ); // stop default
124
125 // private member functions
126
127 // private const member functions
128
129 // data members
130 const VisibleEvidence* m_visibleEvidence;
131
132 // static data members
133};
134
135template <DBCandidate::Hypo H> inline DBCandidate::Hypo CDChargedVisible<H>::hypo() const {
136 return H;
137}
138
139#include "BesDChain/Template/CDChargedVisible.cc"
140
141#endif /* CLEODCHAIN_CDCHARGEDVISIBLE_H */
CDCandidate(const CDCandidate &aOtherCDCandidate)
CDChargedVisible(const CDChargedVisible< H > &aOtherCDChargedVisible)
virtual DecayChain::KinematicData * defaultKinematicData() const
IMPLICIT REAL *A H
Definition myXsection.h:1