]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZEROdigit.h
GPU update from David Rohr
[u/mrichter/AliRoot.git] / VZERO / AliVZEROdigit.h
CommitLineData
f359b593 1#ifndef ALIVZERODIGIT_H
2#define ALIVZERODIGIT_H
47890cd3 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8#include "AliDigit.h"
47890cd3 9
b2501ea3 10//_____________________________________________________________________________
47890cd3 11class AliVZEROdigit: public AliDigit {
12
47890cd3 13 public:
6905601e 14 AliVZEROdigit();
47890cd3 15 AliVZEROdigit(Int_t* tracks, Int_t* digits);
db0db003 16 AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */);
17 AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */,
18 Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */);
19 AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */,
20 Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */, Bool_t /* Integrator */);
b2501ea3 21 virtual ~AliVZEROdigit() {};
8db56859 22 virtual void Print(const Option_t* option="") const;
23
db0db003 24 Int_t PMNumber() const {return fPMNumber;}
25 Float_t ADC() const {return fADC;}
26 Float_t Time() const {return fTime;}
27 Float_t Width() const {return fWidth;}
28 Bool_t BBFlag() const {return fBBFlag;}
29 Bool_t BGFlag() const {return fBGFlag;}
30 Bool_t Integrator() const {return fIntegrator;}
d0502ab2 31
f359b593 32 private:
6905601e 33 Int_t fTrack; // Track number
34
35 protected:
db0db003 36 Int_t fEvent; // Event number
37 Int_t fPMNumber; // PhotoMultiplier number (0 to 63)
38 Float_t fADC; // ADC response
39 Float_t fTime; // Time of Flight
40 Float_t fWidth; // Width of the time distribution
41 Bool_t fBBFlag; // Beam-Beam Flag given by Yannick in Raw Data only
42 Bool_t fBGFlag; // Beam-Gas Flag given by Yannick in Raw Data only
43 Bool_t fIntegrator; // Integrator used
6905601e 44
fad64858 45 ClassDef(AliVZEROdigit,3) //Digit (Header) object for set : VZERO
47890cd3 46};
f359b593 47
47890cd3 48#endif