Changeset 2372
- Timestamp:
- 10/02/03 23:00:51 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2370 r2372 2 2 3 3 4 2003/10/02: Thomas Bretz 5 6 * mraw/MRawEvtData.cc: 7 - changed Draw so that also lo-gains are displayed.2 8 9 10 4 11 2003/10/01: Nicola Galante 5 12 … … 18 25 19 26 2003/09/30: Robert Wagner 27 20 28 * mfileio/MCT1ReadPreProc.cc 21 29 - undone change from 2003/09/26 … … 55 63 56 64 2003/09/26: Robert Wagner 65 57 66 * mfileio/MCT1ReadPreProc.cc 58 67 - provisionally pass complete event time to fTime container, … … 62 71 63 72 2003/09/25: Abelardo Moralejo 73 64 74 * macros/MagicHillas.C, star.C 65 - Added cast: TArrayF w(15,(Float_t*)x) 75 - Added cast: TArrayF w(15,(Float_t*)x) to get rid of warning. 66 76 67 77 68 78 69 79 2003/09/24: Abelardo Moralejo 80 70 81 * macros/MagicHillas.C, star.C 71 82 - Added const qualifier to TArrayF w(15,x); I got a crash due to … … 132 143 'if' by a 'switch' and slightly corrected text of warning (no 133 144 change in performance or results). 145 146 134 147 135 148 2003/09/16: Abelardo Moralejo … … 152 165 correctly implemented, so this should not introduce any change 153 166 in the analysis of present or old MC files. 167 168 154 169 155 170 2003/09/12: Thomas Bretz -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2264 r2372 258 258 *fLog << " of " << (int)GetNumPixels() << "Pixels" << endl; 259 259 260 TGraph *graph = new TGraph;260 TGraph *graphhi = new TGraph; 261 261 262 262 for (int i=0; i<nh; i++) 263 graph->SetPoint(graph->GetN(), i, higains[i]); 264 265 graph->SetMaximum(256); 266 graph->SetMinimum(0); 267 268 graph->SetBit(kCanDelete); 269 graph->Draw(same ? "C*" : "AC*"); 270 271 TH1F *hist = graph->GetHistogram(); 272 273 hist->SetXTitle("Time/FADC Slices"); 274 hist->SetYTitle("Signal/FADC Units"); 263 graphhi->SetPoint(graphhi->GetN(), i, higains[i]); 264 265 graphhi->SetMaximum(256); 266 graphhi->SetMinimum(0); 267 268 graphhi->SetBit(kCanDelete); 269 graphhi->Draw(same ? "C*" : "AC*"); 270 271 TH1F *histhi = graphhi->GetHistogram(); 272 273 histhi->SetXTitle("Time/FADC Slices"); 274 histhi->SetYTitle("Signal/FADC Units"); 275 276 if (nl>0) 277 { 278 TGraph *graphlo = new TGraph; 279 280 for (int i=0; i<nl; i++) 281 graphlo->SetPoint(graphlo->GetN(), i, logains[i]); 282 283 graphlo->SetMaximum(256); 284 graphlo->SetMinimum(0); 285 graphlo->SetLineColor(kBlue); 286 287 graphlo->SetBit(kCanDelete); 288 graphlo->Draw("C*"); 289 290 TH1F *histlo = graphlo->GetHistogram(); 291 292 histlo->SetXTitle("Time/FADC Slices"); 293 histlo->SetYTitle("Signal/FADC Units"); 294 } 275 295 276 296 return; … … 291 311 histh->Draw(same ? "same" : ""); 292 312 293 if (n h>0)313 if (nl>0) 294 314 { 295 315 TH1F *histl = new TH1F(name+";2", "FADC Samples", nl, -0.5, nl-.5);
Note:
See TracChangeset
for help on using the changeset viewer.