]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTransientDigit.h
Changing name of libRAW into libRAWData
[u/mrichter/AliRoot.git] / MUON / AliMUONTransientDigit.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONTRANSIENTDIGIT_H
2#define ALIMUONTRANSIENTDIGIT_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
30178c30 8// Revision of includes 07/05/2004
a9e2aefa 9
10#include "AliMUONDigit.h"
30178c30 11
12class TObjArray;
a9e2aefa 13
53af523e 14class AliMUONTransientDigit : public AliMUONDigit
15{
16 public:
30178c30 17 AliMUONTransientDigit();
a9e2aefa 18 AliMUONTransientDigit(Int_t rpad, Int_t *digits);
19 virtual ~AliMUONTransientDigit();
53af523e 20
380da863 21 Int_t Chamber() const {return fChamber;}
22 Int_t GetNTracks() const {return fTrackList->GetEntriesFast();}
23 Int_t GetTrack(Int_t i) const;
24 Int_t GetCharge(Int_t i) const;
4b98e7b8 25 void AddToTrackList(Int_t track, Int_t charge);
26 void UpdateTrackList(Int_t track, Int_t charge);
a9e2aefa 27
53af523e 28 protected:
30178c30 29 AliMUONTransientDigit(const AliMUONTransientDigit& digit);
30 AliMUONTransientDigit & operator =(const AliMUONTransientDigit & rhs);
31
53af523e 32 Int_t fChamber; // chamber number of pad
33 TObjArray *fTrackList; // List of tracks contributing
34
35 ClassDef(AliMUONTransientDigit,1) // Transient digit for MUON
a9e2aefa 36};
37#endif
38