Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76215
b: "refs/heads/CMSSW_7_1_X"
c: 3f081da
h: "refs/heads/CMSSW_7_1_X"
i:
  76213: 3a86fcc
  76211: d2a55b1
  76207: dfd27db
v: v3
  • Loading branch information
efron committed Oct 23, 2009
1 parent edf352a commit 4311431
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 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": 027dd27c443da16ff3ba849e1cdbb37a543e9bfc
"refs/heads/CMSSW_7_1_X": 3f081da7156283facdec920ec03b09940248add7
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
// Original Author: Werner Man-Li Sun
// Created: Tue Sep 16 22:43:22 CEST 2008
// $Id: L1CaloEcalScaleOnlineProd.cc,v 1.1 2009/06/08 15:41:17 efron Exp $
// $Id: L1CaloEcalScaleConfigOnlineProd.cc,v 1.1 2009/10/20 11:43:26 efron Exp $
//
//

Expand Down Expand Up @@ -95,7 +95,14 @@ L1CaloEcalScaleConfigOnlineProd::newObject( const std::string& objectKey )
{
using namespace edm::es;


if(objectKey == "NULL") // return default blank ecal scale
return boost::shared_ptr< L1CaloEcalScale >( ecalScale );
if(objectKey == "IDENTITY"){ // return identity ecal scale
ecalScale = 0;
ecalScale = new L1CaloEcalScale(1);
return boost::shared_ptr< L1CaloEcalScale >( ecalScale);
}


double ee_lsb = 0.;
double eb_lsb = 0.;
Expand Down Expand Up @@ -164,7 +171,7 @@ L1CaloEcalScaleConfigOnlineProd::newObject( const std::string& objectKey )
}

}
// std::cout << " eb lsb " << eb_lsb << " ee_lsb " << ee_lsb << std::endl;
// std::cout << " eb lsb " << eb_lsb << " ee_lsb " << ee_lsb << std::endl;

std::vector< std::string > grpLUT;
grpLUT.push_back("GROUP_ID");
Expand Down

0 comments on commit 4311431

Please sign in to comment.