Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

acdReconAlg Class Reference

#include <acdReconAlg.h>

Inheritance diagram for acdReconAlg:

Algorithm List of all members.

Public Methods

 acdReconAlg (const std::string& name, ISvcLocator* pSvcLocator)
 Constructor of this form must be provided. More...

StatusCode initialize ()
 mandatory. More...

StatusCode execute ()
 mandatory. More...

StatusCode finalize ()
 mandatory. More...


Private Methods

void clear ()
void getParameters ()
 Retrieve parameters from the instrument.xml file. More...

StatusCode reconstruct (const IVetoData* v)
StatusCode acdTileDOCA ()
StatusCode writeNTuple ()
 write our ACD ntuple items. More...

double DOCA (const Point &x0, const Vector &dir, std::vector<double> &doca_values)
double hitTileDist (const Point &x0, const Vector &dir)

Private Attributes

int yNumTowers
int xNumTopTiles
int yNumTopTiles
int numSideRows
const IVetoData* m_AcdData
IVetoData::Tile m_hit_tile
std::string m_tupleName
 name of the ntuple for i/o. More...

INTupleWriterSvc* ntupleWriteSvc
 access to our ntuple writing service. More...

IGlastDetSvc* m_glastDetSvc
 access to the Glast Detector Service. More...

double m_totEnergy
double m_tileCount
double m_gammaDOCA
double m_DOCA
double m_act_dist
std::vector<double> m_rowDOCA_vec
TileParamsm_tileParams

Static Private Attributes

double threshold_energy
 variables to store instrument parameters. More...

int xNumTowers

Constructor & Destructor Documentation

acdReconAlg::acdReconAlg ( const std::string & name,
ISvcLocator * pSvcLocator )
 

Constructor of this form must be provided.

Definition at line 55 of file acdReconAlg.cxx.


Member Function Documentation

double acdReconAlg::DOCA ( const Point & x0,
const Vector & t0,
std::vector< double >& doca_values ) [private]
 

Definition at line 327 of file acdReconAlg.cxx.

Referenced by acdTileDOCA().

StatusCode acdReconAlg::acdTileDOCA ( ) [private]
 

Definition at line 236 of file acdReconAlg.cxx.

Referenced by reconstruct().

void acdReconAlg::clear ( ) [private]
 

Definition at line 192 of file acdReconAlg.cxx.

Referenced by reconstruct().

StatusCode acdReconAlg::execute ( )
 

mandatory.

The execute method will be called once per event.

Definition at line 116 of file acdReconAlg.cxx.

StatusCode acdReconAlg::finalize ( )
 

mandatory.

Causes the TDS to be searched, if the data is unavailable, the appropriate converter is called to retrieve the data from some persistent store. This call asks for the TdGlastData pointer to be given the variable name glastData. We are asking the event data service, eventSvc(), to provide the data located at "/Event/TdGlastData" which denotes the location of the glast detector data in our Gaudi Event Model.

Definition at line 162 of file acdReconAlg.cxx.

void acdReconAlg::getParameters ( ) [private]
 

Retrieve parameters from the instrument.xml file.

Definition at line 172 of file acdReconAlg.cxx.

Referenced by initialize().

double acdReconAlg::hitTileDist ( const Point & x0,
const Vector & t0 ) [private]
 

Definition at line 363 of file acdReconAlg.cxx.

Referenced by acdTileDOCA().

StatusCode acdReconAlg::initialize ( )
 

mandatory.

The initialize method will be called once at the very beginning of the run, while everything is being initialized before the event loop begins. Any setup necessary will be done here.

Definition at line 68 of file acdReconAlg.cxx.

StatusCode acdReconAlg::reconstruct ( const IVetoData * v ) [private]
 

Definition at line 202 of file acdReconAlg.cxx.

Referenced by execute().

StatusCode acdReconAlg::writeNTuple ( ) [private]
 

write our ACD ntuple items.

Definition at line 423 of file acdReconAlg.cxx.

Referenced by reconstruct().


Member Data Documentation

const IVetoData * acdReconAlg::m_AcdData [private]
 

Definition at line 64 of file acdReconAlg.h.

double acdReconAlg::m_DOCA [private]
 

Definition at line 78 of file acdReconAlg.h.

double acdReconAlg::m_act_dist [private]
 

Definition at line 78 of file acdReconAlg.h.

double acdReconAlg::m_gammaDOCA [private]
 

Definition at line 78 of file acdReconAlg.h.

IGlastDetSvc * acdReconAlg::m_glastDetSvc [private]
 

access to the Glast Detector Service.

Definition at line 75 of file acdReconAlg.h.

IVetoData::Tile acdReconAlg::m_hit_tile [private]
 

Definition at line 67 of file acdReconAlg.h.

std::vector< double > acdReconAlg::m_rowDOCA_vec [private]
 

Definition at line 79 of file acdReconAlg.h.

double acdReconAlg::m_tileCount [private]
 

Definition at line 78 of file acdReconAlg.h.

TileParams * acdReconAlg::m_tileParams [private]
 

Definition at line 84 of file acdReconAlg.h.

double acdReconAlg::m_totEnergy [private]
 

Definition at line 78 of file acdReconAlg.h.

std::string acdReconAlg::m_tupleName [private]
 

name of the ntuple for i/o.

Definition at line 70 of file acdReconAlg.h.

INTupleWriterSvc * acdReconAlg::ntupleWriteSvc [private]
 

access to our ntuple writing service.

Definition at line 72 of file acdReconAlg.h.

int acdReconAlg::numSideRows [private]
 

Definition at line 60 of file acdReconAlg.h.

double acdReconAlg::threshold_energy [static, private]
 

variables to store instrument parameters.

Definition at line 59 of file acdReconAlg.h.

int acdReconAlg::xNumTopTiles [private]
 

Definition at line 60 of file acdReconAlg.h.

int acdReconAlg::xNumTowers [static, private]
 

Definition at line 60 of file acdReconAlg.h.

int acdReconAlg::yNumTopTiles [private]
 

Definition at line 60 of file acdReconAlg.h.

int acdReconAlg::yNumTowers [private]
 

Definition at line 60 of file acdReconAlg.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:56 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000