]>
Commit | Line | Data |
---|---|---|
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 | // // | |
18 | // Date : August 05 2003 // | |
19 | // // | |
20 | // Store recpoints for ALICE-PMD // | |
21 | // // | |
22 | //-----------------------------------------------------// | |
23 | ||
24 | #include "AliPMDrecpoint1.h" | |
25 | #include <stdio.h> | |
26 | ||
27 | ClassImp(AliPMDrecpoint1) | |
28 | ||
29 | AliPMDrecpoint1::AliPMDrecpoint1() | |
30 | { | |
31 | for (Int_t i = 0; i < 7; i++) | |
32 | { | |
33 | fClusData[i] = 0.; | |
34 | } | |
35 | } | |
36 | ||
37 | AliPMDrecpoint1::AliPMDrecpoint1(Float_t *clusdata) | |
38 | { | |
39 | for (Int_t i = 0; i < 7; i++) | |
40 | { | |
41 | fClusData[i] = clusdata[i]; | |
42 | } | |
43 | } | |
44 | AliPMDrecpoint1::~AliPMDrecpoint1() | |
45 | { | |
46 | ||
47 | } | |
48 | ||
49 | Float_t AliPMDrecpoint1::GetDetector() const | |
50 | { | |
51 | return fClusData[0]; | |
52 | } | |
53 | Float_t AliPMDrecpoint1::GetSMNumber() const | |
54 | { | |
55 | return fClusData[1]; | |
56 | } | |
57 | Float_t AliPMDrecpoint1::GetClusX() const | |
58 | { | |
59 | return fClusData[2]; | |
60 | } | |
61 | ||
62 | Float_t AliPMDrecpoint1::GetClusY() const | |
63 | { | |
64 | return fClusData[3]; | |
65 | } | |
66 | ||
67 | Float_t AliPMDrecpoint1::GetClusADC() const | |
68 | { | |
69 | return fClusData[4]; | |
70 | } | |
71 | Float_t AliPMDrecpoint1::GetClusCells() const | |
72 | { | |
73 | return fClusData[5]; | |
74 | } | |
75 | Float_t AliPMDrecpoint1::GetClusRadius() const | |
76 | { | |
77 | return fClusData[6]; | |
78 | } | |
79 | ||
80 |