// $Id: hrichphotonhit.cc,v 1.2 2002-09-25 16:19:53 eberl Exp $
// Last update by Thomas Eberl: 02/09/25 17:44:09
//
//**********************************************************
// this class is a container class meant to hold one
// found photon hit on the padplane 
//**********************************************************
#include "hrichphotonhit.h"

ClassImp(HRichPhotonHit)

HRichPhotonHit::HRichPhotonHit() {
    Reset();
}

HRichPhotonHit::~HRichPhotonHit() {}

HRichPhotonHit::HRichPhotonHit(const HRichPhotonHit& source) {
 fTheta = source.fTheta;
 fPhi = source.fPhi;
 fX = source.fX;
 fY = source.fY;
 nSector = source.nSector;
}

HRichPhotonHit& HRichPhotonHit::operator=(const HRichPhotonHit& source) {
 if (this != &source) {
  fX = source.fX;
  fY = source.fY;
  fTheta = source.fTheta;
  fPhi = source.fPhi;
  nSector = source.nSector;
 }
 
 return *this;
}


void HRichPhotonHit::Reset(void) {
    fX = 0.0F;
    fY = 0.0F;
    fTheta = 0.0F;
    fPhi = 0.0F;
    nSector = 0;
    fCharge = 0.;
    nRingX = 0;
    nRingY = 0;
}







Last change: Sat May 22 13:09:53 2010
Last generated: 2010-05-22 13:09

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.