BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page
//	$Id: BrRichDig.cxx,v 1.1 2001/06/22 17:33:05 cholm Exp $
//
//	$Log: BrRichDig.cxx,v $
//	Revision 1.1  2001/06/22 17:33:05  cholm
//	Change names so that every data class has the same format so that
//	we have that down from the very beginning, so that we will not have to
//	worry about that later on.  The
//	affected classes are:
//	
//	        BrDigBB             ->        BrBbDig
//	        BrDigZDC            ->        BrZdcDig
//	        BrDigRHIC           ->        BrRichDig
//	        BrDigDC             ->        BrDcDig
//	        BrDigC1             ->        BrDcC1
//		BrDigHit            ->	      BrHitDig
//		BrDigTof	    ->	      BrTofDig
//		BrTPCSequence	    ->	      BrTpcSequence
//	
//	Revision 1.1.1.1  2001/06/21 14:55:01  hagel
//	Initial revision of brat2
//	
//	Revision 1.3  2000/06/02 18:02:21  videbaek
//	comment cleanup
//	
//	Revision 1.2  2000/02/15 20:32:40  videbaek
//	
//	:q
//	sorry for comments bad term
//	:wq
//	
//	Revision 1.1  2000/02/10 23:24:13  hagel
//	Initial revision of RICH; mostly placeholders
//	
//	Brat RICH counter structure
//
//___________________
//
//	BrRichDig
//
//  
//  Elementary objects for digitized RICH information. They
//  constitute a simple class (like structures).
//  The class is implemented as inheriting from BrDataObject.The main
//  reason for this is to have the capabilities of manipulating these
//  interactively within root. This way it can be directly attached to 
//  a BrEventNode.
//

#include "BrRichDig.h"

#include <iostream.h>

ClassImp(BrRichDig)

//_______________________________________________________________
 Int_t BrRichDig::GetAdc(const Int_t itube) const  {
  //Get ADC value.  itube is c channelmber (start counting from 1)

  
  if(itube > 0 && itube <= kNumRICHChan) {
     return fAdc[itube-1];
  }
else return 0;
}

//_______________________________________________________________
 void BrRichDig::SetAdc(const Int_t itube,const Int_t val) {
//Set ADC value.  itube is tube number (start counting from 1)
//

if(itube > 0 && itube<=kNumRICHChan) {
   fAdc[itube-1] = val;
   }

}

//_______________________________________________________________
 void BrRichDig::List(){
  //
  // List the content of an object on cout
  //
 
}

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