ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/SUSYScan.C
(Generate patch)

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/SUSYScan.C (file contents):
Revision 1.28 by buchmann, Fri Sep 2 09:45:40 2011 UTC vs.
Revision 1.29 by buchmann, Fri Sep 2 12:52:56 2011 UTC

# Line 55 | Line 55 | void do_limit_wrapper(float mceff,float
55    limit_args limargs={mceff,toterr,ibin,mcjzb,sigmas,plotfilename};
56    pthread_create( &limitthread, NULL, compute_one_upper_limit_wrapper, (void*) &limargs);
57    int counter=0;
58 +  int counterinterval=5;
59    sleep(1); //waiting a second for the process to become active
60    while(counter<limitpatience*60 && isThreadActive) {
61      std::cout << "Limits are being calculated; Checking round " << counter << " ( corresponds to " << seconds_to_time(counter) << " ) , patience will end in " << seconds_to_time(60*limitpatience-counter) << std::endl;
62 <    counter++;
63 <    sleep(1);
62 >    counter+=counterinterval;
63 >    sleep(counterinterval);
64    }
65  
66    if(!isThreadActive) {
# Line 150 | Line 151 | cout << "FILE USED (name): " << (scansam
151  
152    
153    
154 + write_warning(__FUNCTION__,"CURRENTLY SWITCHING AUTOMATIZED MODE OFF!");automatized=false;
155    
156    float rightmargin=gStyle->GetPadRightMargin();
157    gStyle->SetPadRightMargin(0.15);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines