/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all *; * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ /* $Id$ */ //////////////////////////////////////////////// // RecPoints classes for set ZDC // // This class reconstructs the space // // points from digits // // for the ZDC calorimeter // //////////////////////////////////////////////// #include "AliZDCReco.h" ClassImp(AliZDCReco) //_____________________________________________________________________________ AliZDCReco::AliZDCReco(Float_t ezn1, Float_t ezp1, Float_t ezdc1, Float_t ezem, Float_t ezn2, Float_t ezp2, Float_t ezdc2, Int_t detspnLeft, Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight, Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b) { // // Standard constructor // fZN1energy = ezn1; fZP1energy = ezp1; fZDC1energy = ezdc1; fZN2energy = ezn2; fZP2energy = ezp2; fZDC2energy = ezdc2; fZEMenergy = ezem; fNDetSpecNLeft = detspnLeft; fNDetSpecPLeft = detsppLeft; fNDetSpecNRight = detspnRight; fNDetSpecPRight = detsppRight; fNTrueSpecN = trspn; fNTrueSpecP = trspp; fNTrueSpec = trsp; fNPart = part; fImpPar = b; } //______________________________________________________________________________ void AliZDCReco::Print(Option_t *) const { // // Printing Reconstruction Parameters // printf(" --- Reconstruction -> EZN = %f TeV, EZP = %f TeV, EZDC = %f TeV," " EZEM = %f GeV \n NDetSpecN = %d, NDetSpecP = %d, Nspecn = %d," " Nspecp = %d, Npart = %d, b = %f fm.\n ", fZN1energy,fZP1energy,fZDC1energy,fZEMenergy,fNDetSpecNLeft, fNDetSpecPLeft,fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar); }