]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONDigit.cxx
removed assert
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.cxx
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 /* $Id$ */
17
18 #include "AliMUONDigit.h"
19
20 ClassImp(AliMUONDigit)
21 //_____________________________________________________________________________
22 AliMUONDigit::AliMUONDigit(Int_t *digits)
23 {
24   //
25   // Creates a MUON digit object to be updated
26   //
27     fPadX        = digits[0];
28     fPadY        = digits[1];
29     fCathode     = digits[2];
30     fSignal      = digits[3];
31     fPhysics     = digits[4];
32     fHit         = digits[5];
33
34 }
35 //_____________________________________________________________________________
36 AliMUONDigit::AliMUONDigit(Int_t *tracks, Int_t *charges, Int_t *digits)
37 {
38     //
39     // Creates a MUON digit object
40     //
41     fPadX        = digits[0];
42     fPadY        = digits[1];
43     fCathode     = digits[2];
44     fSignal      = digits[3];
45     fPhysics     = digits[4];
46     fHit         = digits[5];
47
48     for(Int_t i=0; i<kMAXTRACKS; i++) {
49         fTcharges[i]  = charges[i];
50         fTracks[i]    = tracks[i];
51     }
52 }
53
54 AliMUONDigit::~AliMUONDigit()
55 {
56     // Destructor 
57 }