Changeset 9347 for trunk/MagicSoft/Mars/msimcamera/MSimSignalCam.cc
- Timestamp:
- 02/18/09 12:07:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimSignalCam.cc
r9274 r9347 35 35 // MPhotonEvent 36 36 // MPhotonStatistics 37 // [TriggerPos [MParameterD]] 37 38 // 38 39 // Output Containers: … … 90 91 91 92 fTrigger = (MParameterD*)pList->FindObject("TriggerPos", "MParameterD"); 93 /* 92 94 if (!fTrigger) 93 95 { … … 95 97 return kFALSE; 96 98 } 97 99 */ 98 100 fSignal = (MSignalCam*)pList->FindCreateObj("MSignalCam"); 99 101 if (!fSignal) … … 111 113 { 112 114 const UInt_t npix = fSignal->GetNumPixels(); 115 116 if (npix==0) 117 { 118 *fLog << err << "ERROR - MSignalCam has 0 entries. Presumably MGeomApply::ReInit not done." << endl; 119 return kFALSE; 120 } 113 121 114 122 if (fCont.GetSize()!=npix) … … 163 171 // What about events with trigger<0? 164 172 const Float_t trig = fTrigger && fTrigger->GetVal()>=0 ? fTrigger->GetVal() : 0; 165 const Float_t first = fStat->GetTimeFirst()+trig /*+50+40*/;173 const Float_t first = fStat->GetTimeFirst()+trig; 166 174 167 175 // Loop over all pixels and set signal and arrival time.
Note:
See TracChangeset
for help on using the changeset viewer.