Skip to content

Commit

Permalink
adding fillDescriptions in CkfTrackCandidateMaker (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
missirol committed Sep 23, 2021
1 parent 91e9881 commit 4352178
Show file tree
Hide file tree
Showing 28 changed files with 184 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ inline float clusterChargeCut(const edm::ParameterSet& conf, const char* name =
}

#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
inline edm::ParameterSetDescription getFilledConfigurationDescription4CCC() {
inline void fillPSetDescription4CCC(edm::ParameterSetDescription& iDesc){
// HLTSiStripClusterChargeCutNone: -1.0
// HLTSiStripClusterChargeCutTiny: 800.0
// HLTSiStripClusterChargeCutLoose: 1620.0
// HLTSiStripClusterChargeCutTight: 1945.0
iDesc.add<double>("value", 1620.0);
}

inline edm::ParameterSetDescription getFilledConfigurationDescription4CCC() {
edm::ParameterSetDescription desc;
desc.add<double>("value", 1620.0);
fillPSetDescription4CCC(desc);
return desc;
}

Expand Down
6 changes: 5 additions & 1 deletion RecoMuon/L3TrackFinder/interface/MuonCkfTrajectoryBuilder.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
#ifndef RecoMuon_L3TrackFinder_MuonCkfTrajectoryBuilder_H
#define RecoMuon_L3TrackFinder_MuonCkfTrajectoryBuilder_H

#include "RecoTracker/CkfPattern/interface/CkfTrajectoryBuilder.h"
#include "FWCore/Framework/interface/ESWatcher.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "RecoTracker/CkfPattern/interface/CkfTrajectoryBuilder.h"

class TrackingComponentsRecord;

class MuonCkfTrajectoryBuilder : public CkfTrajectoryBuilder {
public:
MuonCkfTrajectoryBuilder(const edm::ParameterSet& conf, edm::ConsumesCollector& iC);
~MuonCkfTrajectoryBuilder() override;

static void fillPSetDescription(edm::ParameterSetDescription& iDesc);

protected:
void setEvent_(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;

Expand Down
3 changes: 2 additions & 1 deletion RecoMuon/L3TrackFinder/plugins/SealModules.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ValidatedPluginMacros.h"

#include "RecoMuon/L3TrackFinder/interface/MuonCkfTrajectoryBuilder.h"
#include "RecoTracker/CkfPattern/interface/BaseCkfTrajectoryBuilderFactory.h"
#include "RecoMuon/L3TrackFinder/interface/HLTMuonL2SelectorForL3IO.h"

DEFINE_EDM_PLUGIN(BaseCkfTrajectoryBuilderFactory, MuonCkfTrajectoryBuilder, "MuonCkfTrajectoryBuilder");
DEFINE_EDM_VALIDATED_PLUGIN(BaseCkfTrajectoryBuilderFactory, MuonCkfTrajectoryBuilder, "MuonCkfTrajectoryBuilder");
DEFINE_FWK_MODULE(HLTMuonL2SelectorForL3IO);
9 changes: 9 additions & 0 deletions RecoMuon/L3TrackFinder/src/MuonCkfTrajectoryBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ MuonCkfTrajectoryBuilder::MuonCkfTrajectoryBuilder(const edm::ParameterSet& conf

MuonCkfTrajectoryBuilder::~MuonCkfTrajectoryBuilder() {}

void MuonCkfTrajectoryBuilder::fillPSetDescription(edm::ParameterSetDescription& iDesc){
CkfTrajectoryBuilder::fillPSetDescription(iDesc);
iDesc.add<double>("deltaEta");
iDesc.add<double>("deltaPhi");
iDesc.add<std::string>("propagatorProximity");
iDesc.add<bool>("useSeedLayer");
iDesc.add<double>("rescaleErrorIfFail");
}

void MuonCkfTrajectoryBuilder::setEvent_(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
CkfTrajectoryBuilder::setEvent_(iEvent, iSetup);

Expand Down
3 changes: 3 additions & 0 deletions RecoTracker/CkfPattern/interface/BaseCkfTrajectoryBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Utilities/interface/ESGetToken.h"
#include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"

Expand Down Expand Up @@ -75,6 +76,8 @@ class BaseCkfTrajectoryBuilder : public TrajectoryBuilder {
BaseCkfTrajectoryBuilder& operator=(const BaseCkfTrajectoryBuilder&) = delete;
~BaseCkfTrajectoryBuilder() override;

static void fillPSetDescription(edm::ParameterSetDescription& iDesc);

// new interface returning the start Trajectory...
virtual TempTrajectory buildTrajectories(const TrajectorySeed& seed,
TrajectoryContainer& ret,
Expand Down
3 changes: 3 additions & 0 deletions RecoTracker/CkfPattern/interface/CkfTrajectoryBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class TrajectoryStateOnSurface;
class TrajectoryFilter;

#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/Event.h"

Expand Down Expand Up @@ -41,6 +42,8 @@ class CkfTrajectoryBuilder : public BaseCkfTrajectoryBuilder {

~CkfTrajectoryBuilder() override {}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc);

/// trajectories building starting from a seed
TrajectoryContainer trajectories(const TrajectorySeed& seed) const override;
/// trajectories building starting from a seed
Expand Down
26 changes: 26 additions & 0 deletions RecoTracker/CkfPattern/plugins/GroupedCkfTrajectoryBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "TrackingTools/TrackFitters/interface/KFTrajectoryFitter.h"
#include "GroupedTrajCandLess.h"
#include "TrackingTools/TrajectoryFiltering/interface/RegionalTrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilterFactory.h"
#include "TrackingTools/PatternTools/interface/TempTrajectory.h"
#include "RecoTracker/MeasurementDet/interface/MeasurementTracker.h"
#include "RecoTracker/MeasurementDet/interface/MeasurementTrackerEvent.h"
Expand All @@ -29,6 +30,7 @@
#include "TrackingTools/PatternTools/interface/TrajMeasLessEstim.h"
#include "TrackingTools/TrajectoryState/interface/BasicSingleTrajectoryState.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/PluginDescription.h"
#include "FWCore/Utilities/interface/thread_safety_macros.h"
#include "TrackingTools/PatternTools/interface/TransverseImpactPointExtrapolator.h"

Expand Down Expand Up @@ -152,6 +154,30 @@ GroupedCkfTrajectoryBuilder::GroupedCkfTrajectoryBuilder(const edm::ParameterSet
===================================== */
}

void GroupedCkfTrajectoryBuilder::fillPSetDescription(edm::ParameterSetDescription& iDesc){
iDesc.add<bool>("useSameTrajFilter");
iDesc.add<int>("maxCand");
iDesc.add<double>("lostHitPenalty");
iDesc.add<double>("foundHitBonus");
iDesc.add<bool>("intermediateCleaning");
iDesc.add<bool>("alwaysUseInvalidHits");
iDesc.add<bool>("lockHits");
iDesc.add<bool>("bestHitOnly");
iDesc.add<bool>("requireSeedHitsInRebuild");
iDesc.add<bool>("keepOriginalIfRebuildFails");
iDesc.add<int>("minNrOfHitsForRebuild");
iDesc.add<double>("maxPtForLooperReconstruction", 0.);
iDesc.add<double>("maxDPhiForLooperReconstruction", 2.0);

edm::ParameterSetDescription psdTJ1;
psdTJ1.addNode(edm::PluginDescription<TrajectoryFilterFactory>("ComponentType", true));
iDesc.add<edm::ParameterSetDescription>("trajectoryFilter", psdTJ1);

edm::ParameterSetDescription psdTJ2;
psdTJ2.addNode(edm::PluginDescription<TrajectoryFilterFactory>("ComponentType", true));
iDesc.add<edm::ParameterSetDescription>("inOutTrajectoryFilter", psdTJ2);
}

/*
void GroupedCkfTrajectoryBuilder::setEvent(const edm::Event& event) const
{
Expand Down
3 changes: 3 additions & 0 deletions RecoTracker/CkfPattern/plugins/GroupedCkfTrajectoryBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define GroupedCkfTrajectoryBuilder_H

#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Framework/interface/EventSetup.h"

#include "RecoTracker/CkfPattern/interface/BaseCkfTrajectoryBuilder.h"
Expand All @@ -26,6 +27,8 @@ class dso_internal GroupedCkfTrajectoryBuilder final : public BaseCkfTrajectoryB
/// destructor
~GroupedCkfTrajectoryBuilder() override {}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc);

/// set Event for the internal MeasurementTracker data member
// virtual void setEvent(const edm::Event& event) const;

Expand Down
6 changes: 3 additions & 3 deletions RecoTracker/CkfPattern/plugins/SealModules.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"

#include "FWCore/Framework/interface/MakerMacros.h"

#include "CkfTrackCandidateMaker.h"
Expand All @@ -14,9 +13,10 @@ using cms::CkfTrajectoryMaker;
DEFINE_FWK_MODULE(CkfTrackCandidateMaker);
DEFINE_FWK_MODULE(CkfTrajectoryMaker);

#include "FWCore/ParameterSet/interface/ValidatedPluginMacros.h"
#include "RecoTracker/CkfPattern/interface/BaseCkfTrajectoryBuilderFactory.h"
#include "RecoTracker/CkfPattern/interface/CkfTrajectoryBuilder.h"
#include "GroupedCkfTrajectoryBuilder.h"

DEFINE_EDM_PLUGIN(BaseCkfTrajectoryBuilderFactory, CkfTrajectoryBuilder, "CkfTrajectoryBuilder");
DEFINE_EDM_PLUGIN(BaseCkfTrajectoryBuilderFactory, GroupedCkfTrajectoryBuilder, "GroupedCkfTrajectoryBuilder");
DEFINE_EDM_VALIDATED_PLUGIN(BaseCkfTrajectoryBuilderFactory, CkfTrajectoryBuilder, "CkfTrajectoryBuilder");
DEFINE_EDM_VALIDATED_PLUGIN(BaseCkfTrajectoryBuilderFactory, GroupedCkfTrajectoryBuilder, "GroupedCkfTrajectoryBuilder");
12 changes: 10 additions & 2 deletions RecoTracker/CkfPattern/src/BaseCkfTrajectoryBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ BaseCkfTrajectoryBuilder::BaseCkfTrajectoryBuilder(const edm::ParameterSet& conf
theInOutFilter(std::move(inOutFilter)),
theUpdatorToken(iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("updator")))),
thePropagatorAlongToken(iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("propagatorAlong")))),
thePropagatorOppositeToken(
iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("propagatorOpposite")))),
thePropagatorOppositeToken(iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("propagatorOpposite")))),
theEstimatorToken(iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("estimator")))),
theRecHitBuilderToken(iC.esConsumes(edm::ESInputTag("", conf.getParameter<std::string>("TTRHBuilder")))) {
if (conf.exists("clustersToSkip"))
Expand All @@ -43,6 +42,15 @@ BaseCkfTrajectoryBuilder::BaseCkfTrajectoryBuilder(const edm::ParameterSet& conf

BaseCkfTrajectoryBuilder::~BaseCkfTrajectoryBuilder() {}

void BaseCkfTrajectoryBuilder::fillPSetDescription(edm::ParameterSetDescription& iDesc){
iDesc.add<bool>("seedAs5DHit");
iDesc.add<std::string>("updator");
iDesc.add<std::string>("propagatorAlong");
iDesc.add<std::string>("propagatorOpposite");
iDesc.add<std::string>("estimator");
iDesc.add<std::string>("TTRHBuilder");
}

std::unique_ptr<TrajectoryFilter> BaseCkfTrajectoryBuilder::createTrajectoryFilter(const edm::ParameterSet& pset,
edm::ConsumesCollector& iC) {
return TrajectoryFilterFactory::get()->create(pset.getParameter<std::string>("ComponentType"), pset, iC);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "RecoTracker/CkfPattern/interface/BaseCkfTrajectoryBuilderFactory.h"
#include "FWCore/ParameterSet/interface/ValidatedPluginFactoryMacros.h"

EDM_REGISTER_PLUGINFACTORY(BaseCkfTrajectoryBuilderFactory, "BaseCkfTrajectoryBuilderFactory");
EDM_REGISTER_VALIDATED_PLUGINFACTORY(BaseCkfTrajectoryBuilderFactory, "BaseCkfTrajectoryBuilderFactory");
8 changes: 5 additions & 3 deletions RecoTracker/CkfPattern/src/CkfTrackCandidateMakerBase.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/PluginDescription.h"
#include "FWCore/Utilities/interface/isFinite.h"
#include <FWCore/Utilities/interface/ESInputTag.h>
#include "FWCore/Utilities/interface/ESInputTag.h"

#include "DataFormats/Common/interface/OwnVector.h"
#include "DataFormats/TrackCandidate/interface/TrackCandidateCollection.h"
Expand Down Expand Up @@ -551,8 +552,9 @@ namespace cms {
desc.add<edm::InputTag>("phase2clustersToSkip", edm::InputTag(""));
desc.add<edm::InputTag>("src", edm::InputTag("globalMixedSeeds"));

edm::ParameterSetDescription psd0;
desc.add<edm::ParameterSetDescription>("TrajectoryBuilderPSet", psd0);
edm::ParameterSetDescription psdTB;
psdTB.addNode(edm::PluginDescription<BaseCkfTrajectoryBuilderFactory>("ComponentType", true));
desc.add<edm::ParameterSetDescription>("TrajectoryBuilderPSet", psdTB);

edm::ParameterSetDescription psd1;
psd1.add<std::string>("propagatorAlongTISE", "PropagatorWithMaterial");
Expand Down
13 changes: 9 additions & 4 deletions RecoTracker/CkfPattern/src/CkfTrajectoryBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
using namespace std;

CkfTrajectoryBuilder::CkfTrajectoryBuilder(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: CkfTrajectoryBuilder(conf,
iC,
BaseCkfTrajectoryBuilder::createTrajectoryFilter(
conf.getParameter<edm::ParameterSet>("trajectoryFilter"), iC)) {}
: CkfTrajectoryBuilder(conf, iC, BaseCkfTrajectoryBuilder::createTrajectoryFilter(conf.getParameter<edm::ParameterSet>("trajectoryFilter"), iC)) {}

CkfTrajectoryBuilder::CkfTrajectoryBuilder(const edm::ParameterSet& conf,
edm::ConsumesCollector iC,
Expand All @@ -49,6 +46,14 @@ CkfTrajectoryBuilder::CkfTrajectoryBuilder(const edm::ParameterSet& conf,
*/
}

void CkfTrajectoryBuilder::fillPSetDescription(edm::ParameterSetDescription& iDesc){
BaseCkfTrajectoryBuilder::fillPSetDescription(iDesc);
iDesc.add<int>("maxCand");
iDesc.add<double>("lostHitPenalty");
iDesc.add<bool>("intermediateCleaning");
iDesc.add<bool>("alwaysUseInvalidHits");
}

/*
void CkfTrajectoryBuilder::setEvent(const edm::Event& event) const
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef ChargeSignificanceTrajectoryFilter_H
#define ChargeSignificanceTrajectoryFilter_H

#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"
#include "TrackingTools/PatternTools/interface/Trajectory.h"
#include "TrackingTools/PatternTools/interface/TempTrajectory.h"
Expand All @@ -18,6 +19,10 @@ class ChargeSignificanceTrajectoryFilter final : public TrajectoryFilter {
explicit ChargeSignificanceTrajectoryFilter(const edm::ParameterSet& pset, edm::ConsumesCollector& iC)
: theChargeSignificance(pset.getParameter<double>("chargeSignificance")) {}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc){
iDesc.add<double>("chargeSignificance");
}

bool qualityFilter(const Trajectory& traj) const override { return traj.isValid(); }
bool qualityFilter(const TempTrajectory& traj) const override { return traj.isValid(); }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef CkfBaseTrajectoryFilter_H
#define CkfBaseTrajectoryFilter_H

#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"

#include "TrackingTools/TrajectoryFiltering/interface/ChargeSignificanceTrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/MaxConsecLostHitsTrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/MaxHitsTrajectoryFilter.h"
Expand All @@ -13,7 +13,6 @@
#include "TrackingTools/TrajectoryFiltering/interface/LooperTrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/SeedExtensionTrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/MaxCCCLostHitsTrajectoryFilter.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"

class CkfBaseTrajectoryFilter : public TrajectoryFilter {
public:
Expand All @@ -30,6 +29,19 @@ class CkfBaseTrajectoryFilter : public TrajectoryFilter {
theSeedExtensionTrajectoryFilter(new SeedExtensionTrajectoryFilter(pset, iC)),
theMaxCCCLostHitsTrajectoryFilter(new MaxCCCLostHitsTrajectoryFilter(pset, iC)) {}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc){
ChargeSignificanceTrajectoryFilter::fillPSetDescription(iDesc);
MaxConsecLostHitsTrajectoryFilter::fillPSetDescription(iDesc);
MaxHitsTrajectoryFilter::fillPSetDescription(iDesc);
MaxLostHitsTrajectoryFilter::fillPSetDescription(iDesc);
LostHitsFractionTrajectoryFilter::fillPSetDescription(iDesc);
MinHitsTrajectoryFilter::fillPSetDescription(iDesc);
MinPtTrajectoryFilter::fillPSetDescription(iDesc);
LooperTrajectoryFilter::fillPSetDescription(iDesc);
SeedExtensionTrajectoryFilter::fillPSetDescription(iDesc);
MaxCCCLostHitsTrajectoryFilter::fillPSetDescription(iDesc);
}

void setEvent(const edm::Event& iEvent, const edm::EventSetup& iSetup) override {
theChargeSignificanceTrajectoryFilter->setEvent(iEvent, iSetup);
theMaxLostHitsTrajectoryFilter->setEvent(iEvent, iSetup);
Expand All @@ -50,19 +62,6 @@ class CkfBaseTrajectoryFilter : public TrajectoryFilter {

std::string name() const override { return "CkfBaseTrajectoryFilter"; }

inline edm::ParameterSetDescription getFilledConfigurationDescription() {
edm::ParameterSetDescription descLooper = theLooperTrajectoryFilter->getFilledConfigurationDescription();
edm::ParameterSetDescription descLostHitsFraction =
theLostHitsFractionTrajectoryFilter->getFilledConfigurationDescription();
edm::ParameterSetDescription descMinHits = theMinHitsTrajectoryFilter->getFilledConfigurationDescription();

edm::ParameterSetDescription desc;
desc.add<edm::ParameterSetDescription>("looperTrajectoryFilter", descLooper);
desc.add<edm::ParameterSetDescription>("lostHitsFractionTrajectoryFilter", descLostHitsFraction);
desc.add<edm::ParameterSetDescription>("minHitsTrajectoryFilter", descMinHits);
return desc;
}

protected:
template <class T>
bool QF(const T& traj) const {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CompositeTrajectoryFilter_H
#define CompositeTrajectoryFilter_H

#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilterFactory.h"
#include "TrackingTools/PatternTools/interface/Trajectory.h"
Expand All @@ -26,6 +27,10 @@ class CompositeTrajectoryFilter : public TrajectoryFilter {

~CompositeTrajectoryFilter() override {}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc){
// !!! MISSING
}

void setEvent(const edm::Event& iEvent, const edm::EventSetup& iSetup) override {
for (auto& f : filters) {
f->setEvent(iEvent, iSetup);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef LooperTrajectoryFilter_H
#define LooperTrajectoryFilter_H

#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"

class LooperTrajectoryFilter final : public TrajectoryFilter {
public:
Expand All @@ -19,6 +19,12 @@ class LooperTrajectoryFilter final : public TrajectoryFilter {
theExtraNumberOfHitsBeforeTheFirstLoop = pset.getParameter<int>("extraNumberOfHitsBeforeTheFirstLoop");
}

static void fillPSetDescription(edm::ParameterSetDescription& iDesc){
iDesc.add<int>("minNumberOfHitsForLoopers");
iDesc.add<int>("minNumberOfHitsPerLoop");
iDesc.add<int>("extraNumberOfHitsBeforeTheFirstLoop");
}

bool qualityFilter(const Trajectory& traj) const override { return QF<Trajectory>(traj); }
bool qualityFilter(const TempTrajectory& traj) const override { return QF<TempTrajectory>(traj); }

Expand Down
Loading

0 comments on commit 4352178

Please sign in to comment.