]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZEROdigit.cxx
Fixes for cmake
[u/mrichter/AliRoot.git] / VZERO / AliVZEROdigit.cxx
CommitLineData
47890cd3 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
47890cd3 16#include "AliVZEROdigit.h"
b2501ea3 17
47890cd3 18ClassImp(AliVZEROdigit)
19
d0502ab2 20//__________________________________________________________________________
6905601e 21AliVZEROdigit::AliVZEROdigit()
0b2bea8b 22 :AliDigit(),
23 fTrack(0),
24 fEvent(0),
25 fPMNumber(0),
26 fADC(0),
3b8367b8 27 fTime(0),
28 fWidth(0),
29 fBBFlag(0),
fad64858 30 fBGFlag(0),
31 fIntegrator(0)
0b2bea8b 32
6905601e 33{
0b2bea8b 34 // Standard default constructor
6905601e 35}
36
d0502ab2 37//__________________________________________________________________________
3b8367b8 38AliVZEROdigit::AliVZEROdigit(Int_t* tracks, Int_t *digits)
39 :AliDigit(tracks),
0b2bea8b 40 fTrack(0),
41 fEvent(0),
42 fPMNumber(0),
43 fADC(0),
3b8367b8 44 fTime(0),
45 fWidth(0),
46 fBBFlag(0),
fad64858 47 fBGFlag(0),
48 fIntegrator(0)
0b2bea8b 49
50{
6905601e 51 // Creates VZERO digits
b2501ea3 52 // Fills the AliVZEROdigit data members from the array digits.
0b2bea8b 53
6905601e 54 fTrack = tracks[0];
55 fEvent = digits[0];
47890cd3 56}
57
d0502ab2 58//__________________________________________________________________________
20277079 59AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time)
0b2bea8b 60 :AliDigit(),
61 fTrack(0),
62 fEvent(0),
63 fPMNumber(0),
64 fADC(0),
3b8367b8 65 fTime(0),
66 fWidth(0),
67 fBBFlag(0),
fad64858 68 fBGFlag(0),
69 fIntegrator(0)
6905601e 70{
0b2bea8b 71 fPMNumber = PMnumber;
72 fADC = adc;
73 fTime = time;
6905601e 74}
47890cd3 75
d0502ab2 76//__________________________________________________________________________
77AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time,
3b8367b8 78 Int_t width, Bool_t BeamBeamFlag, Bool_t BeamGasFlag)
d0502ab2 79 :AliDigit(),
80 fTrack(0),
81 fEvent(0),
fad64858 82 fPMNumber(PMnumber),
83 fADC(adc),
84 fTime(time),
85 fWidth(width),
86 fBBFlag(BeamBeamFlag),
87 fBGFlag(BeamGasFlag),
88 fIntegrator(0)
d0502ab2 89{
90
fad64858 91}
92//__________________________________________________________________________
93AliVZEROdigit::AliVZEROdigit(Int_t PMnumber, Int_t adc, Int_t time,
94 Int_t width, Bool_t BeamBeamFlag, Bool_t BeamGasFlag, Bool_t integrator)
95:AliDigit(),
96fTrack(0),
97fEvent(0),
98fPMNumber(PMnumber),
99fADC(adc),
100fTime(time),
101fWidth(width),
102fBBFlag(BeamBeamFlag),
103fBGFlag(BeamGasFlag),
104fIntegrator(integrator)
105{
106
d0502ab2 107}
108
109//__________________________________________________________________________
8db56859 110void AliVZEROdigit::Print(const Option_t*) const
111{
d0502ab2 112 // Dumps digit object
113
8db56859 114 Dump();
115}
47890cd3 116
117