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

AcdReconDigiAlg Class Reference

#include <AcdReconDigiAlg.h>

Inheritance diagram for AcdReconDigiAlg:

Algorithm List of all members.

Public Methods

 AcdReconDigiAlg (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...

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

double DOCA (const Point &x0, const Vector &dir, std::vector<double> &doca_values)
 Distance of Closest Approach - using center of tiles. More...

double hitTileDist (const Point &x0, const Vector &dir)
 New algorithms from Bill Atwood to determine distance using the edges of tiles. More...


Private Attributes

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
AcdDigiVector* m_AcdData
std::map<int, Point> m_tileCenters
std::map<int, Vector> m_tileDims
std::map<int, double> m_vetoThresh
int m_numSideRows
std::string m_xmlFileStr
std::string m_vetoThreshFileStr

Constructor & Destructor Documentation

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

Constructor of this form must be provided.

Definition at line 41 of file AcdReconDigiAlg.cxx.


Member Function Documentation

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

Distance of Closest Approach - using center of tiles.

Definition at line 366 of file AcdReconDigiAlg.cxx.

Referenced by acdTileDOCA().

StatusCode AcdReconDigiAlg::acdTileDOCA ( ) [private]
 

Definition at line 286 of file AcdReconDigiAlg.cxx.

Referenced by reconstruct().

void AcdReconDigiAlg::clear ( ) [private]
 

Definition at line 241 of file AcdReconDigiAlg.cxx.

Referenced by reconstruct().

StatusCode AcdReconDigiAlg::execute ( )
 

mandatory.

The execute method will be called once per event.

Definition at line 97 of file AcdReconDigiAlg.cxx.

StatusCode AcdReconDigiAlg::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 142 of file AcdReconDigiAlg.cxx.

void AcdReconDigiAlg::getParameters ( ) [private]
 

Retrieve parameters from the instrument.xml file.

Definition at line 152 of file AcdReconDigiAlg.cxx.

Referenced by initialize().

double AcdReconDigiAlg::hitTileDist ( const Point & x0,
const Vector & dir ) [private]
 

New algorithms from Bill Atwood to determine distance using the edges of tiles.

Definition at line 405 of file AcdReconDigiAlg.cxx.

Referenced by acdTileDOCA().

StatusCode AcdReconDigiAlg::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 56 of file AcdReconDigiAlg.cxx.

void AcdReconDigiAlg::readThresholds ( ) [private]
 

Definition at line 221 of file AcdReconDigiAlg.cxx.

Referenced by initialize().

StatusCode AcdReconDigiAlg::reconstruct ( const AcdDigiVector * v ) [private]
 

Definition at line 252 of file AcdReconDigiAlg.cxx.

Referenced by execute().

StatusCode AcdReconDigiAlg::writeNTuple ( ) [private]
 

write our ACD ntuple items.

Definition at line 473 of file AcdReconDigiAlg.cxx.

Referenced by reconstruct().


Member Data Documentation

AcdDigiVector * AcdReconDigiAlg::m_AcdData [private]
 

Definition at line 79 of file AcdReconDigiAlg.h.

double AcdReconDigiAlg::m_DOCA [private]
 

Definition at line 76 of file AcdReconDigiAlg.h.

double AcdReconDigiAlg::m_act_dist [private]
 

Definition at line 76 of file AcdReconDigiAlg.h.

double AcdReconDigiAlg::m_gammaDOCA [private]
 

Definition at line 76 of file AcdReconDigiAlg.h.

IGlastDetSvc * AcdReconDigiAlg::m_glastDetSvc [private]
 

access to the Glast Detector Service.

Definition at line 73 of file AcdReconDigiAlg.h.

int AcdReconDigiAlg::m_numSideRows [private]
 

Definition at line 85 of file AcdReconDigiAlg.h.

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

Definition at line 77 of file AcdReconDigiAlg.h.

std::map< int,Point > AcdReconDigiAlg::m_tileCenters [private]
 

Definition at line 81 of file AcdReconDigiAlg.h.

double AcdReconDigiAlg::m_tileCount [private]
 

Definition at line 76 of file AcdReconDigiAlg.h.

std::map< int,Vector > AcdReconDigiAlg::m_tileDims [private]
 

Definition at line 82 of file AcdReconDigiAlg.h.

double AcdReconDigiAlg::m_totEnergy [private]
 

Definition at line 76 of file AcdReconDigiAlg.h.

std::string AcdReconDigiAlg::m_tupleName [private]
 

name of the ntuple for i/o.

Definition at line 68 of file AcdReconDigiAlg.h.

std::map< int,double > AcdReconDigiAlg::m_vetoThresh [private]
 

Definition at line 83 of file AcdReconDigiAlg.h.

std::string AcdReconDigiAlg::m_vetoThreshFileStr [private]
 

Definition at line 87 of file AcdReconDigiAlg.h.

std::string AcdReconDigiAlg::m_xmlFileStr [private]
 

Definition at line 87 of file AcdReconDigiAlg.h.

INTupleWriterSvc * AcdReconDigiAlg::ntupleWriteSvc [private]
 

access to our ntuple writing service.

Definition at line 70 of file AcdReconDigiAlg.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