]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCReco.cxx
Modifications needed to do the following:
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.cxx
CommitLineData
1450a7cd 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$ */
1450a7cd 17
18////////////////////////////////////////////////
19// RecPoints classes for set ZDC //
93f80a6f 20// This class reconstructs the space //
21// points from digits //
22// for the ZDC calorimeter //
1450a7cd 23////////////////////////////////////////////////
24
25
26#include "AliZDCReco.h"
27
28ClassImp(AliZDCReco)
29
30//_____________________________________________________________________________
980685f2 31AliZDCReco::AliZDCReco(Float_t ezn1, Float_t ezp1, Float_t ezdc1, Float_t ezem,
32 Float_t ezn2, Float_t ezp2, Float_t ezdc2,
33 Int_t detspnLeft, Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight,
34 Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b)
1450a7cd 35{
93f80a6f 36 //
37 // Standard constructor
38 //
980685f2 39 fZN1energy = ezn1;
40 fZP1energy = ezp1;
41 fZDC1energy = ezdc1;
42 fZN2energy = ezn2;
43 fZP2energy = ezp2;
44 fZDC2energy = ezdc2;
1450a7cd 45 fZEMenergy = ezem;
980685f2 46 fNDetSpecNLeft = detspnLeft;
47 fNDetSpecPLeft = detsppLeft;
48 fNDetSpecNRight = detspnRight;
49 fNDetSpecPRight = detsppRight;
1450a7cd 50 fNTrueSpecN = trspn;
51 fNTrueSpecP = trspp;
52 fNTrueSpec = trsp;
53 fNPart = part;
54 fImpPar = b;
55
56}
93f80a6f 57
58//______________________________________________________________________________
59void AliZDCReco::Print(Option_t *) const {
60 //
61 // Printing Reconstruction Parameters
62 //
63 printf(" --- Reconstruction -> EZN = %f TeV, EZP = %f TeV, EZDC = %f TeV,"
64 " EZEM = %f GeV \n NDetSpecN = %d, NDetSpecP = %d, Nspecn = %d,"
65 " Nspecp = %d, Npart = %d, b = %f fm.\n ",
980685f2 66 fZN1energy,fZP1energy,fZDC1energy,fZEMenergy,fNDetSpecNLeft,
67 fNDetSpecPLeft,fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar);
93f80a6f 68}