Changeset 8695 for trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
- Timestamp:
- 08/22/07 19:18:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7818 r8695 866 866 if ((h = (TH1D*)gPad->FindObject("ProjDeltaT"/*fNameProjDeltaT*/))) 867 867 { 868 h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, 9999, "E");868 h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, -1, "E"); 869 869 if (h->GetEntries()>0) 870 870 gPad->SetLogy(); … … 873 873 pad->GetPad(2)->cd(1); 874 874 if ((h = (TH1D*)gPad->FindObject("ProjTheta"/*fNameProjTheta*/))) 875 fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, 9999, "E");875 fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, -1, "E"); 876 876 877 877 if (!fIsFinalized) … … 963 963 pad->GetPad(1)->cd(1); 964 964 gPad->SetBorderMode(0); 965 h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, 9999, "E");965 h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, -1, "E"); 966 966 h->SetTitle("Distribution of \\Delta t [s]"); 967 967 h->SetXTitle("\\Delta t [s]"); … … 993 993 pad->GetPad(2)->cd(1); 994 994 gPad->SetBorderMode(0); 995 h = fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, 9999, "E");995 h = fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, -1, "E"); 996 996 h->SetTitle("Distribution of \\Theta [\\circ]"); 997 997 h->SetXTitle("\\Theta [\\circ]");
Note:
See TracChangeset
for help on using the changeset viewer.