X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=VZERO%2FAliVZEROdigit.h;h=cd13bc25cd94943f3f2a13656240ead09e417e39;hp=985da02537996e072c565751a7e3f493a7e90dd8;hb=57c7500a9a41963917316cbedce38f84432207a0;hpb=47890cd397de5938f4c382744651beb700f29fbd diff --git a/VZERO/AliVZEROdigit.h b/VZERO/AliVZEROdigit.h index 985da025379..cd13bc25cd9 100644 --- a/VZERO/AliVZEROdigit.h +++ b/VZERO/AliVZEROdigit.h @@ -1,27 +1,48 @@ -#ifndef VZERODIGIT_H -#define VZERODIGIT_H +#ifndef ALIVZERODIGIT_H +#define ALIVZERODIGIT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "AliDigit.h" -#include "AliVZERO.h" -//___________________________________________ +//_____________________________________________________________________________ class AliVZEROdigit: public AliDigit { public: - Int_t fEvent; // Event number - Int_t fMulti; // Multiplicity of charged particles - Int_t fTrack; - Int_t fNCerenkovs; - - public: - AliVZEROdigit() {} + AliVZEROdigit(); AliVZEROdigit(Int_t* tracks, Int_t* digits); - virtual ~AliVZEROdigit() {} - - ClassDef(AliVZEROdigit,1) //Digit (Header) object for set : VZERO + AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */); + AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */, + Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */); + AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */, + Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */, Bool_t /* Integrator */); + virtual ~AliVZEROdigit() {}; + virtual void Print(const Option_t* option="") const; + + Int_t PMNumber() const {return fPMNumber;} + Float_t ADC() const {return fADC;} + Float_t Time() const {return fTime;} + Float_t Width() const {return fWidth;} + Bool_t BBFlag() const {return fBBFlag;} + Bool_t BGFlag() const {return fBGFlag;} + Bool_t Integrator() const {return fIntegrator;} + + private: + Int_t fTrack; // Track number + + protected: + Int_t fEvent; // Event number + Int_t fPMNumber; // PhotoMultiplier number (0 to 63) + Float_t fADC; // ADC response + Float_t fTime; // Time of Flight + Float_t fWidth; // Width of the time distribution + Bool_t fBBFlag; // Beam-Beam Flag given by Yannick in Raw Data only + Bool_t fBGFlag; // Beam-Gas Flag given by Yannick in Raw Data only + Bool_t fIntegrator; // Integrator used + + ClassDef(AliVZEROdigit,3) //Digit (Header) object for set : VZERO }; + #endif