BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/BesDChain/include/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 // friend classses and functions
78
79public:
80 // constants, enums and typedefs
83
84 // Constructors and destructor
85 CDPhoton( const VisibleEvidence* aVisible );
86 CDPhoton( const CDPhoton& aOtherCDPhoton );
87 virtual ~CDPhoton();
88
89 // member functions
90
91 // const member functions
92 virtual bool builtFromCDPhoton() const;
93 virtual const EvtRecTrack* photon() const;
94 inline virtual DBCandidate::Hypo hypo() const;
95
96 // static member functions
97 // set event IP point
98 static void setIP( double x, double y, double z ) { m_IPV.set( x, y, z ); }
99
100protected:
101 // Constructors and destructor
102
103 // protected member functions
104
105 // protected const member functions
107
108private:
109 // Constructors and destructor
110 CDPhoton(); // stop default
111
112 // assignment operator(s)
113 const CDPhoton& operator=( const CDPhoton& aOtherCDPhoton ); // stop default
114
115 // private member functions
116
117 // private const member functions
118
119 // data members
120 const VisibleEvidence* m_visibleEvidence;
121
122 // static data members
123 static Hep3Vector m_IPV; // IP point
124};
125
126typedef const CDPhoton& FixedCDPhoton;
128
129// inline function definitions
131
132#endif /* CLEODCHAIN_CDPHOTON_H */
const CDPhoton & FixedCDPhoton
CDCandidate(const CDCandidate &aOtherCDCandidate)
virtual DBCandidate::Hypo hypo() const
virtual const EvtRecTrack * photon() const
Definition CDPhoton.cxx:131
virtual bool builtFromCDPhoton() const
Definition CDPhoton.cxx:126
CDPhoton(const VisibleEvidence *aVisible)
Definition CDPhoton.cxx:110
static void setIP(double x, double y, double z)
virtual DecayChain::KinematicData * defaultKinematicData() const
Definition CDPhoton.cxx:136
virtual ~CDPhoton()
Definition CDPhoton.cxx:121