#include <TracksterLinkingbySuperClusteringMustache.h>
Public Member Functions | |
void | initialize (const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH) override |
void | linkTracksters (const Inputs &input, std::vector< Trackster > &resultTracksters, std::vector< std::vector< unsigned int >> &linkedResultTracksters, std::vector< std::vector< unsigned int >> &linkedTracksterIdToInputTracksterId) override |
virtual void | setEvent (edm::Event &iEvent, edm::EventSetup const &iEventSetup) override |
TracksterLinkingbySuperClusteringMustache (const edm::ParameterSet &ps, edm::ConsumesCollector iC, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr) | |
~TracksterLinkingbySuperClusteringMustache () override | |
Public Member Functions inherited from ticl::TracksterLinkingAlgoBase | |
TracksterLinkingAlgoBase (const edm::ParameterSet &conf, edm::ConsumesCollector, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr) | |
virtual | ~TracksterLinkingAlgoBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &iDesc) |
Static Public Member Functions inherited from ticl::TracksterLinkingAlgoBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
bool | trackstersPassesPIDCut (const Trackster &ts) const |
Private Attributes | |
float | candidateEnergyThreshold_ |
edm::ESGetToken< EcalMustacheSCParameters, EcalMustacheSCParametersRcd > | ecalMustacheSCParametersToken_ |
edm::ESGetToken< EcalSCDynamicDPhiParameters, EcalSCDynamicDPhiParametersRcd > | ecalSCDynamicDPhiParametersToken_ |
bool | filterByTracksterPID_ |
const EcalMustacheSCParameters * | mustacheSCParams_ |
float | PIDThreshold_ |
const EcalSCDynamicDPhiParameters * | scDynamicDPhiParams_ |
float | seedThresholdPt_ |
std::vector< int > | tracksterPIDCategoriesToFilter_ |
Additional Inherited Members | |
Protected Attributes inherited from ticl::TracksterLinkingAlgoBase | |
int | algo_verbosity_ |
cms::Ort::ONNXRuntime const * | onnxRuntime_ |
Definition at line 29 of file TracksterLinkingbySuperClusteringMustache.h.
TracksterLinkingbySuperClusteringMustache::TracksterLinkingbySuperClusteringMustache | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector | iC, | ||
cms::Ort::ONNXRuntime const * | onnxRuntime = nullptr |
||
) |
Definition at line 17 of file TracksterLinkingbySuperClusteringMustache.cc.
|
inlineoverride |
Definition at line 34 of file TracksterLinkingbySuperClusteringMustache.h.
|
static |
Definition at line 124 of file TracksterLinkingbySuperClusteringMustache.cc.
References submitPVResolutionJobs::desc, ticl::Trackster::electron, ticl::TracksterLinkingAlgoBase::fillPSetDescription(), and ticl::Trackster::photon.
|
overridevirtual |
Implements ticl::TracksterLinkingAlgoBase.
Definition at line 28 of file TracksterLinkingbySuperClusteringMustache.cc.
|
overridevirtual |
resultTracksters : superclusters as tracksters (ie merging of tracksters that have been superclustered together) outputSuperclusters : same as linkedTracksterIdToInputTracksterId. Probably should use only one of the two. linkedTracksterIdToInputTracksterId : maps indices from resultTracksters back into input tracksters. resultTracksters[i] has seed input.tracksters[linkedTracksterIdToInputTracksterId[i][0]], linked with tracksters input.tracksters[linkedTracksterIdToInputTracksterId[i][1..N]]
Implements ticl::TracksterLinkingAlgoBase.
Definition at line 55 of file TracksterLinkingbySuperClusteringMustache.cc.
References ticl::Trackster::barycenter(), candidateEnergyThreshold_, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, reco::MustacheKernel::inDynamicDPhiWindow(), reco::MustacheKernel::inMustache(), input, mustacheSCParams_, ticl::Trackster::raw_energy(), ticl::Trackster::raw_pt(), scDynamicDPhiParams_, seedThresholdPt_, and trackstersPassesPIDCut().
|
overridevirtual |
Reimplemented from ticl::TracksterLinkingAlgoBase.
Definition at line 33 of file TracksterLinkingbySuperClusteringMustache.cc.
References ecalMustacheSCParametersToken_, ecalSCDynamicDPhiParametersToken_, edm::EventSetup::getData(), mustacheSCParams_, and scDynamicDPhiParams_.
|
private |
Definition at line 38 of file TracksterLinkingbySuperClusteringMustache.cc.
References eostools::cat(), filterByTracksterPID_, ticl::Trackster::id_probabilities(), PIDThreshold_, and tracksterPIDCategoriesToFilter_.
Referenced by linkTracksters().
|
private |
Definition at line 57 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by linkTracksters().
|
private |
Definition at line 51 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by setEvent().
|
private |
Definition at line 52 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by setEvent().
|
private |
Definition at line 58 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by trackstersPassesPIDCut().
|
private |
Definition at line 53 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by linkTracksters(), and setEvent().
|
private |
Definition at line 60 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by trackstersPassesPIDCut().
|
private |
Definition at line 54 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by linkTracksters(), and setEvent().
|
private |
Definition at line 56 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by linkTracksters().
|
private |
Definition at line 59 of file TracksterLinkingbySuperClusteringMustache.h.
Referenced by trackstersPassesPIDCut().