GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OFT Class Reference

Adapter to plug the Orsay's forward tracking code. More...

Inheritance diagram for OFT:

Public Member Functions

 ClassDef (OFT, 0)
 Root dictionary related. More...
 
 ClassDef (GammaTracker, 0)
 Root dictionary related. More...
 
virtual Int_t DoTracking ()
 to track the gamma-rays More...
 
Double_t GetDistFactor () const
 Internal unit system for lengths and energies. More...
 
Double_t GetEnerFactor () const
 
virtual const Double_t * GetInputDE () const
 
virtual const Double_t * GetInputDX () const
 
virtual const Double_t * GetInputDY () const
 
virtual const Double_t * GetInputDZ () const
 
virtual const Double_t * GetInputE () const
 
virtual UInt_t GetInputN () const
 
virtual const Double_t * GetInputX () const
 
virtual const Double_t * GetInputY () const
 
virtual const Double_t * GetInputZ () const
 
Double_t GetMaxImpacts () const
 
virtual const Double_t * GetOutputE () const
 
virtual UInt_t GetOutputN () const
 
virtual const Double_t * GetOutputPhi1 () const
 
virtual const Double_t * GetOutputPhi2 () const
 
virtual const Double_t * GetOutputTheta1 () const
 
virtual const Double_t * GetOutputTheta2 () const
 
 OFT (const char *name="OFT", const char *title="Orsay's forward tracking program")
 
virtual void SetDistFactor (Double_t f)
 
virtual void SetEnerFactor (Double_t f)
 
virtual UInt_t SetEvent (UInt_t n, const Double_t *e, const Double_t *x, const Double_t *y, const Double_t *z, Double_t efactor=1.0, Double_t pfactor=1.0)
 
virtual void SetPacking ()
 
virtual void SetSmearing ()
 
void ShowCurrentEvent ()
 
virtual ~OFT ()
 

Static Public Member Functions

static GammaTrackerGetTracker (const char *classname)
 Interface to get a new tracker. More...
 
static bool IsTracker (const char *classname)
 To know if a tracker is already loaded. More...
 
static bool Load (const char *classname, const char *pathtopackage, const char *libraryname)
 To load an interface to a particular tracker. More...
 

Protected Attributes

Double_t * InputDE
 energies More...
 
Double_t * InputDX
 Z positions. More...
 
Double_t * InputDY
 DX positions. More...
 
Double_t * InputDZ
 DY positions. More...
 
Double_t * InputE
 

of impacts

More...
 
UInt_t InputN
 Units for energies. More...
 
Double_t * InputX
 errors on energies More...
 
Double_t * InputY
 X positions. More...
 
Double_t * InputZ
 Y positions. More...
 
Double_t * OutputE
 

of reconstructed gamma-rays

More...
 
UInt_t OutputN
 DZ positions. More...
 
Double_t * OutputPhi1
 incoming direction (theta) of the reconstructed gamma-rays More...
 
Double_t * OutputPhi2
 direction (theta) of the first scattered gamma-ray for polarisation More...
 
Double_t * OutputTheta1
 energies of the reconstructed gamma-rays More...
 
Double_t * OutputTheta2
 incoming direction (phi) of the reconstructed gamma-rays More...
 

Detailed Description

Adapter to plug the Orsay's forward tracking code.

This class is an interface for the first version of the code. it is not the one that will be implemented in the Agata DAQ. You should ask the tracking team leader for this version of the code.
To load the tracking code in a ROOT session:
Gw::GammaTracker::Load("OFT","/Path/to/the/directory/where/is/the/package/","libtracking.so");

Check out that the tracker is loaded:
Gw::GammaTracker::IsTracker("OFT") returns true if everything is all right.
You are now ready to track with this tracker. see FirstTracking.C to see how to proceed.

Definition at line 21 of file OFTAdapter.C.


The documentation for this class was generated from the following file: