// $Id: hhitmatch.cc,v 1.13 2003-04-30 17:52:24 eberl Exp $ // Last update by Thomas Eberl: 03/04/30 18:48:59 // //********************************************************** // this class is a container class meant to hold one // "correlation" between different detectors //********************************************************** using namespace std; #include "hhitmatch.h" #include #include ClassImp(HHitMatch) HHitMatch::HHitMatch() { reset(); } HHitMatch::~HHitMatch() {} HHitMatch::HHitMatch(const HHitMatch& source) { } HHitMatch& HHitMatch::operator=(const HHitMatch& source) { if (this != &source) { nSector= source.nSector; //RICH fRichPhi = source.fRichPhi; fRichTheta = source.fRichTheta; nRingX = source.nRingX; nRingY = source.nRingY; nRingPatMat = source.nRingPatMat; nRingHouTra = source.nRingHouTra; nRingAmplitude = source.nRingAmplitude; nRingPadNr = source.nRingPadNr; fRingRadius = source.fRingRadius; fRingCentroid = source.fRingCentroid; nRingLocalMax4 = source.nRingLocalMax4; nCentX = source.nCentX; nCentY = source.nCentY; fTests = source.fTests; fMaxClusterSize = source.fMaxClusterSize; fMaxThrClusterSize = source.fMaxThrClusterSize; fRingFitRad=source.fRingFitRad; fRingFitVar=source.fRingFitVar; fRingFitTheta=source.fRingFitTheta; fRingFitPhi=source.fRingFitPhi; nRingFitNbCoords=source.nRingFitNbCoords; indRich = source.indRich; //MDC fMdcTheta = source.fMdcTheta; fMdcPhi = source.fMdcPhi; fMdcR = source.fMdcR; fMdcZ = source.fMdcZ; fClusterSize = source.fClusterSize; nHitLay = source.nHitLay; iSegIOFlag = source.iSegIOFlag; indMdc = source.indMdc; //TOF fTofTof = source.fTofTof; fTofTheta = source.fTofTheta; fTofPhi = source.fTofPhi; indTof = source.indTof; //SHOWER-TOFINO fShowerTheta = source.fShowerTheta; fShowerPhi = source.fShowerPhi; fTofinoTof = source.fTofinoTof; m_fSum0 = source.m_fSum0; m_fSum1 = source.m_fSum1; m_fSum2 = source.m_fSum2; iTofino_Mult = source.iTofino_Mult; indShower = source.indShower; //CORR FLAGS nRichMdcCorr = source.nRichMdcCorr; nRichKickCorr = source.nRichKickCorr; nRichTofCorr = source.nRichTofCorr; nRichShowerCorr = source.nRichShowerCorr; nMdcTofCorr = source.nMdcTofCorr; nMdcShowerCorr = source.nMdcShowerCorr; //TRACK indKick = source.indKick; mom = source.mom; momt = source.momt; charge = source.charge; quality = source.quality; mass = source.mass; beta = source.beta; pull = source.pull; lvec = source.lvec; } return *this; } void HHitMatch::dumpToStdout() { cout<<"***************** HHITMATCH ************************"<