Changeset 18333 for trunk/Mars
- Timestamp:
- 09/02/15 11:13:15 (9 years ago)
- Location:
- trunk/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars
- Property svn:mergeinfo changed
/branches/MarsGapdTimeJitter (added) merged: 18106-18109,18159,18282,18331-18332
- Property svn:mergeinfo changed
-
trunk/Mars/ceres.rc
r18285 r18333 245 245 246 246 ResidualTimeSpread.Val: 0.0 247 GapdTimeJitter.Val: 0.0 247 248 248 249 # last line comment -
trunk/Mars/mjobs/MJSimulation.cc
r18280 r18333 657 657 write3af.AddContainer("IntendedPulsePos", "RunHeaders", kTRUE, 1); 658 658 write3af.AddContainer("ResidualTimeSpread", "RunHeaders", kTRUE, 1); 659 write3af.AddContainer("GapdTimeJitter", "RunHeaders", kTRUE, 1); 659 660 write3af.AddContainer("MRawEvtData", "Events"); 660 661 write3af.AddContainer("MTruePhotonsPerPixelCont", "Events"); … … 739 740 resTimeSpread.SetVal(0.0); 740 741 plist.AddToList(&resTimeSpread); 742 743 // ------------------------------------------------------------------- 744 745 // Jens Buss on: residual time spread 746 MParameterD gapdTimeJitter("GapdTimeJitter"); 747 gapdTimeJitter.SetVal(0.0); 748 plist.AddToList(&gapdTimeJitter); 741 749 742 750 // ------------------------------------------------------------------- -
trunk/Mars/msimcamera/MSimCamera.cc
r18129 r18333 188 188 } 189 189 190 // Get GapdTimeJitter from parameter list 191 fGapdTimeJitter = (MParameterD*)pList->FindObject("GapdTimeJitter"); 192 if (!fGapdTimeJitter) 193 { 194 *fLog << err << "GapdTimeJitter [MParameterD] not found... aborting." << endl; 195 return kFALSE; 196 } 197 190 198 // Create it here to make sure that MGeomApply will set the correct size 191 199 fElectronicNoise = (MPedestalCam*)pList->FindCreateObj("MPedestalCam", "ElectronicNoise"); … … 423 431 //-------------------------------------------------------------------------- 424 432 433 // Get the ResidualTimeSpread Parameter 434 const Double_t gapdTimeJitter = fGapdTimeJitter->GetVal(); 425 435 426 436 // Simulate pulses … … 444 454 445 455 // FIXME: Time jitter? 456 // Jens Buss on GapdTimeJitter 457 // add also a time offset to arrival times of single photons 458 // TODO: change to ns, use: fRunHeader->GetFreqSampling() 459 Double_t timeJitter = gRandom->Gaus(0.0, gapdTimeJitter); 460 t = t + timeJitter; 461 446 462 // FIXME: Add additional routing here? 447 463 // FIMXE: How stable is the gain? -
trunk/Mars/msimcamera/MSimCamera.h
r18038 r18333 37 37 MParameterD *fCrosstalkCoeffParam; 38 38 MParameterD *fResidualTimeSpread; //! Container to store a standard deviation for a residual time spread 39 39 MParameterD *fGapdTimeJitter; //! Container to store a standard deviation for a gapd time jitter 40 40 41 MMatrix *fFixTimeOffsetsBetweenPixelsInNs; //! Container to store the fix temporal offsets for each pixel in ns 41 42
Note:
See TracChangeset
for help on using the changeset viewer.