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

LIPlane.h

Go to the documentation of this file.
00001 
00002 
00003 // Program name: LIPlane.h                        
00004 //                                                                     
00005 // Package: LISummary                                         
00006 //                                                                    
00007 // Coded by Jeff Hartnell Aug-Nov/2003          
00008 //                                                                    
00009 // Purpose: An object to store the means and gains of every
00010 //          stripend in a plane 
00011 //                                                                    
00012 // Contact: jeffrey.hartnell@physics.ox.ac.uk                         
00014 
00015 #ifndef LIPLANE_H
00016 #define LIPLANE_H
00017 
00018 #include <vector>
00019 #include <string>
00020 
00021 #include "TObject.h"
00022 
00023 #include "LISummary/LILookup.h"
00024 
00025 class LIPlane : public TObject
00026 {
00027   
00028  public:  
00029   
00030   LIPlane(Int_t firstStrip,Int_t lastStrip);
00031   ~LIPlane();
00032 
00033   //methods that do modify the object's state  
00034   void SetPoint(Int_t stripEnd,Int_t strip,Double_t adc,
00035                 Double_t gain,Double_t gainErr,Double_t numEnt);
00036 
00037   //methods that don't modify the object's state
00038   Double_t GetAdc(Int_t stripEnd,Int_t strip); 
00039   std::vector<Double_t> GetAdc(); 
00040   Double_t GetGain(Int_t stripEnd,Int_t strip); 
00041   Double_t GetGainErr(Int_t stripEnd,Int_t strip); 
00042   Double_t GetNumEnt(Int_t stripEnd,Int_t strip); 
00043 
00044  private:
00045 
00046   //methods that do modify the object's state  
00047   void InitialiseVariables(Int_t firstStrip,Int_t lastStrip);
00048 
00049   //methods that don't modify the object's state  
00050   //none
00051 
00052   //data members
00053   std::vector<Double_t> fAdc;
00054   std::vector<Double_t> fAdc2;
00055   std::vector<Double_t> fGain;
00056   std::vector<Double_t> fGain2;
00057   std::vector<Double_t> fGainErr;
00058   std::vector<Double_t> fGainErr2;
00059   std::vector<Double_t> fNumEnt;
00060   std::vector<Double_t> fNumEnt2;
00061   std::vector<Double_t> fCounter;
00062   std::vector<Double_t> fCounter2;
00063 
00064   Int_t fFirstStrip;
00065   Int_t fLed;
00066   Double_t fHighestPh;//ph at highest required adc
00067   Double_t fHighestPin;//pin adc at highest required adc
00068   Int_t fLastStrip;
00069   Double_t fLowestPh;//ph at lowest required adc
00070   Double_t fLowestPin;//pin adc at lowest required adc
00071   Double_t fMaxPin;
00072   Double_t fMaxPin2;
00073   Double_t fMinAdc;
00074   Double_t fMaxAdc;
00075   Int_t fPulserBox;
00076   std::string fS;
00077 
00078   ClassDef(LIPlane,0)
00079 };
00080 
00081 #endif // LIPLANE_H

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