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

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/SampleClass.C (file contents):
Revision 1.10 by fronga, Mon Aug 8 14:11:46 2011 UTC vs.
Revision 1.13 by buchmann, Wed Aug 17 09:22:37 2011 UTC

# Line 474 | Line 474 | vector<int> samplecollection::FindSample
474    }
475    if(hitcollection.size()==0) {
476      hitcollection.push_back(-1);
477 <    dout << "*** Warning: couldn't find sample " << what << ": using all" << endl;
477 >    write_warning(__FUNCTION__,"Couldn't find sample "+string(what)+" using sample collection \""+string(this->name)+"\"");
478    }
479    return hitcollection;
480   }
# Line 564 | Line 564 | void samplecollection::PickUpFromThisFil
564    (this->collection)[isamp].events->SetBranchAddress("eventNum",&eventNum);
565    (this->collection)[isamp].events->SetBranchAddress("lumi",&lumi);
566    (this->collection)[isamp].events->SetBranchAddress("runNum",&runNum);
567 +
568    
569    TTreeFormula *select = new TTreeFormula("select", cut.c_str()&&essentialcut, (this->collection)[isamp].events);
570    int npickedup=0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines