BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/BesDChain/BesDChain-00-00-14/BesDChain/CDPhoton.h
Go to the documentation of this file.
1#ifndef CLEODCHAIN_CDPHOTON_H
2#define CLEODCHAIN_CDPHOTON_H
3// -*- C++ -*-
4//
5// Package: CleoDChain
6// Module: CDPhoton
7//
8// Description: CDPhoton candidate built from shower 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: CDPhoton.h,v 1.2 2010/01/11 08:05:20 zoujh Exp $
16//
17// Revision history
18//
19// $Log: CDPhoton.h,v $
20// Revision 1.2 2010/01/11 08:05:20 zoujh
21// Add setIP for vertex correction
22//
23// Revision 1.1.1.1 2009/03/03 06:05:56 maqm
24// first import of BesDChain
25//
26// Revision 1.2 2004/03/05 22:01:50 chengp
27// implemented Monte Carlo matching
28//
29// Revision 1.1 2001/04/11 13:19:20 urner
30// transition to files with CD prefix. Addition of new files
31//
32// Revision 1.2 2001/03/23 23:05:37 urner
33// added pi0 eta and CDKs decay lists
34//
35// Revision 1.1.1.1 2000/12/18 22:17:26 cdj
36// imported CleoDChain
37//
38// Revision 1.13 1998/04/17 18:52:24 sjp
39// Modifed to use latest CLEO types
40//
41// Revision 1.12 1997/12/23 21:54:49 sjp
42// Modified package to be completely templated
43//
44// Revision 1.11 1997/09/03 14:58:45 sjp
45// Use new report.h and KTKinematicData
46//
47// Revision 1.10 1997/08/29 17:01:22 sjp
48// Modified to handle new CDDecay Templated classes
49//
50// Revision 1.9 1997/08/19 20:41:39 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.8 1997/01/21 20:30:26 sjp
55// Changed CPP flags and include because of library reorganization
56//
57// Revision 1.7 1996/12/20 21:02:01 sjp
58// Extended pathname for Include.
59//
60// Revision 1.6 1996/11/04 17:01:39 sjp
61// Updated to work with new CDCandidate
62//
63
64// system include files
65
66// user include files
67#include "BesDChain/CDCandidate.h"
68
69// forward declarations
70namespace DecayChain {
71 class KinematicData;
72}
73
74class EvtRecTrack;
75
76class CDPhoton : public CDCandidate
77{
78 // friend classses and functions
79
80 public:
81 // constants, enums and typedefs
84
85 // Constructors and destructor
86 CDPhoton( const VisibleEvidence* aVisible ) ;
87 CDPhoton( const CDPhoton& aOtherCDPhoton ) ;
88 virtual ~CDPhoton() ;
89
90 // member functions
91
92 // const member functions
93 virtual bool builtFromCDPhoton() const ;
94 virtual const EvtRecTrack* photon() const ;
95 inline virtual DBCandidate::Hypo hypo() const;
96
97 // static member functions
98 //set event IP point
99 static bool setIP(double x, double y, double z) {
100 m_IPV.set(x, y, z);
101 }
102
103 protected:
104 // Constructors and destructor
105
106 // protected member functions
107
108 // protected const member functions
110
111 private:
112 // Constructors and destructor
113 CDPhoton() ; // stop default
114
115 // assignment operator(s)
116 const CDPhoton& operator=( const CDPhoton& aOtherCDPhoton ) ; // stop default
117
118 // private member functions
119
120 // private const member functions
121
122 // data members
123 const VisibleEvidence* m_visibleEvidence ;
124
125 // static data members
126 static Hep3Vector m_IPV; //IP point
127
128} ;
129
130typedef const CDPhoton& FixedCDPhoton ;
132
133// inline function definitions
135{
137}
138
139#endif /* CLEODCHAIN_CDPHOTON_H */
Double_t x[10]
virtual DBCandidate::Hypo hypo() const
virtual const EvtRecTrack * photon() const
Definition: CDPhoton.cxx:145
static bool setIP(double x, double y, double z)
virtual bool builtFromCDPhoton() const
Definition: CDPhoton.cxx:136
virtual DecayChain::KinematicData * defaultKinematicData() const
Definition: CDPhoton.cxx:153
virtual ~CDPhoton()
Definition: CDPhoton.cxx:128