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

EventModel.h

Go to the documentation of this file.
00001 // $Id: EventModel.h,v 1.18 2001/06/15 19:34:52 heather Exp $
00002 
00003 #ifndef _H_GlastEvent_EventModel_
00004 #define _H_GlastEvent_EventModel_
00005 
00006 /* Definition of the event structure in the Transient Data Store.
00007  *  
00008  * Only two levels in the logical path are foreseen at present, 
00009  *   /event/<namespace>/<leave>  e.g. /Event/MC/McVertices
00010  * 
00011  * Convention:
00012  *  If the <leave> object is a
00013  *  DataObject    use name of corresponding class
00014  *  Container     use name of ContainedObject class in plural
00015  *                or append 'Vec' to the name, e.g. use
00016  *                McVertices or McVertexVec
00017  *                
00018  *
00019  * @author : adapted from LHCb EventModel
00020  * @author   I. Gable
00021  * @author   S. Gillespie
00022  * @author   T. H.-Kozanecka
00023  */ 
00024 
00025 // Include files
00026 #include <string>
00027 
00028 #if defined(_GlastEvent_EventModel_CPP_)
00029 #define  _EXTERN_ 
00030 #else
00031 #define  _EXTERN_ extern
00032 #endif
00033 
00034 /*  The following names will be corrected in next releases
00035  *    McParticle    becomes   McParticles
00036  *    McVertex      becomes   McVertices
00037  *    AcdDigi       becomes   AcdDigis
00038  */  
00039     namespace EventModel {
00040         _EXTERN_ std::string   Event;
00041 
00042         namespace MC {
00043             _EXTERN_ std::string Event;
00044             _EXTERN_ std::string McVertexCol;
00045             _EXTERN_ std::string McParticleCol;
00046             _EXTERN_ std::string McPositionHits;
00047             _EXTERN_ std::string McIntegratingHits;
00048         }
00049 
00050         namespace Digi {
00051             _EXTERN_ std::string Event;
00052             _EXTERN_ std::string AcdDigis;
00053             _EXTERN_ std::string TkrDigis;
00054         }
00055 
00056         namespace Irf {
00057             _EXTERN_ std::string Event;
00058             _EXTERN_ std::string IrfTkrHits;
00059             _EXTERN_ std::string IrfCalHits;
00060             _EXTERN_ std::string IrfAcdHits;
00061         }
00062 
00063         namespace Data {
00064             _EXTERN_ std::string Event;
00065             _EXTERN_ std::string TdSiData;
00066             _EXTERN_ std::string TdCsIData;
00067             _EXTERN_ std::string TdGlastData;
00068             _EXTERN_ std::string TdVetoData;
00069         }
00070 
00071         namespace TkrRecon {
00072             _EXTERN_ std::string Event;
00073             _EXTERN_ std::string SiLayers;
00074             _EXTERN_ std::string SiClusters;
00075             _EXTERN_ std::string SiRecObjs;
00076         }
00077 
00078         namespace AcdRecon {
00079             _EXTERN_ std::string Event;
00080         }
00081     }
00082 
00083 #undef _EXTERN_
00084 #endif // GLASTEVENT_EVENTMODEL_H

Generated at Wed Nov 21 12:22:49 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000