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