]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added Print method
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2001 17:01:28 +0000 (17:01 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2001 17:01:28 +0000 (17:01 +0000)
PHOS/AliPHOSDigit.cxx
PHOS/AliPHOSDigit.h

index 200d74e084fbd68a126c7a794bd01a41761c3350..2bf6f24a6881ff6d6f3c12394b560ed1af038d1f 100644 (file)
@@ -128,6 +128,11 @@ Int_t AliPHOSDigit::GetPrimary(Int_t index) const
   
 }
 //____________________________________________________________________________
+void AliPHOSDigit::Print(Option_t *option) const
+{
+  printf("PHOS digit: Amp=%d, Id=%d\n",fAmp,fId);
+}
+//____________________________________________________________________________
 void AliPHOSDigit::ShiftPrimary(Int_t shift)
 {
   //shifts primary number to BIG offset, to separate primary in different TreeK
index ec3a8382966ee95579b920bc3fd3808c9b131f7a..7e440cc2b539e8701f91ac15d544f17b65acabf6 100644 (file)
@@ -47,6 +47,7 @@ class AliPHOSDigit : public AliDigitNew {
   Bool_t  IsSortable() const { 
     // says that AliPHOSDigits are sortable (needed for Sort method
     return kTRUE ; }
+  void    Print(Option_t *option) const;
   void    SetAmp(Int_t Amp) { 
     // sets the amplitude data member 
     fAmp=Amp ; }