Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77565
b: "refs/heads/CMSSW_7_1_X"
c: f27819e
h: "refs/heads/CMSSW_7_1_X"
i:
  77563: d5b7660
v: v3
  • Loading branch information
David Chamont committed Nov 10, 2009
1 parent babe258 commit ce81ffd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 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": 4eff16cc357716d19d1ca0fa5b833282f77b1267
"refs/heads/CMSSW_7_1_X": f27819e35a0b339e3c09f2785b06ad481abc8676
7 changes: 3 additions & 4 deletions trunk/RecoEgamma/Examples/plugins/GsfElectronMCAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
// Original Author: Ursula Berthon
// Created: Mon Mar 27 13:22:06 CEST 2006
// $Id: GsfElectronMCAnalyzer.cc,v 1.43 2009/10/10 09:09:18 chamont Exp $
// $Id: GsfElectronMCAnalyzer.cc,v 1.44 2009/10/29 23:11:12 chamont Exp $
//
//

Expand Down Expand Up @@ -50,7 +50,7 @@
using namespace reco;

GsfElectronMCAnalyzer::GsfElectronMCAnalyzer(const edm::ParameterSet& conf)
{
{
outputFile_ = conf.getParameter<std::string>("outputFile");
histfile_ = new TFile(outputFile_.c_str(),"RECREATE");
electronCollection_=conf.getParameter<edm::InputTag>("electronCollection");
Expand Down Expand Up @@ -111,8 +111,7 @@ GsfElectronMCAnalyzer::GsfElectronMCAnalyzer(const edm::ParameterSet& conf)
nbinhoe= pset.getParameter<int>("Nbinhoe");
hoemin=pset.getParameter<double>("Hoemin");
hoemax=pset.getParameter<double>("Hoemax");

}
}

void GsfElectronMCAnalyzer::beginJob(){

Expand Down
18 changes: 9 additions & 9 deletions trunk/RecoEgamma/Examples/test/OvalFile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ which compares the histograms from two releases. newvalidation.csh relies
on the ROOT script newvalidation.C.

<var name="VAL_NEW_RELEASE" value="340pre5">
<var name="VAL_REF_RELEASE" value="340pre2">
<var name="VAL_REF_RELEASE" value="340pre5">

%IMPORTANT% If we do not set specific VAL_REF_File values below, newvalidation.csh will
%IMPORTANT% compare the current histograms with the root files stored as ref in CVS. In such
Expand Down Expand Up @@ -151,44 +151,44 @@ with the local modified code.

<environment name="RedoFromCorePt10">
<var name="DBS_SAMPLE" value="RelValSingleElectronPt10">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-RECO.root">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-RECO.root">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>

<environment name="RedoFromCorePt35">
<var name="DBS_SAMPLE" value="RelValSingleElectronPt35">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-RECO.root">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-RECO.root">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>

<environment name="RedoFromCoreTTbar">
<var name="DBS_SAMPLE" value="RelValTTbar">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-RECO.root">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-RECO.root">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>

<environment name="RedoFromCoreZEEIdeal">
<var name="DBS_SAMPLE" value="RelValZEE">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-MC-RECO.root">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-MC-RECO.root">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>

<environment name="RedoFromCoreZEEStartup">
<var name="DBS_SAMPLE" value="RelValZEE">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-STARTUP-RECO.root">
<var name="TEST_GLOBAL_TAG" value="STARTUP3XY_V11">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-STARTUP-RECO.root">
<var name="TEST_GLOBAL_TAG" value="STARTUP3X_V11">
<var name="DBS_COND" value="${TEST_GLOBAL_TAG}-v*">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>

<environment name="RedoFromCoreQcdPt80-120">
<var name="DBS_SAMPLE" value="RelValQCD_Pt_80_120">
<var name="TEST_OUTPUT_FILE" value="/tmp/${DBS_SAMPLE}-RECO.root">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-RECO.root">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromCore_cfg.py">
</environment>
Expand Down Expand Up @@ -230,7 +230,7 @@ with the local modified code.
<environment name="RedoFromRawZEEStartup">
<var name="DBS_SAMPLE" value="RelValZEE">
<var name="TEST_OUTPUT_FILE" value="${TMPDIR}/${DBS_SAMPLE}-STARTUP-RECO.root">
<var name="TEST_GLOBAL_TAG" value="STARTUP3XY_V11">
<var name="TEST_GLOBAL_TAG" value="STARTUP3X_V11">
<var name="DBS_COND" value="${TEST_GLOBAL_TAG}-v*">
<executable name="dbs_discovery.py">
<executable name="cmsRun" args="GsfElectronRedoFromRaw_cfg.py">
Expand Down
5 changes: 2 additions & 3 deletions trunk/RecoEgamma/Examples/test/newvalidation.csh
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,9 @@ echo "VAL_REF_FILE = ${VAL_REF_FILE}"

if ( "${VAL_REF_FILE}" != "" && "${REF_ALREADY_STORED}" == "" ) then

if ( ! -d $VAL_WEB/$VAL_NEW_RELEASE/vs${VAL_REF_RELEASE}/data ) then
mkdir $VAL_WEB/$VAL_NEW_RELEASE/vs${VAL_REF_RELEASE}/data
if ( ! -d $VAL_WEB/$VAL_NEW_RELEASE/Electrons/vs${VAL_REF_RELEASE}/data ) then
mkdir $VAL_WEB/$VAL_NEW_RELEASE/Electrons/vs${VAL_REF_RELEASE}/data
endif

cp -f $VAL_REF_FILE $VAL_WEB/$VAL_NEW_RELEASE/Electrons/vs${VAL_REF_RELEASE}/data
setenv VAL_REF_FILE "$VAL_WEB/$VAL_NEW_RELEASE/Electrons/vs${VAL_REF_RELEASE}/data/${VAL_REF_FILE:t}"
echo "VAL_REF_FILE = ${VAL_REF_FILE}"
Expand Down

0 comments on commit ce81ffd

Please sign in to comment.