]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCMergedHit.cxx
Changes needed by the ZDC calibration (A.Colla)
[u/mrichter/AliRoot.git] / ZDC / AliZDCMergedHit.cxx
CommitLineData
1acbaaa8 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
803d1ab0 16/* $Id$ */
1acbaaa8 17
3ff116f2 18//
1acbaaa8 19////////////////////////////////////////////////
20// MergedHits classes for set ZDC //
21////////////////////////////////////////////////
3ff116f2 22//
1acbaaa8 23
24#include "AliZDCMergedHit.h"
25#include "AliRun.h"
26
27ClassImp(AliZDCMergedHit)
28
29//_____________________________________________________________________________
30AliZDCMergedHit::AliZDCMergedHit(Int_t *sector, Float_t *mhits)
31{
32 //
33 // Add a ZDC hit for merging
34 //
35 Int_t i;
36 for(i=0; i<2; i++) {
37 fSector[i] = sector[i];
38 }
39 fPrimKinEn = mhits[0];
40 fXImpact = mhits[1];
41 fYImpact = mhits[2];
42 fSFlag = mhits[3];
43 fLightPMQ = mhits[4];
44 fLightPMC = mhits[5];
45 fEnergy = mhits[6];
46
47}