Changeset 9312 for trunk/MagicSoft/Mars/melectronics
- Timestamp:
- 02/10/09 20:00:10 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/melectronics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/melectronics/MPulseShape.cc
r9280 r9312 127 127 Clear(); 128 128 fSpline = new MSpline3(g);//, fRunHeader->GetFreqSampling()/1000.); 129 fSpline->SetTitle("MPulseShape"); 129 130 130 131 // FIXME: Make a boundary condition e1b1,0,0 (First der, at Xmin and Xmax==0) … … 146 147 Clear(); 147 148 fSpline = new MSpline3(f);//, fRunHeader->GetFreqSampling()/1000.); 149 fSpline->SetTitle("MPulseShape"); 148 150 149 151 // FIXME: Make a boundary condition e1b1,0,0 (First der, at Xmin and Xmax==0) … … 200 202 return rc; 201 203 } 204 205 void MPulseShape::Paint(Option_t *) 206 { 207 fSpline->SetMarkerStyle(kFullDotMedium); 208 209 if (!fSpline->GetHistogram()) 210 fSpline->Paint(); 211 212 TH1 *h = fSpline->GetHistogram(); 213 if (!h) 214 return; 215 216 h->SetXTitle("t [ns]"); 217 h->SetYTitle("a.u."); 218 219 fSpline->Paint("PC"); 220 } -
trunk/MagicSoft/Mars/melectronics/MPulseShape.h
r9274 r9312 36 36 37 37 void Clear(Option_t *o=""); 38 void Paint(Option_t *o=""); 38 39 39 40 MSpline3 *GetSpline() const { return fSpline; } … … 43 44 Float_t GetXmax() const; 44 45 45 ClassDef(MPulseShape, 0) // Parameter container to hold the setup for a pulse shape46 ClassDef(MPulseShape, 1) // Parameter container to hold the setup for a pulse shape 46 47 }; 47 48
Note:
See TracChangeset
for help on using the changeset viewer.