StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StRichPhotonInfo.cxx
1 /***************************************************************************
2  *
3  * $Id: StRichPhotonInfo.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $
4  *
5  * Author: Brian Lasiuk, Nov 2000
6  ***************************************************************************
7  *
8  * Description: Implementation of persistent Photon Info definition
9  *
10  ***************************************************************************
11  *
12  * $Log: StRichPhotonInfo.cxx,v $
13  * Revision 2.4 2004/07/15 16:36:25 ullrich
14  * Removed all clone() declerations and definitions. Use StObject::clone() only.
15  *
16  * Revision 2.3 2001/04/05 04:00:53 ullrich
17  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
18  *
19  * Revision 2.2 2001/03/24 03:34:56 perev
20  * clone() -> clone() const
21  *
22  * Revision 2.1 2000/11/25 11:51:03 lasiuk
23  * Initial Revision
24  *
25  **************************************************************************/
26 
27 #include "StRichPhotonInfo.h"
28 
29 static const char rcsid[] = "$Id: StRichPhotonInfo.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $";
30 
31 ClassImp(StRichPhotonInfo)
32 
34  : mD(-999), mSigma(-999), mAzimuth(-999)
35 { /* nopt */ }
36 
37 StRichPhotonInfo::StRichPhotonInfo(double d, double s, double psi)
38  : mD(d), mSigma(s), mAzimuth(psi)
39 { /* nopt */ }
40 
41 StRichPhotonInfo::~StRichPhotonInfo() {/* nopt */}
42 
43 ostream&
44 operator<<(ostream& os, const StRichPhotonInfo& hit)
45 {
46  return (os << "StRichPhotonInfo::>"
47  << " d= " << hit.d()
48  << " sig= " << hit.sigma()
49  << " psi= " << hit.azimuth() << " ");
50 }