Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Tracker Parameters from DB PR #9074

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -18,9 +18,11 @@ def customiseFor7966(process):
for param in params:
delattr(process.trackerTopology, param)
setattr(process.trackerTopology, 'appendToDataLabel', cms.string(""))
if hasattr(process,'TrackerDigiGeometryESModule'):
if hasattr(process.TrackerDigiGeometryESModule,'trackerGeometryConstants'):
delattr(process.TrackerDigiGeometryESModule,'trackerGeometryConstants')
return process


# Removal of 'upgradeGeometry' from TrackerDigiGeometryESModule (PR #7794)
def customiseFor7794(process):
if hasattr(process, 'TrackerDigiGeometryESModule'):
Expand Down
4 changes: 2 additions & 2 deletions Validation/RecoHI/plugins/HitPixelLayersTPSelector.h
Expand Up @@ -7,7 +7,7 @@
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/IdealGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"

/**
Selector to select only tracking particles that leave hits in three pixel layers
Expand Down Expand Up @@ -53,7 +53,7 @@ class HitPixelLayersTPSelector
selected_.clear();
//Retrieve tracker topology from geometry
edm::ESHandle<TrackerTopology> tTopoHand;
iSetup.get<IdealGeometryRecord>().get(tTopoHand);
iSetup.get<TrackerTopologyRcd>().get(tTopoHand);
const TrackerTopology *tTopo=tTopoHand.product();


Expand Down