AliPHOSDigit


class description - source file - inheritance tree

class AliPHOSDigit : public AliDigitNew

    private:
public:
AliPHOSDigit AliPHOSDigit() AliPHOSDigit AliPHOSDigit(Int_t primary, Int_t id, Int_t DigEnergy, Int_t index = -1) AliPHOSDigit AliPHOSDigit(const AliPHOSDigit& digit) virtual void ~AliPHOSDigit() static TClass* Class() virtual Int_t Compare(const TObject* obj) const Int_t GetNprimary() const Int_t GetPrimary(Int_t index) const virtual TClass* IsA() const virtual Bool_t IsSortable() const AliPHOSDigit& operator+(AliPHOSDigit const& rValue) Bool_t operator==(const AliPHOSDigit& rValue) const void SetAmp(Int_t Amp) void ShiftPrimary(Int_t shift) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
Int_t fNprimary Number of primaries Int_t fNMaxPrimary ! Max Number of primaries Int_t fPrimary[5] Array of primaries public:

Class Description

  PHOS digit: Id
              energy
              3 identifiers for the primary particle(s) at the origine of the digit
  The digits are made in FinishEvent() by summing all the hits in a single PHOS crystal or PPSD gas cell
  It would be nice to replace the 3 identifiers by an array, but, because digits are kept in a TClonesQArray,
   it is not possible to stream such an array... (beyond my understqnding!)

*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)

AliPHOSDigit()
 default ctor

AliPHOSDigit(Int_t primary, Int_t id, Int_t DigEnergy, Int_t index)
 ctor with all data

AliPHOSDigit(const AliPHOSDigit & digit)
 copy ctor

~AliPHOSDigit()
 Delete array of primiries if any

Int_t Compare(const TObject * obj) const
 Compares two digits with respect to its Id
 to sort according increasing Id

Int_t GetPrimary(Int_t index) const
 retrieves the primary particle number given its index in the list

void ShiftPrimary(Int_t shift)
shifts primary nimber to BIG offset, to separate primary in different TreeK



Inline Functions


               Bool_t operator==(const AliPHOSDigit& rValue) const
        AliPHOSDigit& operator+(AliPHOSDigit const& rValue)
                Int_t GetNprimary() const
               Bool_t IsSortable() const
                 void SetAmp(Int_t Amp)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.