#include <side.h>
Public Member Functions | |
| Side (Int_t side_number) | |
| void | Clean () |
| void | CleanChannel (Int_t in_plane, Int_t in_chip, Int_t in_channel) |
| void | AddStats (Int_t in_plane, Int_t in_chip, Int_t in_channel, Int_t new_entries, Double_t new_mean, Double_t new_rms) |
| void | SetStats (Int_t in_plane, Int_t in_chip, Int_t in_channel, Int_t new_entries, Double_t new_mean, Double_t new_rms) |
| Int_t | GetEntries (Int_t in_plane, Int_t in_chip, Int_t in_channel) |
| Double_t | GetMean (Int_t in_plane, Int_t in_chip, Int_t in_channel) |
| Double_t | GetRMS (Int_t in_plane, Int_t in_chip, Int_t in_channel) |
| Double_t | GetMean (Int_t plane, Int_t strip) |
| Double_t | GetRMS (Int_t plane, Int_t strip) |
| Int_t | GetEntries (Int_t plane, Int_t strip) |
| Int_t | GetStrip (Int_t plane, Int_t chip, Int_t channel, Int_t led) |
| void | RemoveDemons (Int_t box, Int_t led) |
| void | FillMeanHist (TH1F *meanhist) |
| void | FillStripHist (Int_t box, Int_t led, TH2F *ratiohist) |
| void | FillChipHist (TH2F *chiphist) |
Protected Attributes | |
| Plane * | planes [500] |
| Int_t | side_no |
|
|
Definition at line 22 of file side.h.
|
|
||||||||||||||||||||||||||||
|
Definition at line 51 of file side.cxx. References Plane::AddStats(), planes, and side_no. Referenced by Detector::AddStats(). 00051 {
00052
00053 if(in_plane < 0)
00054 in_plane =0;
00055
00056 if(planes[in_plane] == 0)
00057 planes[in_plane] = new Plane(side_no,in_plane);
00058 planes[in_plane]->AddStats(in_chip,in_channel,new_entries,new_mean,new_rms);
00059
00060 };
|
|
|
Definition at line 44 of file side.cxx. References Plane::Clean(), and planes. Referenced by Detector::Clean(), and RemoveDemons().
|
|
||||||||||||||||
|
Definition at line 85 of file side.cxx. References Plane::CleanChannel(), and planes. 00085 {
00086 if(planes[in_plane] != 0)
00087 planes[in_plane]->CleanChannel(in_chip,in_channel);
00088 };
|
|
|
Definition at line 115 of file side.cxx. References Plane::FillChipHist(), and planes. Referenced by Detector::FillChipHist(). 00115 {
00116 for(Int_t n=0;n<256;n++)
00117 if(planes[n]!=0)
00118 planes[n]->FillChipHist(chiphist);
00119
00120 }
|
|
|
Definition at line 35 of file side.cxx. References Plane::FillMeanHist(), and planes. Referenced by Detector::FillMeanHist(). 00035 {
00036 for(Int_t n=0;n<256;n++)
00037 if(planes[n]!=0)
00038 planes[n]->FillMeanHist(meanhist);
00039
00040 };
|
|
||||||||||||||||
|
Definition at line 14 of file side.cxx. References Plane::FillStripHist(), and planes. Referenced by Detector::FillStripHist(). 00014 {
00015
00016 for(Int_t n=0;n<256;n++)
00017 if(planes[n]!=0)
00018 planes[n]->FillStripHist(box,led,ratiohist);
00019 };
|
|
||||||||||||
|
Definition at line 107 of file side.cxx. References Plane::GetEntries(), and planes. 00107 {
00108
00109 if(planes[plane] !=0)
00110 return planes[plane]->GetEntries(strip);
00111 return 0;
00112
00113 };
|
|
||||||||||||||||
|
Definition at line 67 of file side.cxx. References Plane::GetEntries(), and planes. Referenced by Detector::GetEntries(). 00067 {
00068 if(planes[in_plane] != 0)
00069 return planes[in_plane]->GetEntries(in_chip,in_channel);
00070 return 0;
00071 };
|
|
||||||||||||
|
Definition at line 91 of file side.cxx. References Plane::GetMean(), and planes. 00091 {
00092
00093 if(planes[plane] !=0)
00094 return planes[plane]->GetMean(strip);
00095 return 0;
00096
00097 };
|
|
||||||||||||||||
|
Definition at line 73 of file side.cxx. References Plane::GetMean(), and planes. Referenced by Detector::GetMean(). 00073 {
00074 if(planes[in_plane] != 0)
00075 return planes[in_plane]->GetMean(in_chip,in_channel);
00076 return 0;
00077 };
|
|
||||||||||||
|
Definition at line 99 of file side.cxx. References Plane::GetRMS(), and planes. 00099 {
00100
00101 if(planes[plane] !=0)
00102 return planes[plane]->GetRMS(strip);
00103 return 0;
00104
00105 };
|
|
||||||||||||||||
|
Definition at line 78 of file side.cxx. References Plane::GetRMS(), and planes. Referenced by Detector::GetRMS(). 00078 {
00079 if(planes[in_plane] != 0)
00080 return planes[in_plane]->GetRMS(in_chip,in_channel);
00081 return 0;
00082 };
|
|
||||||||||||||||||||
|
Definition at line 123 of file side.cxx. References Plane::GetStrip(), and planes. Referenced by Detector::GetStrip(). 00123 {
00124 if(planes[plane]!=0)
00125 return planes[plane]->GetStrip(chip,channel,led);
00126 return -1;
00127 };
|
|
||||||||||||
|
Definition at line 24 of file side.cxx. References Clean(), planes, and Plane::RemoveDemons(). Referenced by Detector::RemoveDemons(). 00024 {
00025
00026 if( box%2 == side_no){
00027 for(Int_t n=0;n<256;n++)
00028 if(planes[n]!=0)
00029 planes[n]->RemoveDemons(box,led);
00030 }
00031 else
00032 Clean();
00033 };
|
|
||||||||||||||||||||||||||||
|
Definition at line 61 of file side.cxx. References planes, Plane::SetStats(), and side_no. Referenced by Detector::SetStats(). 00061 {
00062 if(planes[in_plane] == 0)
00063 planes[in_plane] = new Plane(side_no, in_plane);
00064 planes[in_plane]->SetStats(in_chip,in_channel,new_entries,new_mean,new_rms);
00065 };
|
|
|
Definition at line 17 of file side.h. Referenced by AddStats(), Clean(), CleanChannel(), FillChipHist(), FillMeanHist(), FillStripHist(), GetEntries(), GetMean(), GetRMS(), GetStrip(), RemoveDemons(), and SetStats(). |
|
|
Definition at line 18 of file side.h. Referenced by AddStats(), and SetStats(). |
1.3.9.1