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

chip.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           chip.h  -  description
00003                              -------------------
00004     begin                : Fri Feb 8 2002
00005     copyright            : (C) 2002 by Robert Morse
00006     email                : r.morse@sussex.ac.uk
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef CHIP_H
00011 #define CHIP_H
00012 #include "RootHeaders.h"
00013 #include "channel.h"
00014 
00015 
00016 class Chip {
00017 
00018  protected:
00019 
00020   Channel *channels[22];
00021   Int_t chip_no;
00022 
00023  public:
00024   Chip(Int_t chip_number);
00025 
00026   void Clean();
00027   void AddStats(Int_t in_channel, Int_t new_entries, Double_t new_mean, Double_t new_rms);
00028   void SetStats(Int_t in_channel, Int_t new_entries, Double_t new_mean, Double_t new_rms);
00029 
00030   Int_t GetEntries(Int_t in_channel);
00031   Double_t GetMean(Int_t in_channel);
00032   Double_t GetRMS(Int_t in_channel);
00033 
00034   void CleanChannel(Int_t in_channel);
00035   void FillMeanHist(TH1F *meanhist);
00036 };
00037 
00038 #endif

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