New macro for generating MC OCDB for PbPb.
[u/mrichter/AliRoot.git] / VZERO / AliVZEROSDigit.h
CommitLineData
1a3d5c7e 1#ifndef ALIVZEROSDIGIT_H
2#define ALIVZEROSDIGIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include "AliDigit.h"
7
8//_____________________________________________________________________________
9class AliVZEROSDigit: public AliDigit {
10
11 public:
12 AliVZEROSDigit();
13 AliVZEROSDigit(Int_t pmnumber,
14 Int_t nbins,
15 Float_t *charges,
16 Int_t *labels = 0);
72da5ce8 17 virtual ~AliVZEROSDigit();
1a3d5c7e 18 virtual void Print(const Option_t* option="") const;
19
20 Int_t PMNumber() const {return fPMNumber;}
72da5ce8 21 Int_t GetNBins() const {return fNBins;}
22 Float_t*GetCharges() const {return fCharges;}
1a3d5c7e 23
24 private:
72da5ce8 25 AliVZEROSDigit(const AliVZEROSDigit& /*sdigit*/);
26 AliVZEROSDigit& operator = (const AliVZEROSDigit& /*sdigit*/);
27
1a3d5c7e 28 Int_t fPMNumber; // PhotoMultiplier number (0 to 63)
29 Int_t fNBins; // Number of charge bins
30 Float_t*fCharges; //[fNBins] Array with charges
31
32 ClassDef(AliVZEROSDigit,1) // VZERO SDigit class
33};
34
35#endif