ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/src/DTDPGCreateAnalyzerSummary.cc
(Generate patch)

Comparing UserCode/DTDPGAnalysis/src/DTDPGCreateAnalyzerSummary.cc (file contents):
Revision 1.3 by battilan, Mon Nov 3 12:56:44 2008 UTC vs.
Revision 1.4 by battilan, Thu Nov 6 14:33:23 2008 UTC

# Line 1277 | Line 1277 | void DTDPGCreateAnalyzerSummary::createS
1277  
1278          hHisto[0]->SetStats(1);
1279          hHisto[0]->Draw();
1280 <        //hHisto[0]->Fit("gaus");  //CB must be wrapped!!!!
1280 >        try {
1281 >          hHisto[0]->Fit("gaus","Q");
1282 >        } catch(const cms::Exception&) {
1283 >          edm::LogError("DTDPGSummary") << "[DTDPGCreateAnalyzerSummary]:  Error fitting " << hname.str() << "_SL1";
1284 >        }
1285          hHisto[1]->SetLineColor(2);
1286          hHisto[1]->Draw("same");
1287        }// end loop on chambers
1288      }// end loop on sectors
1289  
1290      createGifFile("TMax",(iw-2),"S1-S3",DQM11);
1291 <    createGifFile("TMax",(iw-2),"S4-S6",DQM11);
1292 <    createGifFile("TMax",(iw-2),"S7-S9",DQM11);
1293 <    createGifFile("TMax",(iw-2),"S10-S12",DQM11);
1291 >    createGifFile("TMax",(iw-2),"S4-S6",DQM12);
1292 >    createGifFile("TMax",(iw-2),"S7-S9",DQM13);
1293 >    createGifFile("TMax",(iw-2),"S10-S12",DQM14);
1294  
1295  
1296      //===================================================================================

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines