Fix coding convention violation
[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
88cb7938 16/* $Id$ */
a9e2aefa 17
18#include "AliMUONDigit.h"
19
20ClassImp(AliMUONDigit)
21//_____________________________________________________________________________
22AliMUONDigit::AliMUONDigit(Int_t *digits)
23{
24 //
25 // Creates a MUON digit object to be updated
26 //
27 fPadX = digits[0];
28 fPadY = digits[1];
a450cfad 29 fCathode = digits[2];
30 fSignal = digits[3];
31 fPhysics = digits[4];
32 fHit = digits[5];
a9e2aefa 33
34}
35//_____________________________________________________________________________
36AliMUONDigit::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];
a450cfad 43 fCathode = digits[2];
44 fSignal = digits[3];
45 fPhysics = digits[4];
46 fHit = digits[5];
47
cb73aa80 48 for(Int_t i=0; i<kMAXTRACKS; i++) {
a9e2aefa 49 fTcharges[i] = charges[i];
50 fTracks[i] = tracks[i];
51 }
52}
53
54AliMUONDigit::~AliMUONDigit()
55{
56 // Destructor
57}