1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 #include "AliVZEROdigit.h"
18 ClassImp(AliVZEROdigit)
20 //__________________________________________________________________________
21 AliVZEROdigit::AliVZEROdigit()
30 // Standard default constructor
33 //__________________________________________________________________________
34 AliVZEROdigit::AliVZEROdigit(Int_t* tracks, Int_t *digits):
43 // Creates VZERO digits
44 // Fills the AliVZEROdigit data members from the array digits.
50 //__________________________________________________________________________
51 AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time)
64 //__________________________________________________________________________
65 AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time,
66 Int_t width, Bool_t BBFlag, Bool_t BGFlag)
77 fPMNumber = PMnumber; // PM number
78 fADC = adc; // ADC value
79 fTime = time; // Leading time
80 fWidth = width; // Time Width
81 fBBFlag = BBFlag; // Beam Beam Flag
82 fBGFlag = BGFlag; // Beam Gas Flag
86 //__________________________________________________________________________
87 void AliVZEROdigit::Print(const Option_t*) const