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

AcdDigiAlg Class Reference

Algorithm to convert from hit data into digitization data for the ACD. This algorithm does the work of creating the AcdDigi objects and storing them in the TDS. More...

#include <AcdDigiAlg.h>

Inheritance diagram for AcdDigiAlg:

Algorithm List of all members.

Public Methods

 AcdDigiAlg (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 Attributes

double m_lowThresholdGeV
 activates PHA. More...

double m_highThresholdGeV
 CNO. More...

double m_vetoThresholdGeV
 nominal veto signal. More...

double m_adcChannelsPerGeV
 conversion from energy to ADC channels. More...

std::string m_xmlFile
 input XML file containing parameters for Digitization. More...


Detailed Description

Algorithm to convert from hit data into digitization data for the ACD. This algorithm does the work of creating the AcdDigi objects and storing them in the TDS.

Original Author: Heather Kelly

Definition at line 19 of file AcdDigiAlg.h.


Constructor & Destructor Documentation

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

Constructor of this form must be provided.

Definition at line 36 of file AcdDigiAlg.cpp.


Member Function Documentation

StatusCode AcdDigiAlg::execute ( )
 

mandatory.

The execute method will be called once per event. In this case, the IRF data for the ACD tiles will be retrieved and an ACDDigi object will be created for each detection.

Definition at line 81 of file AcdDigiAlg.cpp.

StatusCode AcdDigiAlg::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, in this case from an IRF. This call asks for an IrfAcdHitVector to be given the variable name IrfAcd. We are asking the event data service, eventSvc(), to provide the data located at "/Event/Irf/IrfAcdHits" which denotes the location of the acd detector data in our Gaudi Event Model.

Definition at line 147 of file AcdDigiAlg.cpp.

StatusCode AcdDigiAlg::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 49 of file AcdDigiAlg.cpp.


Member Data Documentation

double AcdDigiAlg::m_adcChannelsPerGeV [private]
 

conversion from energy to ADC channels.

Definition at line 41 of file AcdDigiAlg.h.

double AcdDigiAlg::m_highThresholdGeV [private]
 

CNO.

Definition at line 37 of file AcdDigiAlg.h.

double AcdDigiAlg::m_lowThresholdGeV [private]
 

activates PHA.

Definition at line 35 of file AcdDigiAlg.h.

double AcdDigiAlg::m_vetoThresholdGeV [private]
 

nominal veto signal.

Definition at line 39 of file AcdDigiAlg.h.

std::string AcdDigiAlg::m_xmlFile [private]
 

input XML file containing parameters for Digitization.

Definition at line 44 of file AcdDigiAlg.h.


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