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

TDSReadFluxAlg Class Reference

Takes the data relatives to the incoming particle from the TDS and write the output in files. More...

List of all members.

Public Methods

 TDSReadFluxAlg (const std::string &name, ISvcLocator *pSvcLocator)
 A constructor of this type has to be provide.

StatusCode initialize ()
 Initializes the Algorithm. More...

StatusCode execute ()
 This method reads the data from the Transient Data Store. More...

StatusCode finalize ()


Detailed Description

Takes the data relatives to the incoming particle from the TDS and write the output in files.

This method accesses to the transient data store to retrive information about the incoming particles (mother particles) and about their trigger status and their reconstruction. From the TDS:

Author:
Nicola Omodei nicola.omodei@pi.infn.it , Francesco Longo francesco.longo@ts.infn.it , Sandhia Bansal sandhiab@lheapop.gsfc.nasa.gov


Member Function Documentation

StatusCode TDSReadFluxAlg::execute  
 

This method reads the data from the Transient Data Store.

After having retrived the data from the TDS this method flags the events following a trigger mask:

    ////////////////////////////////////////////////////////////////////////
    //                          RECONSTRUCTED DATA                        //
    // Trigger fag      |   triggered   |    energy>0   | #track > 0      // 
    //          0       |       0       |       0       |       0         //
    //          1       |       1       |       0       |       0         //
    //          3       |       1       |       1       |       0         //
    //          5       |       1       |       0       |       1         //
    //          7       |       1       |       1       |       1         //
    ////////////////////////////////////////////////////////////////////////
    

The data relative to the incoming particles will be stored in a ROOT Tree named "events.root" Their Trigger flag will be 0 The data realtive to the reconstructed particles together with the trigger flag, will be stored in a ROOT Tree named in "events_recon.root"

StatusCode TDSReadFluxAlg::finalize  
 

Save all the outoput data and close the files.

The data relative to the incoming particles will be saved in "Events.root" The data realtive to the reconstructed particles together with the trigger flag, will be saved in "Events_recon.root"

StatusCode TDSReadFluxAlg::initialize  
 

Initializes the Algorithm.

It sets the correct pointers and builds a root tree for saving the data


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001