Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

TMBL1CTT.hpp

Go to the documentation of this file.
00001 
00002 //
00003 //   Purpose: This is the header file that defines a class to help fill the 
00004 //            tuple correctly with L1 CTT information.  
00005 //
00006 //   Author: Joshua M. Dyer
00007 //   Date:   22-Apr-2003
00008 //
00010 
00011 #ifndef TMBL1CTT_H_
00012 #define TMBL1CTT_H_
00013 
00014 #include "TObject.h"
00015 
00019 class TMBL1CTT : public TObject 
00020 {  
00021 public:
00022   TMBL1CTT(); //constructor
00023   
00024   ~TMBL1CTT() {;} //destructor
00025   
00026   // accessors
00027   void NTracks (int x) {ntracks = x;}
00028   void CPS (int x, int i) {cps[i] = x;}
00029   void Occup (int x, int i) {occup[i] = x;}
00030   
00031   int NTracks() const {return ntracks;}
00032 
00033   const int *CPS() const {return cps;}
00034   int CPS(int i) const {return cps[i];}
00035   const int *Occup() const {return occup;}
00036   int Occup(int i) const {return occup[i];}
00037 
00038 private:
00039   int ntracks;
00040   int cps[80];
00041   int occup[80];
00042 
00043   ClassDef(TMBL1CTT,1)
00044     
00045 }; //end of class
00046 #endif // TMBL1CTT_H_

Generated on Tue Mar 28 10:13:04 2006 for CAF by doxygen 1.3.4