]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCMergedHit.cxx
Updated some functions, and removed most all violoations.
[u/mrichter/AliRoot.git] / ZDC / AliZDCMergedHit.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 ////////////////////////////////////////////////
19 //  MergedHits classes for set ZDC            //
20 ////////////////////////////////////////////////
21
22
23 #include "AliZDCMergedHit.h"
24 #include "AliRun.h"
25
26 ClassImp(AliZDCMergedHit)
27   
28 //_____________________________________________________________________________
29 AliZDCMergedHit::AliZDCMergedHit(Int_t *sector, Float_t *mhits)
30 {
31   //
32   // Add a ZDC hit for merging
33   //
34   Int_t i;
35   for(i=0; i<2; i++) {
36      fSector[i] = sector[i];
37   }
38   fPrimKinEn    = mhits[0];
39   fXImpact      = mhits[1];
40   fYImpact      = mhits[2];
41   fSFlag        = mhits[3];
42   fLightPMQ     = mhits[4];
43   fLightPMC     = mhits[5];
44   fEnergy       = mhits[6]; 
45   
46 }