Empty default constructors and.
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.cxx
CommitLineData
a9e2aefa 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
18Revision 1.1.2.1 2000/06/09 22:03:22 morsch
19Was before in DataStructures.cxx
20
21*/
22
23#include "AliMUONDigit.h"
24
25ClassImp(AliMUONDigit)
26//_____________________________________________________________________________
27AliMUONDigit::AliMUONDigit(Int_t *digits)
28{
29 //
30 // Creates a MUON digit object to be updated
31 //
32 fPadX = digits[0];
33 fPadY = digits[1];
34 fSignal = digits[2];
35 fPhysics = digits[3];
36 fHit = digits[4];
37
38}
39//_____________________________________________________________________________
40AliMUONDigit::AliMUONDigit(Int_t *tracks, Int_t *charges, Int_t *digits)
41{
42 //
43 // Creates a MUON digit object
44 //
45 fPadX = digits[0];
46 fPadY = digits[1];
47 fSignal = digits[2];
48 fPhysics = digits[3];
49 fHit = digits[4];
50 for(Int_t i=0; i<10; i++) {
51 fTcharges[i] = charges[i];
52 fTracks[i] = tracks[i];
53 }
54}
55
56AliMUONDigit::~AliMUONDigit()
57{
58 // Destructor
59}