Changeset 530 in svn for trunk/Delphes.cpp
- Timestamp:
- Sep 14, 2009, 5:07:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Delphes.cpp
r494 r530 95 95 96 96 srand (time (NULL)); /* Initialisation du générateur */ 97 TRandom3 * grandom = new TRandom3(); 97 98 TStopwatch globalwatch, loopwatch, triggerwatch, frogwatch, lhcowatch; 98 99 globalwatch.Start(); … … 498 499 499 500 // 2.1a.2.3.5 Tracks 500 if( (rand()%100) < DET->TRACK_eff && sET!=0) 501 //if( (rand()%100) < DET->TRACK_eff && sET!=0) 502 if( (grandom->Uniform()*100.) < DET->TRACK_eff && sET!=0) 501 503 { 502 504 elementTrack = (TRootTracks*) branchTrack->NewEntry(); … … 789 791 delete JETRUN; 790 792 delete VFD; 793 delete grandom; // TRandom3 791 794 792 795 }
Note:
See TracChangeset
for help on using the changeset viewer.