Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
bool | checkExplainedVarianceRatioCut (ticl::Trackster const &ts) const |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 39 of file SuperclusteringSampleDumper.cc.
|
explicit |
Definition at line 83 of file SuperclusteringSampleDumper.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 137 of file SuperclusteringSampleDumper.cc.
References funct::abs(), cms::cuda::assert(), trackingPlots::assoc, ticl::Trackster::barycenter(), candidateEnergyThreshold_, candidateTracksterAssociationWithSeed_score_, candidateTracksterBestAssociation_simTsIdx_, candidateTracksterBestAssociationScore_, candidateTracksterIdx_, checkExplainedVarianceRatioCut(), deltaEtaWindow_, srCondWrite_cfg::deltaPhi, deltaPhiWindow_, dnnInput_, edm::AssociationMap< Tag >::end(), eventId_, lowptgsfeleseed::features(), features_, edm::AssociationMap< Tag >::find(), edm::Event::getByToken(), testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, edm::EventBase::id(), output_tree_, ticl::Trackster::raw_energy(), ticl::Trackster::raw_pt(), seedPtThreshold_, seedTracksterBestAssociation_caloParticleEnergy_, seedTracksterBestAssociation_simTsIdx_, seedTracksterBestAssociationScore_, seedTracksterIdx_, tracksters_clue3d_token_, and tsRecoToSimCP_token_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 100 of file SuperclusteringSampleDumper.cc.
References cms::cuda::assert(), candidateTracksterAssociationWithSeed_score_, candidateTracksterBestAssociation_simTsIdx_, candidateTracksterBestAssociationScore_, candidateTracksterIdx_, dnnInput_, eventId_, TrackQualityParams_cfi::featureNames, features_, compareTotals::fs, mps_fire::i, output_tree_, seedTracksterBestAssociation_caloParticleEnergy_, seedTracksterBestAssociation_simTsIdx_, seedTracksterBestAssociationScore_, and seedTracksterIdx_.
|
private |
Check if trackster passes cut on explained variance ratio. The DNN is trained only on pairs where both seed and candidate pass this cut Explained variance ratio is (largest PCA eigenvalue) / (sum of PCA eigenvalues)
Definition at line 124 of file SuperclusteringSampleDumper.cc.
References ticl::Trackster::eigenvalues(), explVarRatioCut_energyBoundary_, explVarRatioMinimum_highEnergy_, explVarRatioMinimum_lowEnergy_, f, and ticl::Trackster::raw_energy().
Referenced by analyze().
|
static |
Definition at line 262 of file SuperclusteringSampleDumper.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 55 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().
|
private |
Definition at line 80 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 66 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 52 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 61 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file SuperclusteringSampleDumper.cc.
Referenced by checkExplainedVarianceRatioCut().
|
private |
Definition at line 58 of file SuperclusteringSampleDumper.cc.
Referenced by checkExplainedVarianceRatioCut().
|
private |
Definition at line 57 of file SuperclusteringSampleDumper.cc.
Referenced by checkExplainedVarianceRatioCut().
|
private |
Definition at line 64 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 60 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 54 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file SuperclusteringSampleDumper.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file SuperclusteringSampleDumper.cc.
Referenced by analyze().