AliPHOSDigit


class description - source file - inheritance tree

class AliPHOSDigit : public AliDigitNew


    public:
AliPHOSDigit AliPHOSDigit() AliPHOSDigit AliPHOSDigit(Int_t primary, Int_t id, Int_t DigEnergy) AliPHOSDigit AliPHOSDigit(const AliPHOSDigit& digit) virtual void ~AliPHOSDigit() TClass* Class() virtual Int_t Compare(TObject* obj) 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==(AliPHOSDigit const& rValue) const void SetAmp(Int_t Amp) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Int_t fPrimary1 first primary (because I do not know how to stream *fPrimary) Int_t fPrimary2 second primary (because I do not know how to stream *fPrimary) Int_t fPrimary3 third primary (because I do not know how to stream *fPrimary) Int_t fNprimary Number of primaries

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)
 ctor with all data

AliPHOSDigit(const AliPHOSDigit & digit)
 copy ctor

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

Int_t GetPrimary(Int_t index) const
 Returns the primary particle id index =1,2,3



Inline Functions


               Bool_t operator==(AliPHOSDigit const& 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 ~AliPHOSDigit()


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.