BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page
//  $Id: BrDetectorHit.cxx,v 1.1.1.1 2001/06/21 14:55:02 hagel Exp $
//
//  $Log: BrDetectorHit.cxx,v $
//  Revision 1.1.1.1  2001/06/21 14:55:02  hagel
//  Initial revision of brat2
//
//  Revision 1.1  1999/03/07 22:38:03  videbaek
//  Added DetectorHit and BrLocalTrackingModule as a more general way to
//  deal with local tracks and hits. Initial insertion. Not fully debugged.
//  Cosmetic changes to other modules.
//
//

#include "BrDetectorHit.h"

ClassImp(BrDetectorHit)

///////////////////////////////////////////////////////////////////////
//
// BrDetectorHit is a BRAHMS data class for storing information for 
// one detector Hit. This is the deduced information for a hit in
// the local coordinate system for a given detector. It is in principle
// independent of what kind of detector is considered.
// This class has been derived , being more simple than the
// BrCombinedHit class. It is used initially for the TPC local tracking
// But could also be a base class for the DC hit class.  
//
///////////////////////////////////////////////////////////////////////

//________________________________________________________________________
 BrDetectorHit::BrDetectorHit() 
{
Int_t i;
 fID = 0;
 for(i=0;i<3;i++) fPos[i] = 0;
 for(i=0;i<2;i++) fDpos[i] = 0.0;
 fImod = 0;
 fUsed = 0;
 fStat = 0;
}
//________________________________________________________________________
 BrDetectorHit::~BrDetectorHit(){

}

//________________________________________________________________________
ostream& operator<< (ostream & os, BrDetectorHit *hit)
{
  os << "Id : " << hit->fID << "n ("<<
    hit->fPos[0]<<","<<hit->fPos[1]<<","<<hit->fPos[2]<<")";
return os;
}

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