Changeset 6728 for trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
- Timestamp:
- 03/03/05 20:33:56 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r6712 r6728 4137 4137 float *pmtjit; 4138 4138 4139 // reset variables 4140 4139 4141 pmtjit = new float[camgeom->GetNumPixels()]; 4140 4141 // reset variables 4142 memset((char*)pmtjit, 0, camgeom->GetNumPixels()*sizeof(float)); 4142 4143 4143 4144 TRandom random; … … 4147 4148 { 4148 4149 nphe[i] = 0.0; 4150 4151 if ( !(pmt_jitter>0.) ) 4152 continue; 4149 4153 // 4150 4154 // PMT time jitter: gaussian, not negative (MTrigger::FillShow does … … 4865 4869 static UInt_t seed = (UInt_t)(get_seeds(0)*get_seeds(1)); 4866 4870 4871 // reset variables 4872 4867 4873 pmtjit = new float[camgeom->GetNumPixels()]; 4868 4869 // reset variables 4874 memset((char*)pmtjit, 0, camgeom->GetNumPixels()*sizeof(float)); 4870 4875 4871 4876 TRandom random; … … 4875 4880 { 4876 4881 nphe[i] = 0.0; 4882 4883 if ( !(pmt_jitter > 0.)) 4884 continue; 4877 4885 4878 4886 // … … 5068 5076 // 5069 5077 // $Log: not supported by cvs2svn $ 5078 // Revision 1.97 2005/03/02 21:45:06 moralejo 5079 // 5080 // Changed meaning of pmt_jitter: now it is not the jitter per phe-, but 5081 // the jitter of the total pulse in each pixel (and independent from pixel 5082 // to pixel). 5083 // 5084 // The delay between the high and low gain peaks can be set now to a non 5085 // integer number of FADC slices. Now by default it is 16.5. 5086 // 5070 5087 // Revision 1.96 2005/03/01 21:57:01 moralejo 5071 5088 //
Note:
See TracChangeset
for help on using the changeset viewer.