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.2 by battilan, Mon Nov 3 11:06:39 2008 UTC vs.
Revision 1.4 by battilan, Thu Nov 6 14:33:23 2008 UTC

# Line 789 | Line 789 | void DTDPGCreateAnalyzerSummary::createS
789        hDigiXYList[is]->Draw("colz");
790      }
791  
792    stringstream fileDigi; fileDigi <<"Digi_r" << myRunNumber <<"_W" << (iw-2);
792      createGifFile("Digi",(iw-2),"_S1-S6",DQM1);
793      createGifFile("Digi",(iw-2),"_S7_S12",DQM2);
794  
# Line 1277 | Line 1276 | void DTDPGCreateAnalyzerSummary::createS
1276          }
1277  
1278          hHisto[0]->SetStats(1);
1279 <        //hHisto[0]->Fit("gaus");  //CB va scommentato e wrappato!!!!
1279 >        hHisto[0]->Draw();
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  
1286    stringstream fileTMax; fileTMax << "TMax_r" << myRunNumber <<"_W" << (iw-2);
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      //===================================================================================
# Line 1449 | Line 1452 | void DTDPGCreateAnalyzerSummary::createS
1452      
1453      createGifFile("TrigBXhhhl",(iw-2),"",BX);
1454  
1455 <    // CB fai il delete dei vari canvases!
1455 >    delete DQM1;
1456 >    delete DQM2;
1457 >    delete DQM1b;
1458 >    delete DQM2b;
1459 >    delete Digi1;
1460 >    delete Digi2;
1461 >    delete Digi3;
1462 >    delete DQM6;
1463 >    
1464 >    delete DQM11;
1465 >    delete DQM12;
1466 >    delete DQM13;
1467 >    delete DQM14;
1468 >    delete Eff;
1469 >    delete BX;
1470  
1471   }// END loop in wheels
1472      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines