Skip to content

Commit

Permalink
* Add producer
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Oct 14, 2015
1 parent 2d94ffc commit 6bb57e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
@@ -1,4 +1,8 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Geometry.GeometryExtended2015Reco_cff import *
HcalTrigTowerGeometryESProducer = cms.ESProducer("HcalTrigTowerGeometryESProducer")

L1CaloHcalScaleConfigOnline = cms.ESProducer("L1CaloHcalScaleConfigOnlineProd",
onlineAuthentication = cms.string('.'),
forceGeneration = cms.bool(False),
Expand Down
Expand Up @@ -82,26 +82,6 @@ L1CaloHcalScaleConfigOnlineProd::L1CaloHcalScaleConfigOnlineProd(
{
hcalScale = new L1CaloHcalScale(0);
caloTPG = new CaloTPGTranscoderULUT();
<<<<<<< HEAD

HcalTopologyMode::Mode mode = HcalTopologyMode::LHC;
int maxDepthHB = 2;
int maxDepthHE = 3;
edm::LogWarning("") << "Fix how to get HcalTopology correctly";
/*
if( iConfig.exists( "hcalTopologyConstants" ))
{
const edm::ParameterSet hcalTopoConsts = iConfig.getParameter<edm::ParameterSet>( "hcalTopologyConstants" );
StringToEnumParser<HcalTopologyMode::Mode> parser;
mode = (HcalTopologyMode::Mode) parser.parseString(hcalTopoConsts.getParameter<std::string>("mode"));
maxDepthHB = hcalTopoConsts.getParameter<int>("maxDepthHB");
maxDepthHE = hcalTopoConsts.getParameter<int>("maxDepthHE");
}
*/

theTrigTowerGeometry = new HcalTrigTowerGeometry( new HcalTopology( mode, maxDepthHB, maxDepthHE ));
=======
>>>>>>> * Use Hcal trigger tower geometry from Event setup
}


Expand Down

0 comments on commit 6bb57e5

Please sign in to comment.