Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaCluster.cxx
Go to the documentation of this file.
1
2
// //
3
// THaCluster //
4
// //
5
// A generic cluster. //
6
// //
8
9
#include "
THaCluster.h
"
10
#include <iostream>
11
12
using namespace
std
;
13
14
//_____________________________________________________________________________
15
void
THaCluster::Clear
(
Option_t
* )
16
{
17
// Clear the contents of the cluster
18
19
fCenter
.
SetXYZ
(
kBig
,
kBig
,
kBig
);
20
}
21
22
//_____________________________________________________________________________
23
void
THaCluster::Print
(
Option_t
* )
const
24
{
25
// Print contents of cluster
26
27
cout <<
fCenter
.
X
() <<
" "
<<
fCenter
.
Y
() <<
" "
<<
fCenter
.
Z
() << endl;
28
29
}
30
32
ClassImp
(
THaCluster
)
kBig
const Data_t kBig
Definition
DataType.h:15
Option_t
const char Option_t
THaCluster.h
THaCluster
Definition
THaCluster.h:14
THaCluster::Print
virtual void Print(Option_t *opt="") const
Definition
THaCluster.cxx:23
THaCluster::fCenter
TVector3 fCenter
Definition
THaCluster.h:35
THaCluster::Clear
virtual void Clear(Option_t *opt="")
Definition
THaCluster.cxx:15
TVector3::Z
Double_t Z() const
TVector3::SetXYZ
void SetXYZ(Double_t x, Double_t y, Double_t z)
TVector3::Y
Double_t Y() const
TVector3::X
Double_t X() const
std
STL namespace.
ClassImp
ClassImp(TPyArg)
Podd
THaCluster.cxx
Generated by
1.9.8