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()
33 // Standard default constructor
36 //__________________________________________________________________________
37 AliVZEROdigit::AliVZEROdigit(Int_t* tracks, Int_t *digits)
49 // Creates VZERO digits
50 // Fills the AliVZEROdigit data members from the array digits.
56 //__________________________________________________________________________
57 AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time)
73 //__________________________________________________________________________
74 AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time,
75 Int_t width, Bool_t BeamBeamFlag, Bool_t BeamGasFlag)
87 fPMNumber = PMnumber; // PM number
88 fADC = adc; // ADC value
89 fTime = time; // Leading time
90 fWidth = width; // Time Width
91 fBBFlag = BeamBeamFlag; // Beam Beam Flag
92 fBGFlag = BeamGasFlag; // Beam Gas Flag
96 //__________________________________________________________________________
97 void AliVZEROdigit::Print(const Option_t*) const