BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page
//____________________________________________________________________
// 
// 
// 

//____________________________________________________________________
//
// $Id: BrTrackResidual.cxx,v 1.1 2001/11/02 13:32:51 pchristi Exp $
// $Author: pchristi $
// $Date: 2001/11/02 13:32:51 $
// $Copyright: (C) 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov>
//
#ifndef BRAT_BrTrackResidual
#include "BrTrackResidual.h"
#endif

#ifndef WIN32
#include <iostream>
#include <iomanip>
#else
#include <iostream.h>
#include <iomanip.h>
#endif

//____________________________________________________________________
ClassImp(BrTrackResidual);

//____________________________________________________________________
 BrTrackResidual::BrTrackResidual()
{
  // Default constructor - sets all variables to 0
  fDx     = 0;
  fDy     = 0;
  fRow    = 0;
  fAdcSum = 0;
}

//____________________________________________________________________
 void BrTrackResidual::Print(Option_t* option = "") const
{
  // Print out the residual information

  cout << "Row :        "   << setw(10) << fRow << endl
       << "Adc Sum :    "   << setw(10) << fAdcSum << endl
       << "x residual : "   << setw(10) << fDx << endl 
       << "x residual : "   << setw(10) << fDy << endl;

  TObject::Print(option);
}

//____________________________________________________________________
//
// $Log: BrTrackResidual.cxx,v $
// Revision 1.1  2001/11/02 13:32:51  pchristi
// Added new class BrTrackResidual. This class deals with storing track
// residuals for good tracks.
// Removed adc calculations and informations from BrTpcTrackCandidate since
// this was done in a useless way. The adcsum information is now stored with
// the residual for each hit and it makes it possible to later make a
// truncated mean if one wishes stored in the track residual
//
//

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on by

Validate HTML
Validate CSS