-
Notifications
You must be signed in to change notification settings - Fork 4.6k
TICL version 4: CLUE3D as default Pattern Recognition, Linking #38880
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
Changes from all commits
ccabda0
b2864e7
c3f51ca
4b296b5
cb53fdb
f3b9ad5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| # This modifier is for running TICL v3. | ||
|
|
||
| ticl_v3 = cms.Modifier() |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| ticlTrackstersMerge = cms.EDProducer("TrackstersMergeProducer", | ||
| ticlTrackstersMerge = cms.EDProducer("TrackstersMergeProducerV3", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this mean HLT Phase-2 is running an old version of TICL? When will that version be removed? Is there a plan to update HLT to use TICL V4? @trtomei ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @Martin-Grunewald , yes.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @felicepantaleo |
||
| cosangle_align = cms.double(0.9945), | ||
| debug = cms.bool(True), | ||
| e_over_h_threshold = cms.double(1), | ||
| eid_input_name = cms.string('input'), | ||
| eid_min_cluster_energy = cms.double(1), | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| #ifndef RecoHGCal_TICL_LinkingAlgoBase_H__ | ||
| #define RecoHGCal_TICL_LinkingAlgoBase_H__ | ||
|
|
||
| #include <vector> | ||
| #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" | ||
| #include "FWCore/Framework/interface/Event.h" | ||
| #include "FWCore/Framework/interface/EventSetup.h" | ||
| #include "DataFormats/HGCalReco/interface/Trackster.h" | ||
| #include "DataFormats/HGCalReco/interface/TICLCandidate.h" | ||
| #include "DataFormats/TrackReco/interface/Track.h" | ||
| #include "DataFormats/TrackReco/interface/TrackFwd.h" | ||
| #include "DataFormats/MuonReco/interface/Muon.h" | ||
| #include "MagneticField/Engine/interface/MagneticField.h" | ||
| #include "TrackingTools/GeomPropagators/interface/Propagator.h" | ||
| #include "RecoLocalCalo/HGCalRecAlgos/interface/RecHitTools.h" | ||
| #include "Geometry/HGCalCommonData/interface/HGCalDDDConstants.h" | ||
|
|
||
| namespace edm { | ||
| class Event; | ||
| class EventSetup; | ||
| } // namespace edm | ||
|
|
||
| namespace ticl { | ||
| class LinkingAlgoBase { | ||
| public: | ||
| LinkingAlgoBase(const edm::ParameterSet& conf) : algo_verbosity_(conf.getParameter<int>("algo_verbosity")) {} | ||
|
|
||
| virtual ~LinkingAlgoBase(){}; | ||
|
|
||
| virtual void initialize(const HGCalDDDConstants* hgcons, | ||
| const hgcal::RecHitTools rhtools, | ||
| const edm::ESHandle<MagneticField> bfieldH, | ||
| const edm::ESHandle<Propagator> propH) = 0; | ||
|
|
||
| virtual void linkTracksters(const edm::Handle<std::vector<reco::Track>> tkH, | ||
| const edm::ValueMap<float>& tkTime, | ||
| const edm::ValueMap<float>& tkTimeErr, | ||
| const edm::ValueMap<float>& tkTimeQual, | ||
| const std::vector<reco::Muon>& muons, | ||
| const edm::Handle<std::vector<Trackster>> tsH, | ||
| std::vector<TICLCandidate>& resultTracksters) = 0; | ||
|
|
||
| static void fillPSetDescription(edm::ParameterSetDescription& desc) { desc.add<int>("algo_verbosity", 0); }; | ||
|
|
||
| protected: | ||
| int algo_verbosity_; | ||
| }; | ||
| } // namespace ticl | ||
|
|
||
| #endif |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should update also
Configuration/PyReleaseValidation/README.md. It can be done later, no need to do in this PR.