Changeset 5094 for trunk/MagicSoft/Simulation
- Timestamp:
- 09/17/04 10:20:52 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r5074 r5094 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1.7 0$23 // $Revision: 1.71 $ 24 24 // $Author: moralejo $ 25 // $Date: 2004-09-1 6 15:23:12 $25 // $Date: 2004-09-17 09:20:52 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 1075 1075 for (int i=0;i<numberBranches;i++) { 1076 1076 EvtData[i] = new MRawEvtData(); 1077 EvtData[i]->Init (RunHeader); // We need thrRunHeader to read1078 // number of pixels1077 EvtData[i]->InitRead(RunHeader); // We need the RunHeader to read 1078 // number of pixels 1079 1079 } 1080 1080 } … … 1182 1182 // Fill branches for MRawRunHeader 1183 1183 1184 RunHeader->SetMagicNumber( kMagicNumber);1184 RunHeader->SetMagicNumber(MRawRunHeader::kMagicNumber); 1185 1185 RunHeader->SetFormatVersion(4); 1186 1186 RunHeader->SetSoftVersion((UShort_t) (VERSION*10)); … … 2294 2294 for(int i=0;i<numberBranches;i++){ 2295 2295 EvtHeader[i]->Clear() ; 2296 EvtData[i]-> DeletePixels();2296 EvtData[i]->ResetPixels (0, 0); 2297 2297 } 2298 2298 } … … 2545 2545 for(int ict=0;ict<ct_Number;ict++){ 2546 2546 if (Write_RawEvt) EvtHeader[ict]->Clear() ; 2547 if (Write_RawEvt) EvtData[ict]-> DeletePixels();2547 if (Write_RawEvt) EvtData[ict]->ResetPixels(0,0); 2548 2548 if (Write_McTrig) McTrig[ict]->Clear() ; 2549 2549 if (Write_McEvt) McEvt[ict]->Clear() ; … … 4363 4363 // 4364 4364 // $Log: not supported by cvs2svn $ 4365 // Revision 1.70 2004/09/16 15:23:12 moralejo 4366 // 4367 // Changed "flashadc" and "trigger" in procedure produce_nsbrates from 4368 // objects to pointers (followed by dynamical allocation). This is only 4369 // to avoid memory problems (-> segmentation fault) in some systems. 4370 // Introduced missing initialization to 0 of *itotnphe in produce_phes. 4371 // Now the number of phes produced by stars shown on the screen make sense. 4372 // 4365 4373 // 4366 4374 // Revision 1.69 2004/03/30
Note:
See TracChangeset
for help on using the changeset viewer.