Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaTrackProj.cxx
Go to the documentation of this file.
1
//*-- Author : Robert Feuerbach 17-Oct-2003
2
4
// //
5
// THaTrackProj //
6
// //
7
// Track coordinates projected to a (non-tracking) detector plane //
8
// Optionally holds detector block/paddle/PMT number and position residual //
9
// //
11
12
#include "
THaTrackProj.h
"
13
#include <iostream>
14
15
using namespace
std
;
16
17
//_____________________________________________________________________________
18
void
THaTrackProj::Clear
(
Option_t
* )
19
{
20
// Reset per-event data.
21
22
fX
=
fY
=
fPathl
=
fdX
=
kBig
;
23
fChannel
= -1;
24
fIsOK
=
false
;
25
}
26
27
//_____________________________________________________________________________
28
void
THaTrackProj::Print
(
Option_t
* opt )
const
29
{
30
// Print track projection info
31
32
TObject::Print
(opt);
33
cout <<
"X/Y/dX = "
<<
fX
<<
"/"
<<
fY
<<
"/"
<<
fdX
<<
" m"
34
<< endl
35
<<
"pathl/chan/good = "
<<
fPathl
<<
"/"
<<
fChannel
<<
"/"
<<
fIsOK
36
<< endl;
37
}
38
39
//_____________________________________________________________________________
40
ClassImp
(
THaTrackProj
)
41
kBig
const Data_t kBig
Definition
DataType.h:15
Option_t
const char Option_t
THaTrackProj.h
THaTrackProj
Definition
THaTrackProj.h:13
THaTrackProj::Print
virtual void Print(Option_t *opt="") const
Definition
THaTrackProj.cxx:28
THaTrackProj::fdX
Double_t fdX
Definition
THaTrackProj.h:42
THaTrackProj::fY
Double_t fY
Definition
THaTrackProj.h:40
THaTrackProj::fChannel
Int_t fChannel
Definition
THaTrackProj.h:43
THaTrackProj::fX
Double_t fX
Definition
THaTrackProj.h:39
THaTrackProj::fIsOK
Bool_t fIsOK
Definition
THaTrackProj.h:44
THaTrackProj::fPathl
Double_t fPathl
Definition
THaTrackProj.h:41
THaTrackProj::Clear
virtual void Clear(Option_t *opt="")
Definition
THaTrackProj.cxx:18
TObject::Print
virtual void Print(Option_t *option="") const
std
STL namespace.
ClassImp
ClassImp(TPyArg)
Podd
THaTrackProj.cxx
Generated by
1.9.8