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
15using namespace std;
16
17//_____________________________________________________________________________
19{
20 // Reset per-event data.
21
22 fX = fY = fPathl = fdX = kBig;
23 fChannel = -1;
24 fIsOK = false;
25}
26
27//_____________________________________________________________________________
28void 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//_____________________________________________________________________________
41
const Data_t kBig
Definition DataType.h:15
const char Option_t
virtual void Print(Option_t *opt="") const
Double_t fdX
Double_t fY
Double_t fX
Double_t fPathl
virtual void Clear(Option_t *opt="")
virtual void Print(Option_t *option="") const
STL namespace.
ClassImp(TPyArg)