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

Replace SeedingLayersESProducer with an EDProducer #2286

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
37d5679
Remove hasPredefinedHitErrors member from SeedingLayer(SetsBuilder) a…
makortel Jan 31, 2014
83eea6b
Remove useErrorsFromParam, hitErrorRZ, and hitErrorRPhi from configur…
makortel Jan 31, 2014
6dbdcd7
Add SeedingLayerSetsHits for transient EDProduct of SeedingLayers
makortel Jan 8, 2014
7df8d58
Add SeedingLayersEDProducer
makortel Jan 8, 2014
1237791
Add TrackingRegion::hits(const SeedingLayerSetsHits::SeedingLayer&) i…
makortel Jan 8, 2014
305e5f7
Migrate LayerHitMapCache to SeedingLayerSetsHits
makortel Jan 8, 2014
75cfe0d
Migrate HitPairGeneratorFromLayerPair to SeedingLayerSetsHits
makortel Jan 9, 2014
3e95527
Migrate CombinedHitPairGenerator to SeedingLayerSetsHits
makortel Jan 9, 2014
87bde9e
Migrate LayerTriplets to SeedingLayerSetsHits
makortel Jan 9, 2014
b26a535
Migrate HitTripletGeneratorFromPairAndLayers classes to SeedingLayerS…
makortel Jan 9, 2014
9115c4a
Migrate CombinedHitTripletGenerator to SeedingLayerSetsHits
makortel Jan 9, 2014
f682617
Migrate CombinedMultiHitGenerator, MultiHitGeneratorFromPairAndLayers…
makortel Jan 9, 2014
17085dc
Migrate configuration: TobTecLayerPairs_cfi
makortel Jan 10, 2014
908cdaf
Migrate configuration: PixelLessLayerPairs_cfi
makortel Jan 10, 2014
731b81d
Migrate configuration: PixelLessLayerPairs4PixelLessTracking_cfi
makortel Jan 10, 2014
8f30b29
Migrate configuration: PixelLayerTriplets_cfi
makortel Jan 10, 2014
64ea607
Migrate configuration: PixelLayerPairs_cfi
makortel Jan 10, 2014
61e9c98
Migrate configuration: PixelAndStripLayerPairs_cfi
makortel Jan 10, 2014
08fa5b0
Migrate configuration: MixedLayerPairs_cfi
makortel Jan 17, 2014
d20d665
Migrate bunch of configuration files without any knock-on effects
makortel Jan 17, 2014
ba933e6
Migrate conversion configuration files
makortel Jan 10, 2014
6bc7328
Migrate configuration: thirdStep_cff
makortel Jan 10, 2014
40e98dc
Migrate configuration: secondStep_cff
makortel Jan 10, 2014
5faaa18
Migrate EgammaHLTRegionalPixelSeedGeneratorProducers
makortel Jan 13, 2014
a474c60
Migrate QuadrupletSeedMerger
makortel Jan 10, 2014
39a110b
Remove SeedingLayerESProducer as obsolete
makortel Jan 10, 2014
ae69042
Add edm::ConsumesCollector parameter to SeedFilter constructor
makortel Nov 12, 2013
90d3741
Add edm::ConsumesCollector to OrderedHitsGenerator constructors
makortel Nov 12, 2013
78f5c73
Migrate SeedingLayerSetsHits consumers to getByToken
makortel Jan 10, 2014
7d51d79
Construct HitExtractors in SeedingLayerSetsBuilder constructor
makortel Nov 19, 2013
845ad22
Convert HitExtractorPIX and HitExtractorSTRP to getByToken()
makortel Nov 20, 2013
2deb1c9
Add SeedingLayerSetsBuilder::check(), use edm::ESWatcher
makortel Jan 23, 2014
8f3a596
Use SeedingLayerSetsBuilder::check() in SeedingLayerSetsBuilder users
makortel Jan 23, 2014
35bd5a8
Add SeedindLayerSetsHits::swap() for more efficient edm::Event::put()
makortel Jan 23, 2014
7b39909
Fix SeedingLayerSetsHits::size() for nlayers_==0
makortel Jan 25, 2014
d528016
Pass GeomDetEnumerators::SubDetector to HitExtractorSTRP constructor
makortel Jan 24, 2014
ea37c80
Restructure SeedingLayerSetsBuilder
makortel Jan 30, 2014
c0c0b37
Change LogError to cms::Exception in SeedingLayerSetsBuilder::updateE…
makortel Jan 26, 2014
a17e0b7
Add theTTRHBuilders member to SeedingLayerSetsBuilder
makortel Jan 27, 2014
40c3e15
Deliver TTRHBuilder to HitExtractor instead of SeedingLayer itself
makortel Jan 27, 2014
aa55dd6
Add SeedingLayersEDProducer-friendly interface to SeedingLayerSetsBui…
makortel Jan 27, 2014
c71d377
Migrate SeedingLayerSetsHits and SeedingLayersEDProducer to the new i…
makortel Jan 27, 2014
7dc8432
Return all hits and indices for each layer from SeedingLayerSetsBuild…
makortel Jan 27, 2014
8af5229
Deliver hits to SeedingLayerSetsHits with swap-style interface
makortel Jan 27, 2014
285f169
Fix typos
makortel Feb 5, 2014
8698006
Add constructors taking edm::ConsumesCollector& to ClusterChecker and…
makortel Feb 6, 2014
088e68d
Some cleanup in PhotonConversionTrajectorySeedProducerFrom(SingleLeg|…
makortel Feb 6, 2014
e235fb5
Further fixes to configuration
makortel Feb 6, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HITmixedPairRegGenerator = cms.EDProducer("SeedGeneratorFromRegionHitsEDProducer",
OrderedHitsFactoryPSet = cms.PSet(
ComponentName = cms.string('StandardHitPairGenerator'),
SeedingLayers = cms.string('MixedLayerPairs')
SeedingLayers = cms.InputTag('MixedLayerPairs')
),
SeedComparitorPSet = cms.PSet(
ComponentName = cms.string('none')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HITpixelPairRegGenerator = cms.EDProducer("SeedGeneratorFromRegionHitsEDProducer",
OrderedHitsFactoryPSet = cms.PSet(
ComponentName = cms.string('StandardHitPairGenerator'),
SeedingLayers = cms.string('PixelLayerPairs')
SeedingLayers = cms.InputTag('PixelLayerPairs')
),
SeedComparitorPSet = cms.PSet(
ComponentName = cms.string('none')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
HITpixelTripletRegGenerator = cms.EDProducer("SeedGeneratorFromRegionHitsEDProducer",
OrderedHitsFactoryPSet = cms.PSet(
ComponentName = cms.string('StandardHitTripletGenerator'),
SeedingLayers = cms.string('PixelLayerTriplets'),
SeedingLayers = cms.InputTag('PixelLayerTriplets'),
PixelTripletHLTGenerator = cms.PSet(
useBending = cms.bool(True),
useFixedPreFiltering = cms.bool(False),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
# 'BPix1+BPix2+FPix1_neg',
# 'BPix1+FPix1_pos+FPix2_pos',
# 'BPix1+FPix1_neg+FPix2_neg']
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import pixellayertriplets
iterativeDetachedTripletSeeds.layerList = pixellayertriplets.layerList
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
iterativeDetachedTripletSeeds.layerList = PixelLayerTriplets.layerList

# candidate producer
#from FastSimulation.Tracking.IterativeSecondCandidateProducer_cff import *
Expand Down
4 changes: 2 additions & 2 deletions FastSimulation/Tracking/python/IterativeInitialStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
# 'BPix1+BPix2+FPix1_neg',
# 'BPix1+FPix1_pos+FPix2_pos',
# 'BPix1+FPix1_neg+FPix2_neg']
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import pixellayertriplets
iterativeInitialSeeds.layerList = pixellayertriplets.layerList
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
iterativeInitialSeeds.layerList = PixelLayerTriplets.layerList

# candidate producer
import FastSimulation.Tracking.TrackCandidateProducer_cfi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
# 'BPix1+BPix2+FPix1_neg',
# 'BPix1+FPix1_pos+FPix2_pos',
# 'BPix1+FPix1_neg+FPix2_neg']
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import pixellayertriplets
iterativeLowPtTripletSeeds.layerList = pixellayertriplets.layerList
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
iterativeLowPtTripletSeeds.layerList = PixelLayerTriplets.layerList

# candidate producer
import FastSimulation.Tracking.TrackCandidateProducer_cfi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
# 'BPix1+BPix2+FPix1_neg',
# 'BPix1+FPix1_pos+FPix2_pos',
# 'BPix1+FPix1_neg+FPix2_neg']
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import pixellayertriplets
pixelTripletSeeds.layerList = pixellayertriplets.layerList
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
pixelTripletSeeds.layerList = PixelLayerTriplets.layerList
4 changes: 3 additions & 1 deletion RecoEgamma/EgammaElectronAlgos/interface/SeedFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

class SeedGeneratorFromRegionHits;
class MagneticField;
namespace edm { class ConsumesCollector; }

class SeedFilter {
public:
Expand All @@ -34,7 +35,8 @@ class SeedFilter {
};

SeedFilter(const edm::ParameterSet& conf,
const Tokens& tokens);
const Tokens& tokens,
edm::ConsumesCollector& iC);
~SeedFilter();

void seeds(edm::Event&, const edm::EventSetup&, const reco::SuperClusterRef &, TrajectorySeedCollection *);
Expand Down
5 changes: 3 additions & 2 deletions RecoEgamma/EgammaElectronAlgos/src/SeedFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ using namespace std;
using namespace reco;

SeedFilter::SeedFilter(const edm::ParameterSet& conf,
const SeedFilter::Tokens& tokens)
const SeedFilter::Tokens& tokens,
edm::ConsumesCollector& iC)
{
edm::LogInfo("EtaPhiRegionSeedFactory") << "Enter the EtaPhiRegionSeedFactory";
edm::ParameterSet regionPSet = conf.getParameter<edm::ParameterSet>("RegionPSet");
Expand All @@ -56,7 +57,7 @@ SeedFilter::SeedFilter(const edm::ParameterSet& conf,
hitsfactoryMode_ = hitsfactoryPSet.getUntrackedParameter<int>("useOnDemandTracker");

// get orderd hits generator from factory
OrderedHitsGenerator* hitsGenerator = OrderedHitsGeneratorFactory::get()->create(hitsfactoryName, hitsfactoryPSet);
OrderedHitsGenerator* hitsGenerator = OrderedHitsGeneratorFactory::get()->create(hitsfactoryName, hitsfactoryPSet, iC);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within ElectronSeedProducer, SeedFilter is the only place where OrderedHitsFactoryPSet (including SeedingLayers) is used.


// start seed generator
// FIXME??
Expand Down
24 changes: 14 additions & 10 deletions RecoEgamma/EgammaElectronProducers/plugins/ElectronSeedProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"

Expand All @@ -49,7 +50,7 @@ using namespace reco ;

ElectronSeedProducer::ElectronSeedProducer( const edm::ParameterSet& iConfig )
: //conf_(iConfig),
seedFilter_(0), applyHOverECut_(true), hcalHelper_(0),
applyHOverECut_(true), hcalHelper_(0),
caloGeom_(0), caloGeomCacheId_(0), caloTopo_(0), caloTopoCacheId_(0)
{
conf_ = iConfig.getParameter<edm::ParameterSet>("SeedConfiguration") ;
Expand Down Expand Up @@ -115,27 +116,30 @@ ElectronSeedProducer::ElectronSeedProducer( const edm::ParameterSet& iConfig )
superClusters_[1]=
consumes<reco::SuperClusterCollection>(iConfig.getParameter<edm::InputTag>("endcapSuperClusters")) ;

//register your products
produces<ElectronSeedCollection>() ;
}


void ElectronSeedProducer::beginRun(edm::Run const&, edm::EventSetup const&) {
// Construction of SeedFilter was in beginRun() with the comment
// below, but it has to be done here because of ConsumesCollector
//
// FIXME: because of a bug presumably in tracker seeding,
// perhaps in CombinedHitPairGenerator, badly caching some EventSetup product,
// we must redo the SeedFilter for each run.
if (prefilteredSeeds_) {
SeedFilter::Tokens sf_tokens;
sf_tokens.token_bs = beamSpotTag_;
sf_tokens.token_vtx = filterVtxTag_;
seedFilter_ = new SeedFilter(conf_,sf_tokens) ;
edm::ConsumesCollector iC = consumesCollector();
seedFilter_.reset(new SeedFilter(conf_, sf_tokens, iC));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SeedFilter is constructed only if preFilteredSeeds==True.

}

//register your products
produces<ElectronSeedCollection>() ;
}


void ElectronSeedProducer::beginRun(edm::Run const&, edm::EventSetup const&) {
}

void ElectronSeedProducer::endRun(edm::Run const&, edm::EventSetup const&)
{
delete seedFilter_ ;
seedFilter_ = 0 ;
}

ElectronSeedProducer::~ElectronSeedProducer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ElectronSeedProducer : public edm::EDProducer

edm::ParameterSet conf_ ;
ElectronSeedGenerator * matcher_ ;
SeedFilter * seedFilter_;
std::unique_ptr<SeedFilter> seedFilter_;

TrajectorySeedCollection * theInitialSeedColl ;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ class EgammaHLTRegionalPixelSeedGeneratorProducers : public edm::EDProducer


private:
edm::ParameterSet conf_;
SeedGeneratorFromRegionHits *combinatorialSeedGenerator;
std::unique_ptr<SeedGeneratorFromRegionHits> combinatorialSeedGenerator;
double ptmin_;
double vertexz_;
double originradius_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
Expand All @@ -39,24 +40,38 @@
using namespace std;
using namespace reco;

EgammaHLTRegionalPixelSeedGeneratorProducers::EgammaHLTRegionalPixelSeedGeneratorProducers(edm::ParameterSet const& conf) : conf_(conf),combinatorialSeedGenerator(0)
EgammaHLTRegionalPixelSeedGeneratorProducers::EgammaHLTRegionalPixelSeedGeneratorProducers(edm::ParameterSet const& conf)
{

produces<TrajectorySeedCollection>();

ptmin_ = conf_.getParameter<double>("ptMin");
vertexz_ = conf_.getParameter<double>("vertexZ");
originradius_= conf_.getParameter<double>("originRadius");
halflength_ = conf_.getParameter<double>("originHalfLength");
deltaEta_ = conf_.getParameter<double>("deltaEtaRegion");
deltaPhi_ = conf_.getParameter<double>("deltaPhiRegion");
ptmin_ = conf.getParameter<double>("ptMin");
vertexz_ = conf.getParameter<double>("vertexZ");
originradius_= conf.getParameter<double>("originRadius");
halflength_ = conf.getParameter<double>("originHalfLength");
deltaEta_ = conf.getParameter<double>("deltaEtaRegion");
deltaPhi_ = conf.getParameter<double>("deltaPhiRegion");

candTag_ = consumes<reco::RecoEcalCandidateCollection>(conf_.getParameter< edm::InputTag > ("candTag"));
candTagEle_ = consumes<reco::ElectronCollection>(conf_.getParameter< edm::InputTag > ("candTagEle"));
candTag_ = consumes<reco::RecoEcalCandidateCollection>(conf.getParameter< edm::InputTag > ("candTag"));
candTagEle_ = consumes<reco::ElectronCollection>(conf.getParameter< edm::InputTag > ("candTagEle"));
BSProducer_ = consumes<reco::BeamSpot>(conf.getParameter<edm::InputTag>("BSProducer"));

useZvertex_ = conf_.getParameter<bool>("UseZInVertex");
useZvertex_ = conf.getParameter<bool>("UseZInVertex");

edm::ParameterSet hitsfactoryPSet = conf.getParameter<edm::ParameterSet>("OrderedHitsFactoryPSet");
std::string hitsfactoryName = hitsfactoryPSet.getParameter<std::string>("ComponentName");

// get orderd hits generator from factory
edm::ConsumesCollector iC = consumesCollector();
OrderedHitsGenerator* hitsGenerator = OrderedHitsGeneratorFactory::get()->create( hitsfactoryName, hitsfactoryPSet, iC);

// start seed generator
edm::ParameterSet creatorPSet;
creatorPSet.addParameter<std::string>("propagator","PropagatorWithMaterial");

combinatorialSeedGenerator.reset(new SeedGeneratorFromRegionHits( hitsGenerator, 0,
SeedCreatorFactory::get()->create("SeedFromConsecutiveHitsCreator", creatorPSet)
));
// setup orderedhits setup (in order to tell seed generator to use pairs/triplets, which layers)
}

Expand All @@ -81,35 +96,18 @@ void EgammaHLTRegionalPixelSeedGeneratorProducers::fillDescriptions(edm::Configu

edm::ParameterSetDescription orederedHitsPSET;
orederedHitsPSET.add<std::string>("ComponentName", "StandardHitPairGenerator");
orederedHitsPSET.add<std::string>("SeedingLayers", "hltESPPixelLayerPairs");
orederedHitsPSET.add<edm::InputTag>("SeedingLayers", edm::InputTag("hltESPPixelLayerPairs"));
orederedHitsPSET.add<unsigned int>("maxElement", 0);
desc.add<edm::ParameterSetDescription>("OrderedHitsFactoryPSet", orederedHitsPSET);

descriptions.add(("hltEgammaHLTRegionalPixelSeedGeneratorProducers"), desc);
}

void EgammaHLTRegionalPixelSeedGeneratorProducers::endRun(edm::Run const&run, const edm::EventSetup& es)
{
delete combinatorialSeedGenerator;
combinatorialSeedGenerator=0;
}
void EgammaHLTRegionalPixelSeedGeneratorProducers::endRun(edm::Run const&run, const edm::EventSetup& es) {}


void EgammaHLTRegionalPixelSeedGeneratorProducers::beginRun(edm::Run const&run, const edm::EventSetup& es)
{
edm::ParameterSet hitsfactoryPSet = conf_.getParameter<edm::ParameterSet>("OrderedHitsFactoryPSet");
std::string hitsfactoryName = hitsfactoryPSet.getParameter<std::string>("ComponentName");

// get orderd hits generator from factory
OrderedHitsGenerator* hitsGenerator = OrderedHitsGeneratorFactory::get()->create( hitsfactoryName, hitsfactoryPSet);

// start seed generator
edm::ParameterSet creatorPSet;
creatorPSet.addParameter<std::string>("propagator","PropagatorWithMaterial");

combinatorialSeedGenerator = new SeedGeneratorFromRegionHits( hitsGenerator, 0,
SeedCreatorFactory::get()->create("SeedFromConsecutiveHitsCreator", creatorPSet)
);
}

// Functions that gets called by framework every event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
)

# SEEDING LAYERS
hiRegitMuDetachedTripletStepSeedLayers = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSeedLayers.clone(
ComponentName = 'hiRegitMuDetachedTripletStepSeedLayers'
)
hiRegitMuDetachedTripletStepSeedLayers = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSeedLayers.clone()
hiRegitMuDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
hiRegitMuDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')

Expand Down Expand Up @@ -86,6 +84,7 @@


hiRegitMuonDetachedTripletStep = cms.Sequence(hiRegitMuDetachedTripletStepClusters*
hiRegitMuDetachedTripletStepSeedLayers*
hiRegitMuDetachedTripletStepSeeds*
hiRegitMuDetachedTripletStepTrackCandidates*
hiRegitMuDetachedTripletStepTracks*
Expand Down
5 changes: 2 additions & 3 deletions RecoHI/HiMuonAlgos/python/HiRegitMuonLowPtTripletStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
)

# SEEDING LAYERS
hiRegitMuLowPtTripletStepSeedLayers = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSeedLayers.clone(
ComponentName = 'hiRegitMuLowPtTripletStepSeedLayers'
)
hiRegitMuLowPtTripletStepSeedLayers = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSeedLayers.clone()
hiRegitMuLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
hiRegitMuLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')

Expand Down Expand Up @@ -90,6 +88,7 @@
)

hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
hiRegitMuLowPtTripletStepSeedLayers*
hiRegitMuLowPtTripletStepSeeds*
hiRegitMuLowPtTripletStepTrackCandidates*
hiRegitMuLowPtTripletStepTracks*
Expand Down
10 changes: 4 additions & 6 deletions RecoHI/HiMuonAlgos/python/HiRegitMuonMixedTripletStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@


# SEEDING LAYERS A
hiRegitMuMixedTripletStepSeedLayersA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone(
ComponentName = 'hiRegitMuMixedTripletStepSeedLayersA'
)
hiRegitMuMixedTripletStepSeedLayersA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone()
hiRegitMuMixedTripletStepSeedLayersA.BPix.skipClusters = cms.InputTag('hiRegitMuMixedTripletStepClusters')
hiRegitMuMixedTripletStepSeedLayersA.FPix.skipClusters = cms.InputTag('hiRegitMuMixedTripletStepClusters')
hiRegitMuMixedTripletStepSeedLayersA.TEC.skipClusters = cms.InputTag('hiRegitMuMixedTripletStepClusters')
Expand All @@ -44,9 +42,7 @@
hiRegitMuMixedTripletStepSeedsA.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuMixedTripletStepSeedLayersA'

# SEEDING LAYERS B
hiRegitMuMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone(
ComponentName = 'hiRegitMuMixedTripletStepSeedLayersB',
)
hiRegitMuMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone()
hiRegitMuMixedTripletStepSeedLayersB.BPix.skipClusters = cms.InputTag('hiRegitMuMixedTripletStepClusters')
hiRegitMuMixedTripletStepSeedLayersB.TIB.skipClusters = cms.InputTag('hiRegitMuMixedTripletStepClusters')

Expand Down Expand Up @@ -120,7 +116,9 @@
) #end of clone

hiRegitMuonMixedTripletStep = cms.Sequence(hiRegitMuMixedTripletStepClusters*
hiRegitMuMixedTripletStepSeedLayersA*
hiRegitMuMixedTripletStepSeedsA*
hiRegitMuMixedTripletStepSeedLayersB*
hiRegitMuMixedTripletStepSeedsB*
hiRegitMuMixedTripletStepSeeds*
hiRegitMuMixedTripletStepTrackCandidates*
Expand Down
5 changes: 2 additions & 3 deletions RecoHI/HiMuonAlgos/python/HiRegitMuonPixelLessStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
)

# SEEDING LAYERS
hiRegitMuPixelLessStepSeedLayers = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone(
ComponentName = 'hiRegitMuPixelLessStepSeedLayers',
)
hiRegitMuPixelLessStepSeedLayers = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone()
hiRegitMuPixelLessStepSeedLayers.TIB.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
hiRegitMuPixelLessStepSeedLayers.TID.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
hiRegitMuPixelLessStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
Expand Down Expand Up @@ -89,6 +87,7 @@
)

hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuPixelLessStepClusters*
hiRegitMuPixelLessStepSeedLayers*
hiRegitMuPixelLessStepSeeds*
hiRegitMuPixelLessStepTrackCandidates*
hiRegitMuPixelLessStepTracks*
Expand Down
5 changes: 2 additions & 3 deletions RecoHI/HiMuonAlgos/python/HiRegitMuonPixelPairStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@


# SEEDING LAYERS
hiRegitMuPixelPairStepSeedLayers = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSeedLayers.clone(
ComponentName = 'hiRegitMuPixelPairStepSeedLayers'
)
hiRegitMuPixelPairStepSeedLayers = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSeedLayers.clone()
hiRegitMuPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')
hiRegitMuPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')

Expand Down Expand Up @@ -95,6 +93,7 @@
)

hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
hiRegitMuPixelPairStepSeedLayers*
hiRegitMuPixelPairStepSeeds*
hiRegitMuPixelPairStepTrackCandidates*
hiRegitMuPixelPairStepTracks*
Expand Down
Loading