BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTpcSequence


class description - source file - inheritance tree

class BrTpcSequence : public TObject


    public:
BrTpcSequence BrTpcSequence() BrTpcSequence BrTpcSequence(int) BrTpcSequence BrTpcSequence(const BrTpcSequence&) virtual void ~BrTpcSequence() static TClass* Class() Int_t Compare(TObject* BrTpcSequence) virtual Int_t Compare(const TObject* BrTpcSequence) const Short_t GetAdc(Int_t i) const Int_t GetClustNum() const Int_t GetNseq() Int_t GetPad() const Int_t GetRow() const Short_t* GetSequence() Int_t GetTime() const virtual TClass* IsA() const Bool_t IsEqual(TObject* obj) virtual Bool_t IsEqual(const TObject* obj) const virtual Bool_t IsSortable() const virtual void Print(Option_t* option = "B") const void SetAdc(int i, Short_t value) void SetClustNum(Int_t value) void SetPad(Short_t value) void SetRow(Short_t value) void SetTime(Short_t value) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fNseq number of time bins in the sequence Short_t fRow padrow number for this sequence (1-based) Short_t fPad pad number for this sequence (0-based) Short_t fTime time bin for first adc value (0-based) Short_t* fAdc [fNseq] array of ADC values. Int_t fClustNum ! clusternumber used by cluster algorithm- not stored.

Class Description

  The BrTpcSequence class is an internal description of time sequences from
  a given pad and row from the TPC. The raw data format should map quite well
  onto this internal format. Much better than the previously used BrDigTPC
  objects.

  At least for a time the BrDigitizeTPC module can optionally create both
  kind of objects.


BrTpcSequence()
 Default constructor, normally used only by ROOT
 Brat code will always use the BrTpcSequence(int) constructor.


BrTpcSequence(Int_t nseq)
 Constructor. Create object and allocate space for nseq data
 values.


BrTpcSequence( const BrTpcSequence &seq)
 copy constructor

IsEqual( TObject *obj )

IsEqual( const TObject *obj ) const
  For root v3 an and higher


~BrTpcSequence()

Short_t GetAdc(Int_t i) const
 Return the i'th adc value counting 0,1,...
 Returns 0 if out of range as well as Warning.

void SetAdc(int i, Short_t value)
 Return the i'th adc value counting 0,1,...
 Returns 0 if out of range as well as Warning.

Int_t Compare(const TObject *seq_o) const
 This routine overloads TObject::Compare(TObject *object)
 For BRAHMS, this routine is typically called by QSort
 It needs to return 1 if you want seq to be earlier
 in the list and -1 if you want seq to be later in
 the list.
 Used as prequisite for  the BrTPCClusterFinder method.
 Order by Row and Pad. No ordering by start time.



Int_t Compare( TObject *seq_o)
 This routine overloads TObject::Compare(TObject *object)
 For BRAHMS, this routine is typically called by QSort
 It needs to return 1 if you want seq to be earlier
 in the list and -1 if you want seq to be later in
 the list.
 Used as prequisite for  the BrTPCClusterFinder method.
 Order by Row and Pad. No ordering by start time.



void Print(Option_t* option) const
 Print module information
 See BrModule::Print for options.
 In addition this module defines the Option:
 d - print original author and who, when modified last



Inline Functions


           Short_t* GetSequence()
              Int_t GetClustNum() const
              Int_t GetRow() const
              Int_t GetPad() const
              Int_t GetTime() const
             Bool_t IsSortable() const
               void SetClustNum(Int_t value)
               void SetPad(Short_t value)
               void SetRow(Short_t value)
               void SetTime(Short_t value)
              Int_t GetNseq()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/07/06 10:12:07 $ by pchristi $

Validate HTML
Validate CSS