1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 ////////////////////////////////////////////////
19 // RecPoints classes for set ZDC //
20 // This class reconstructs the space //
21 // points from digits //
22 // for the ZDC calorimeter //
23 ////////////////////////////////////////////////
26 #include "AliZDCReco.h"
30 //_____________________________________________________________________________
31 AliZDCReco::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)
37 // Standard constructor
46 fNDetSpecNLeft = detspnLeft;
47 fNDetSpecPLeft = detsppLeft;
48 fNDetSpecNRight = detspnRight;
49 fNDetSpecPRight = detsppRight;
58 //______________________________________________________________________________
59 void AliZDCReco::Print(Option_t *) const {
61 // Printing Reconstruction Parameters
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 ",
66 fZN1energy,fZP1energy,fZDC1energy,fZEMenergy,fNDetSpecNLeft,
67 fNDetSpecPLeft,fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar);