00001 /*************************************************************************** 00002 * 00003 * $Id: StRichPhotonInfo.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $ 00004 * 00005 * Author: Brian Lasiuk, Nov 2000 00006 *************************************************************************** 00007 * 00008 * Description: Implementation of persistent Photon Info definition 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StRichPhotonInfo.cxx,v $ 00013 * Revision 2.4 2004/07/15 16:36:25 ullrich 00014 * Removed all clone() declerations and definitions. Use StObject::clone() only. 00015 * 00016 * Revision 2.3 2001/04/05 04:00:53 ullrich 00017 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00018 * 00019 * Revision 2.2 2001/03/24 03:34:56 perev 00020 * clone() -> clone() const 00021 * 00022 * Revision 2.1 2000/11/25 11:51:03 lasiuk 00023 * Initial Revision 00024 * 00025 **************************************************************************/ 00026 00027 #include "StRichPhotonInfo.h" 00028 00029 static const char rcsid[] = "$Id: StRichPhotonInfo.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $"; 00030 00031 ClassImp(StRichPhotonInfo) 00032 00033 StRichPhotonInfo::StRichPhotonInfo() 00034 : mD(-999), mSigma(-999), mAzimuth(-999) 00035 { /* nopt */ } 00036 00037 StRichPhotonInfo::StRichPhotonInfo(double d, double s, double psi) 00038 : mD(d), mSigma(s), mAzimuth(psi) 00039 { /* nopt */ } 00040 00041 StRichPhotonInfo::~StRichPhotonInfo() {/* nopt */} 00042 00043 ostream& 00044 operator<<(ostream& os, const StRichPhotonInfo& hit) 00045 { 00046 return (os << "StRichPhotonInfo::>" 00047 << " d= " << hit.d() 00048 << " sig= " << hit.sigma() 00049 << " psi= " << hit.azimuth() << " "); 00050 }
1.5.9