Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77566
b: "refs/heads/CMSSW_7_1_X"
c: 2e62006
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
David Chamont committed Nov 10, 2009
1 parent ce81ffd commit 5a04f57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": f27819e35a0b339e3c09f2785b06ad481abc8676
"refs/heads/CMSSW_7_1_X": 2e62006eba4c0eafae5001d10a18b9cd7afe561a
8 changes: 7 additions & 1 deletion trunk/Validation/RecoEgamma/test/electronValidation.C
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ eleStyle->cd();

gROOT->ForceStyle();

TString internal_path("DQMData/EgammaV/ElectronMcSignalValidator/") ;
TString internal_path("DQMData/EgammaV/") ;

TString val_ref_file_url ;
TString file_ref_dir = internal_path ;
Expand Down Expand Up @@ -192,6 +192,9 @@ web_page<<"<b>"<<cat<<"</b><br><br>" ;
while (histo_file1>>histo_name>>scaled>>log>>err>>divide>>num>>denom>>eol>>eoc)
{
short_histo_name = histo_name ;
Ssiz_t pos ;
pos = short_histo_name.Last('/') ;
if (pos!=kNPOS) short_histo_name.Remove(0,pos+1) ;
short_histo_name.Remove(0,2) ;
web_page<<"<a href=\"#"<<short_histo_name<<"\">"<<short_histo_name<<"</a><br>\n" ;
if (eoc)
Expand Down Expand Up @@ -229,6 +232,9 @@ while (histo_file2>>histo_name>>scaled>>log>>err>>divide>>num>>denom>>eol>>eoc)
canvas = new TCanvas(canvas_name.c_str()) ;
canvas->SetFillColor(10) ;
short_histo_name = histo_name ;
Ssiz_t pos ;
pos = short_histo_name.Last('/') ;
if (pos!=kNPOS) short_histo_name.Remove(0,pos+1) ;
short_histo_name.Remove(0,2) ;

web_page<<"<a id=\""<<short_histo_name<<"\" name=\""<<short_histo_name<<"\"></a>" ;
Expand Down

0 comments on commit 5a04f57

Please sign in to comment.