Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BlockEvent.h

Go to the documentation of this file.
00001 
00002 // $Id: BlockEvent.h,v 1.3 2005/02/22 21:44:43 bspeak Exp $
00003 //
00004 // Author: B. Speakman 2004.09.03
00005 //
00007 #ifndef BLOCKEVENT_H
00008 #define BLOCKEVENT_H
00009 
00010 #include "TObject.h"
00011 
00012 class ChipEvent;
00013 class TClonesArray;
00014 
00015 class BlockEvent: public TObject {
00016  public:
00017   BlockEvent();
00018  ~BlockEvent();
00019   void Reset();
00020   virtual void LocalReset() {return;}
00021 
00022   ChipEvent* ChipGen(Char_t Crate,
00023                      Char_t Varc,
00024                      Char_t Vmm,
00025                      Char_t Vadc,
00026                      Char_t Vachip=-1,
00027                      Char_t Vachan=-1);
00028 
00029   int IChip(Char_t Crate,
00030             Char_t Varc,
00031             Char_t Vmm,
00032             Char_t Vadc,
00033             Char_t Vachip=-1,
00034             Char_t Vachan=-1);
00035 
00036   bool IsFilled();
00037   void GenerateAllChips();
00038   void CheckChips();
00039 
00040   UInt_t RunNum;
00041   UChar_t SubRunNum;
00042 
00043   UInt_t Time;
00044 
00045   TClonesArray *ChipEvents;
00046 
00047   ClassDef(BlockEvent, 1);
00048 };
00049 #endif

Generated on Mon Feb 15 11:06:26 2010 for loon by  doxygen 1.3.9.1