AliRoot Core
edcc906 (edcc906)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AliSurveyPoint.cxx
Go to the documentation of this file.
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
17
// //
18
// class AliSurveyPoint //
19
// Retrieve and Convert survey data into ROOT Objects //
20
// //
22
23
#include "
AliSurveyPoint.h
"
24
25
ClassImp(
AliSurveyPoint
)
26
27
//_____________________________________________________________________________
28
AliSurveyPoint
::
AliSurveyPoint
():
29
fPointName(""),
30
fX(0.0),
31
fY(0.0),
32
fZ(0.0),
33
fPrecisionX(0.0),
34
fPrecisionY(0.0),
35
fPrecisionZ(0.0),
36
fType(' '),
37
fTargetUsed(kTRUE)
38
{
39
// Constructor
40
41
}
42
43
//_____________________________________________________________________________
44
AliSurveyPoint::AliSurveyPoint
(TString name, Float_t x, Float_t y,
45
Float_t z, Float_t precX, Float_t precY,
46
Float_t precZ, Char_t type, Bool_t Target):
47
fPointName(name),
48
fX(x),
49
fY(y),
50
fZ(z),
51
fPrecisionX(precX),
52
fPrecisionY(precY),
53
fPrecisionZ(precZ),
54
fType(type),
55
fTargetUsed(Target)
56
{
57
// Constructor
58
59
}
60
61
//_____________________________________________________________________________
62
AliSurveyPoint::~AliSurveyPoint
() {
63
//destructor
64
65
}
66
67
//_____________________________________________________________________________
68
void
AliSurveyPoint::PrintPoint
() {
69
// Prints X, Y and Z coordinates of the point
70
printf
(
"Point Coordinates \"%s\": %f %f %f\n"
, (
const
char
*)
fPointName
,
fX
,
fY
,
fZ
);
71
return
;
72
}
73
printf
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
AliSurveyPoint::fZ
Float_t fZ
Definition:
AliSurveyPoint.h:45
AliSurveyPoint::PrintPoint
void PrintPoint()
Definition:
AliSurveyPoint.cxx:68
AliSurveyPoint::fPointName
TString fPointName
Definition:
AliSurveyPoint.h:42
AliSurveyPoint::fX
Float_t fX
Definition:
AliSurveyPoint.h:43
AliSurveyPoint.h
AliSurveyPoint
Definition:
AliSurveyPoint.h:17
AliSurveyPoint::~AliSurveyPoint
virtual ~AliSurveyPoint()
Definition:
AliSurveyPoint.cxx:62
AliSurveyPoint::fY
Float_t fY
Definition:
AliSurveyPoint.h:44
AliSurveyPoint::AliSurveyPoint
AliSurveyPoint()
Definition:
AliSurveyPoint.cxx:28
STEER
STEER
AliSurveyPoint.cxx
Generated on Wed May 2 2018 18:14:19 for AliRoot Core by
1.8.11