Changeset 9425 for trunk/MagicSoft/Mars/msimcamera/MSimCalibrationSignal.cc
- Timestamp:
- 04/16/09 12:04:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimCalibrationSignal.cc
r9378 r9425 61 61 62 62 #include "MGeomCam.h" 63 #include "MP ulseShape.h"63 #include "MParSpline.h" 64 64 #include "MTriggerPattern.h" 65 65 … … 136 136 } 137 137 138 fPulse = (MP ulseShape*)pList->FindObject("MPulseShape");138 fPulse = (MParSpline*)pList->FindObject("PulseShape", "MParSpline"); 139 139 if (!fPulse) 140 140 { 141 *fLog << err << " MPulsShapenot found... aborting." << endl;141 *fLog << err << "PulsShape [MParSpline] not found... aborting." << endl; 142 142 return kFALSE; 143 143 } … … 173 173 } 174 174 175 // FIXME: Is there a way to write them as LAST entry in the file? 175 176 fRunHeader->SetReadyToSave(); 176 177 … … 195 196 for (UInt_t idx=0; idx<fGeom->GetNumPixels(); idx++) 196 197 { 198 // FIXME: Scale number of photons with the pixel size! 197 199 const Int_t num = TMath::Nint(gRandom->Gaus(fNumPhotons, fNumPhotons/10)); 198 200 … … 229 231 // Length (ns), Pulse position (Units ns) 230 232 const Float_t pp = fPulsePos->GetVal(); 231 const Float_t pw = fPulse->Get PulseWidth();233 const Float_t pw = fPulse->GetWidth(); 232 234 233 235 const Float_t first = cnt>0 ? fEvt->GetFirst()->GetTime() : 0;
Note:
See TracChangeset
for help on using the changeset viewer.