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

Comparing UserCode/cbrown/Development/Plotting/Modules/SampleClass.C (file contents):
Revision 1.22 by buchmann, Thu Jan 17 16:24:52 2013 UTC vs.
Revision 1.23 by buchmann, Thu Jan 17 17:21:38 2013 UTC

# Line 584 | Line 584 | TLegend* samplecollection::allbglegend(s
584    
585    int maxIgroup=0;
586    for(int isample=0;isample<(int)(this->collection).size();isample++) {
587 <    if((this->collection)[isample].groupindex>maxIgroup) maxIgroup=(this->collection)[isample].groupindex;
587 >    if((this->collection)[isample].groupindex>maxIgroup) maxIgroup=(this->collection)[isample].groupindex+1;
588    }
589    
590    TH1F *fakehistos[maxIgroup];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines