]>
Commit | Line | Data |
---|---|---|
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 | ||
28 | ClassImp(AliZDCReco) | |
29 | ||
30 | //_____________________________________________________________________________ | |
31 | AliZDCReco::AliZDCReco(Float_t ezn, Float_t ezp, Float_t ezdc, Float_t ezem, | |
32 | Int_t detspn, Int_t detspp, Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b) | |
33 | { | |
93f80a6f | 34 | // |
35 | // Standard constructor | |
36 | // | |
1450a7cd | 37 | fZNenergy = ezn; |
38 | fZPenergy = ezp; | |
39 | fZDCenergy = ezdc; | |
40 | fZEMenergy = ezem; | |
41 | fNDetSpecN = detspn; | |
42 | fNDetSpecP = detspp; | |
43 | fNTrueSpecN = trspn; | |
44 | fNTrueSpecP = trspp; | |
45 | fNTrueSpec = trsp; | |
46 | fNPart = part; | |
47 | fImpPar = b; | |
48 | ||
49 | } | |
93f80a6f | 50 | |
51 | //______________________________________________________________________________ | |
52 | void AliZDCReco::Print(Option_t *) const { | |
53 | // | |
54 | // Printing Reconstruction Parameters | |
55 | // | |
56 | printf(" --- Reconstruction -> EZN = %f TeV, EZP = %f TeV, EZDC = %f TeV," | |
57 | " EZEM = %f GeV \n NDetSpecN = %d, NDetSpecP = %d, Nspecn = %d," | |
58 | " Nspecp = %d, Npart = %d, b = %f fm.\n ", | |
59 | fZNenergy,fZPenergy,fZDCenergy,fZEMenergy,fNDetSpecN,fNDetSpecP, | |
60 | fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar); | |
61 | } |