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

DigiEvent Class Reference

This is the top-level event class to store the raw (digi) data. Jun 2001 Heather Kelly - revised to use TClonesArray Jan 2000 Daniel Flath - ROOT HTML comments added Dec 1999 Daniel Flath - Rewritten for GLAST Oct 25,1999 Richard Dubois - Clone from LCD version. More...

#include <DigiEvent.h>

Inheritance diagram for DigiEvent:

TObject List of all members.

Public Methods

 DigiEvent ()
virtual ~DigiEvent ()
void Clean (Option_t *option="")
void setEventId (UInt_t id)
 Access the DigiEvent number. More...

Int_t getEventId ()
void setRunId (UInt_t run)
 Access the run number. More...

Int_t getRunId ()
AcdHeadergetAcdHeader ()
 Access ACD data. More...

TClonesArray* getAcdDigi ()
 retrieve the whole TClonesArray of Acd Digi data. More...

AcdTileaddAcdTile (UInt_t id, short base=10, short used=1)
 Add a new AcdTile entry into the ACD digi array. More...

const AcdTilegetAcdTile (UInt_t id)
 retrieve a specific AcdTile - if not found, returns null User should provide a valid (Ritz) Acd id, in base 10 - where 010 == 10. More...

const AcdTilegetAcdTile (short l, short f, short r, short c)
 retrieve a specific AcdTile, based upon the layer, face, row, col, if not found returns null. More...

const AcdTilegetAcdTile (AcdId &id)
 retrieve a specific AcdTile, based upon a valid AcdId, if not found returns null. More...

TClonesArray* getXgtDigi ()
 retrieve the whole TClonesArray of XGT Digi data. More...

AcdTileaddXgt (UInt_t id, short base = 10)
 add a new AcdTile to store XGT data into the XGT digi array. More...

const AcdTilegetXgt (UInt_t id)
 retrieve a specific XGT (AcdTile), if not found, returns null User should provide valid (Ritz) XGT id in base 10: 2000, 2001, 2010, 2011. More...

CalHeadergetCalHeader ()
 Access CAL data. More...

TClonesArray* getCalDigi ()
 retrieve the whole TClonesArray of Cal Digi data. More...

CalLogaddCalLog ()
 Add a new CalLog entry into the CAL digi array. More...

const CalLoggetCalLog (LogId &id)
 retrieve a specific CalLog based on LogId, if not found returns null. More...

const CalLoggetCalLog (UShort_t tower, UShort_t layer, UShort_t column)
 retrieve a specific CalLog based on tower, layer, column, if not found returns null. More...

TkrHeadergetTkrHeader ()
 Access TKR data. More...

TObjArray* getTkrDigi ()
 retrieve the whole TObjArray of Tkr Digi Data. More...

void addTkrLayer (TkrLayer *layer)
 Add a TkrLayer entry into the TKR data array. More...

const TkrLayergetTkrLayer (unsigned int layerNum)
 retrieve a specific layer of data, identified by Layer Number. More...

L1TgetL1T ()
 Access Level 1 Trigger data. More...

LiveTimegetLiveTime ()

Private Attributes

UInt_t m_run
 Run number. More...

UInt_t m_eventId
 Event Number. More...

L1T m_L1T
 Store Level 1 trigger. More...

TClonesArray* m_AcdDigiVec
 data members to store ACD data. More...

Int_t m_numTiles
AcdHeader m_AcdHeader
TClonesArray* m_XgtDigiVec
 data members to store XGT data. More...

Int_t m_numXgts
TClonesArray* m_CalDigiVec
 data members to store CAL data. More...

Int_t m_numLogs
CalHeader m_CalHeader
TObjArray* m_TkrDigiVec
Int_t m_numLayers
TkrHeader m_TkrHeader
LiveTime m_liveTime
 store LiveTime counter data. More...


Static Private Attributes

TClonesArray* m_staticAcdDigiVec
TClonesArray* m_staticXgtDigiVec
TClonesArray* m_staticCalDigiVec
TObjArray* m_staticTkrDigiVec
 data members to store TKR data. More...


Detailed Description

This is the top-level event class to store the raw (digi) data. Jun 2001 Heather Kelly - revised to use TClonesArray Jan 2000 Daniel Flath - ROOT HTML comments added Dec 1999 Daniel Flath - Rewritten for GLAST Oct 25,1999 Richard Dubois - Clone from LCD version.

Definition at line 31 of file DigiEvent.h.


Constructor & Destructor Documentation

DigiEvent::DigiEvent ( )
 

DigiEvent::~DigiEvent ( ) [virtual]
 

Definition at line 44 of file DigiEvent.cxx.


Member Function Documentation

void DigiEvent::Clean ( Option_t * option = "" )
 

Definition at line 68 of file DigiEvent.cxx.

AcdTile * DigiEvent::addAcdTile ( UInt_t id,
short base = 10,
short used = 1 )
 

Add a new AcdTile entry into the ACD digi array.

Definition at line 90 of file DigiEvent.cxx.

CalLog * DigiEvent::addCalLog ( )
 

Add a new CalLog entry into the CAL digi array.

Definition at line 149 of file DigiEvent.cxx.

void DigiEvent::addTkrLayer ( TkrLayer * layer )
 

Add a TkrLayer entry into the TKR data array.

Definition at line 180 of file DigiEvent.cxx.

AcdTile * DigiEvent::addXgt ( UInt_t id,
short base = 10 )
 

add a new AcdTile to store XGT data into the XGT digi array.

Definition at line 129 of file DigiEvent.cxx.

TClonesArray * DigiEvent::getAcdDigi ( ) [inline]
 

retrieve the whole TClonesArray of Acd Digi data.

Definition at line 89 of file DigiEvent.h.

AcdHeader * DigiEvent::getAcdHeader ( ) [inline]
 

Access ACD data.

Definition at line 87 of file DigiEvent.h.

const AcdTile * DigiEvent::getAcdTile ( AcdId & id )
 

retrieve a specific AcdTile, based upon a valid AcdId, if not found returns null.

Definition at line 120 of file DigiEvent.cxx.

const AcdTile * DigiEvent::getAcdTile ( short l,
short f,
short r,
short c )
 

retrieve a specific AcdTile, based upon the layer, face, row, col, if not found returns null.

Definition at line 110 of file DigiEvent.cxx.

const AcdTile * DigiEvent::getAcdTile ( UInt_t id )
 

retrieve a specific AcdTile - if not found, returns null User should provide a valid (Ritz) Acd id, in base 10 - where 010 == 10.

Definition at line 100 of file DigiEvent.cxx.

TClonesArray * DigiEvent::getCalDigi ( ) [inline]
 

retrieve the whole TClonesArray of Cal Digi data.

Definition at line 111 of file DigiEvent.h.

CalHeader * DigiEvent::getCalHeader ( ) [inline]
 

Access CAL data.

Definition at line 109 of file DigiEvent.h.

const CalLog * DigiEvent::getCalLog ( UShort_t tower,
UShort_t layer,
UShort_t column )
 

retrieve a specific CalLog based on tower, layer, column, if not found returns null.

Definition at line 169 of file DigiEvent.cxx.

const CalLog * DigiEvent::getCalLog ( LogId & id )
 

retrieve a specific CalLog based on LogId, if not found returns null.

Definition at line 159 of file DigiEvent.cxx.

Int_t DigiEvent::getEventId ( ) [inline]
 

Definition at line 80 of file DigiEvent.h.

L1T * DigiEvent::getL1T ( ) [inline]
 

Access Level 1 Trigger data.

Definition at line 129 of file DigiEvent.h.

LiveTime * DigiEvent::getLiveTime ( ) [inline]
 

Definition at line 131 of file DigiEvent.h.

Int_t DigiEvent::getRunId ( ) [inline]
 

Definition at line 84 of file DigiEvent.h.

TObjArray * DigiEvent::getTkrDigi ( ) [inline]
 

retrieve the whole TObjArray of Tkr Digi Data.

Definition at line 122 of file DigiEvent.h.

TkrHeader * DigiEvent::getTkrHeader ( ) [inline]
 

Access TKR data.

Definition at line 120 of file DigiEvent.h.

const TkrLayer * DigiEvent::getTkrLayer ( unsigned int layerNum )
 

retrieve a specific layer of data, identified by Layer Number.

Definition at line 185 of file DigiEvent.cxx.

const AcdTile * DigiEvent::getXgt ( UInt_t id )
 

retrieve a specific XGT (AcdTile), if not found, returns null User should provide valid (Ritz) XGT id in base 10: 2000, 2001, 2010, 2011.

Definition at line 139 of file DigiEvent.cxx.

TClonesArray * DigiEvent::getXgtDigi ( ) [inline]
 

retrieve the whole TClonesArray of XGT Digi data.

Definition at line 101 of file DigiEvent.h.

void DigiEvent::setEventId ( UInt_t id ) [inline]
 

Access the DigiEvent number.

Definition at line 79 of file DigiEvent.h.

void DigiEvent::setRunId ( UInt_t run ) [inline]
 

Access the run number.

Definition at line 83 of file DigiEvent.h.


Member Data Documentation

TClonesArray * DigiEvent::m_AcdDigiVec [private]
 

data members to store ACD data.

Definition at line 44 of file DigiEvent.h.

AcdHeader DigiEvent::m_AcdHeader [private]
 

Definition at line 47 of file DigiEvent.h.

TClonesArray * DigiEvent::m_CalDigiVec [private]
 

data members to store CAL data.

Definition at line 55 of file DigiEvent.h.

CalHeader DigiEvent::m_CalHeader [private]
 

Definition at line 58 of file DigiEvent.h.

L1T DigiEvent::m_L1T [private]
 

Store Level 1 trigger.

Definition at line 39 of file DigiEvent.h.

TObjArray * DigiEvent::m_TkrDigiVec [private]
 

Definition at line 62 of file DigiEvent.h.

TkrHeader DigiEvent::m_TkrHeader [private]
 

Definition at line 64 of file DigiEvent.h.

TClonesArray * DigiEvent::m_XgtDigiVec [private]
 

data members to store XGT data.

Definition at line 50 of file DigiEvent.h.

UInt_t DigiEvent::m_eventId [private]
 

Event Number.

Definition at line 36 of file DigiEvent.h.

LiveTime DigiEvent::m_liveTime [private]
 

store LiveTime counter data.

Definition at line 68 of file DigiEvent.h.

Int_t DigiEvent::m_numLayers [private]
 

Definition at line 63 of file DigiEvent.h.

Int_t DigiEvent::m_numLogs [private]
 

Definition at line 56 of file DigiEvent.h.

Int_t DigiEvent::m_numTiles [private]
 

Definition at line 45 of file DigiEvent.h.

Int_t DigiEvent::m_numXgts [private]
 

Definition at line 51 of file DigiEvent.h.

UInt_t DigiEvent::m_run [private]
 

Run number.

Definition at line 34 of file DigiEvent.h.

TClonesArray * DigiEvent::m_staticAcdDigiVec [static, private]
 

Definition at line 46 of file DigiEvent.h.

TClonesArray * DigiEvent::m_staticCalDigiVec [static, private]
 

Definition at line 57 of file DigiEvent.h.

TObjArray * DigiEvent::m_staticTkrDigiVec [static, private]
 

data members to store TKR data.

Definition at line 61 of file DigiEvent.h.

TClonesArray * DigiEvent::m_staticXgtDigiVec [static, private]
 

Definition at line 52 of file DigiEvent.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 14 20:41:47 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000