Implementation of Trigger simulation (Raphael Tieulent)
[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
13 public:
6905601e 14 AliVZEROdigit();
47890cd3 15 AliVZEROdigit(Int_t* tracks, Int_t* digits);
d0502ab2 16 AliVZEROdigit(Int_t /* PMnumber */, Int_t /* ADC */, Int_t /* Time */);
17 AliVZEROdigit(Int_t /* PMnumber */, Int_t /* ADC */, Int_t /* Time */,
18 Int_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */);
fad64858 19 AliVZEROdigit(Int_t /* PMnumber */, Int_t /* ADC */, Int_t /* Time */,
20 Int_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
d0502ab2 24 Int_t PMNumber() const {return fPMNumber;}
25 Int_t ADC() const {return fADC;}
26 Int_t Time() const {return fTime;}
27 Int_t Width() const {return fWidth;}
28 Bool_t BBFlag() const {return fBBFlag;}
29 Bool_t BGFlag() const {return fBGFlag;}
fad64858 30 Bool_t Integrator() const {return fIntegrator;}
d0502ab2 31
f359b593 32 private:
6905601e 33 Int_t fTrack; // Track number
34
35 protected:
36 Int_t fEvent; // Event number
d0502ab2 37 Int_t fPMNumber; // PhotoMultiplier number (0 to 63)
6905601e 38 Int_t fADC; // ADC response
7caec66b 39 Int_t fTime; // Time of Flight
d0502ab2 40 Int_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
fad64858 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