BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page
//	$Id: BrTrigBB.cxx,v 1.1.1.1 2001/06/21 14:55:01 hagel Exp $
//
//	$Log: BrTrigBB.cxx,v $
//	Revision 1.1.1.1  2001/06/21 14:55:01  hagel
//	Initial revision of brat2
//	
//	Revision 1.1  2001/05/01 00:30:03  videbaek
//	Added bnew directory for trigger handling
//	This is taken mainly from base and BB, but better and more consistent
//	handling
//	
//	Revision 1.1  1999/08/14 17:59:27  videbaek
//	Initial version
//	
//
////////////////////////////////////////////////////////////////////////
//
//	BrTrigBB
//
//  Raw data object from the trigger time of the Beam Beam counter
//  These data comes from an 1877 TDC after the logic discriminators and
//  the Caen delay boxes.
//  The data are very much like the BrDigBB excpets there is no ADC value
//  but a (fixed) width instead.
//

#include "BrTrigBB.h"
#include <iostream.h>

ClassImp(BrTrigBB)
  
//_________________________________________________
 Int_t BrTrigBB::Compare(TObject *digbb_p)
{
  // This routine overloads TObject::Compare(TObject *object)
  // For BRAHMS, this routine is typically called by QSort
  // It needs to return 1 if you want digtof_o to be earlier
  // in the list and -1 if you want digtof_o to be later in
  // the list.
  //
  BrTrigBB * digbb = (BrTrigBB*) digbb_p;
 
 if( fTubeNo > digbb->GetTubeNo() ) return 1;
 if( fTubeNo < digbb->GetTubeNo() ) return -1;
 return 0;
}
//________________________________________________________
 void BrTrigBB::List(){
  //
  // List the content of an object on cout
  //
  cout << "Id       " << fId << "n";
  cout << " Tube No." << fTubeNo << "n";
  cout << " Tdc     " << fTdc  << "n";
  cout << " TdcWidth" << fWidth  << "n";

  cout << flush;
  
}

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