]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCSDigit.h
Coding conventions (C.Oppedisano)
[u/mrichter/AliRoot.git] / ZDC / AliZDCSDigit.h
CommitLineData
8309c1ab 1#ifndef ALIZDCSDIGIT_H
2#define ALIZDCSDIGIT_H
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///_________________________________________________________________________
9///
10///
11/// ZDC summable digit = Cerenkov light for each PM
12///
13///_________________________________________________________________________
14
15#include <TObject.h>
16
17class AliZDCSDigit : public TObject {
18
19 public:
20
21 AliZDCSDigit() ;
22 AliZDCSDigit(Int_t* sector, Float_t lightPM);
23 virtual ~AliZDCSDigit() {}
24
25 // Getters
26 Int_t GetSector(Int_t i) const {return fSector[i];}
27 Float_t GetLightPM() const {return fLightPM;}
28
29 protected:
30
31 //Data members
32 Int_t fSector[2]; // Detector and tower in which light is produced
33 Float_t fLightPM; // Cerenkov light seen by the PM
34
35 ClassDef(AliZDCSDigit, 1) // Summable digit in ZDC
36
37} ;
38
39#endif // ALIZDCSDIGIT_H
40