]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCSDigit.h
Add class to access simulation parameters, AliEMCALSimParam, to be set in configurati...
[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///
9f4f3539 11/// ZDC summable digit = Cerenkov light for each PM + time info
8309c1ab 12///
13///_________________________________________________________________________
14
15#include <TObject.h>
16
17class AliZDCSDigit : public TObject {
18
19 public:
20
21 AliZDCSDigit() ;
9f4f3539 22 AliZDCSDigit(Int_t* sector, Float_t lightPM, Float_t trackTime);
8309c1ab 23 virtual ~AliZDCSDigit() {}
24
25 // Getters
26 Int_t GetSector(Int_t i) const {return fSector[i];}
27 Float_t GetLightPM() const {return fLightPM;}
9f4f3539 28 Float_t GetTrackTime() const {return fTrackTime;}
8309c1ab 29
30 protected:
31
32 //Data members
33 Int_t fSector[2]; // Detector and tower in which light is produced
34 Float_t fLightPM; // Cerenkov light seen by the PM
9f4f3539 35 Float_t fTrackTime; // Track TOF propagated from hits
8309c1ab 36
9f4f3539 37 ClassDef(AliZDCSDigit, 2) // Summable digit in ZDC
8309c1ab 38
39} ;
40
41#endif // ALIZDCSDIGIT_H
42