#include <Trackster.h>
Public Types | |
enum | IterationIndex { TRKEM = 0, EM, TRKHAD, HAD, MIP, SIM, SIM_CP } |
enum | ParticleType { ParticleType::photon = 0, ParticleType::electron, ParticleType::muon, ParticleType::neutral_pion, ParticleType::charged_hadron, ParticleType::neutral_hadron, ParticleType::ambiguous, ParticleType::unknown } |
enum | PCAOrdering { PCAOrdering::ascending = 0, PCAOrdering::descending } |
typedef math::XYZVectorF | Vector |
Public Member Functions | |
void | addToRawEmEnergy (float value) |
void | addToRawEnergy (float value) |
const Vector & | barycenter () const |
const float | boundaryTime () const |
std::vector< std::array< unsigned int, 2 > > & | edges () |
const std::vector< std::array< unsigned int, 2 > > & | edges () const |
const std::array< float, 3 > & | eigenvalues () const |
const std::array< Vector, 3 > & | eigenvectors () const |
const Vector & | eigenvectors (int index) const |
void | fillPCAVariables (Eigen::Vector3f const &eigenvalues, Eigen::Matrix3f const &eigenvectors, Eigen::Vector3f const &sigmas, Eigen::Vector3f const &sigmasEigen, size_t pcadimension, PCAOrdering order) |
const std::array< float, 8 > & | id_probabilities () const |
const float | id_probabilities (int index) const |
float | id_probability (ParticleType type) const |
bool | isHadronic (float th=0.5f) const |
void | mergeTracksters (const Trackster &other) |
void | mergeTracksters (const std::vector< Trackster > &others) |
const float | raw_em_energy () const |
const float | raw_em_pt () const |
const float | raw_energy () const |
const float | raw_pt () const |
const float | regressed_energy () const |
const edm::ProductID & | seedID () const |
const int | seedIndex () const |
void | setBarycenter (Vector value) |
void | setBoundaryTime (float t) |
void | setIdProbability (ParticleType type, float value) |
void | setIteration (const Trackster::IterationIndex i) |
void | setProbabilities (float *probs) |
void | setRawEmEnergy (float value) |
void | setRawEmPt (float value) |
void | setRawEnergy (float value) |
void | setRawPt (float value) |
void | setRegressedEnergy (float value) |
void | setSeed (edm::ProductID pid, int index) |
void | setTimeAndError (float t, float tError) |
void | setTrackIdx (int index) |
const std::array< float, 3 > & | sigmas () const |
const std::array< float, 3 > & | sigmasPCA () const |
const Trackster::IterationIndex | ticlIteration () const |
const float | time () const |
const float | timeError () const |
int | trackIdx () const |
Trackster () | |
std::vector< float > & | vertex_multiplicity () |
const std::vector< float > & | vertex_multiplicity () const |
const float | vertex_multiplicity (int index) const |
std::vector< unsigned int > & | vertices () |
const std::vector< unsigned int > & | vertices () const |
const unsigned int | vertices (int index) const |
void | zeroProbabilities () |
Private Member Functions | |
void | operator+= (const Trackster &other) |
void | removeDuplicates () |
Private Attributes | |
Vector | barycenter_ |
float | boundTime_ |
std::vector< std::array< unsigned int, 2 > > | edges_ |
std::array< float, 3 > | eigenvalues_ |
std::array< Vector, 3 > | eigenvectors_ |
std::array< float, 8 > | id_probabilities_ |
uint8_t | iterationIndex_ |
float | raw_em_energy_ |
float | raw_em_pt_ |
float | raw_energy_ |
float | raw_pt_ |
float | regressed_energy_ |
edm::ProductID | seedID_ |
int | seedIndex_ |
std::array< float, 3 > | sigmas_ |
std::array< float, 3 > | sigmasPCA_ |
float | time_ |
float | timeError_ |
int | track_idx_ = -1 |
std::vector< float > | vertex_multiplicity_ |
std::vector< unsigned int > | vertices_ |
Definition at line 19 of file Trackster.h.
Definition at line 21 of file Trackster.h.
Enumerator | |
---|---|
TRKEM | |
EM | |
TRKHAD | |
HAD | |
MIP | |
SIM | |
SIM_CP |
Definition at line 23 of file Trackster.h.
|
strong |
Enumerator | |
---|---|
photon | |
electron | |
muon | |
neutral_pion | |
charged_hadron | |
neutral_hadron | |
ambiguous | |
unknown |
Definition at line 26 of file Trackster.h.
|
strong |
Enumerator | |
---|---|
ascending | |
descending |
Definition at line 37 of file Trackster.h.
|
inline |
Definition at line 39 of file Trackster.h.
|
inline |
Definition at line 72 of file Trackster.h.
References raw_em_energy_, and relativeConstraints::value.
|
inline |
|
inline |
Definition at line 159 of file Trackster.h.
References barycenter_.
Referenced by SuperclusteringSampleDumper::analyze(), FWTracksterProxyBuilder::build(), ticl::SuperclusteringDNNInputV1::computeVector(), ticl::SuperclusteringDNNInputV2::computeVector(), ticl::TracksterLinkingbySkeletons::findSkeletonNodes(), ticl::TracksterLinkingbySkeletons::linkTracksters(), ticl::TracksterLinkingbySuperClusteringMustache::linkTracksters(), ticl::TracksterLinkingbySuperClusteringDNN::linkTracksters(), EGammaSuperclusterProducer::produce(), and ticl::GeneralInterpretationAlgo::timeAndEnergyCompatible().
|
inline |
|
inline |
Definition at line 59 of file Trackster.h.
References edges_.
Referenced by FWTracksterHitsProxyBuilder::build(), and FWTracksterLayersProxyBuilder::build().
|
inline |
Definition at line 148 of file Trackster.h.
References edges_.
|
inline |
Definition at line 160 of file Trackster.h.
References eigenvalues_.
Referenced by FWTracksterProxyBuilder::build(), ticl::TracksterLinkingbySuperClusteringDNN::checkExplainedVarianceRatioCut(), SuperclusteringSampleDumper::checkExplainedVarianceRatioCut(), ticl::SuperclusteringDNNInputV2::computeVector(), and fillPCAVariables().
|
inline |
Definition at line 161 of file Trackster.h.
References eigenvectors_.
Referenced by ticl::SuperclusteringDNNInputV2::computeVector(), fillPCAVariables(), and ticl::TracksterLinkingbySkeletons::findSkeletonNodes().
|
inline |
|
inline |
Definition at line 98 of file Trackster.h.
References ascending, barycenter_, eigenvalues(), eigenvalues_, eigenvectors(), eigenvectors_, nano_mu_digi_cff::float, mps_fire::i, eventshapeDQM_cfi::order, perp2(), raw_em_energy_, raw_em_pt_, raw_energy_, raw_pt_, sigmas(), sigmas_, sigmasPCA_, and mathSSE::sqrt().
|
inline |
Definition at line 165 of file Trackster.h.
References id_probabilities_.
Referenced by ticl::TracksterLinkingbySuperClusteringDNN::trackstersPassesPIDCut(), and ticl::TracksterLinkingbySuperClusteringMustache::trackstersPassesPIDCut().
|
inline |
Definition at line 166 of file Trackster.h.
References id_probabilities_.
|
inline |
Definition at line 169 of file Trackster.h.
References id_probabilities_, and createfilelist::int.
Referenced by isHadronic().
|
inline |
Definition at line 78 of file Trackster.h.
References electron, id_probability(), and photon.
|
inline |
Definition at line 81 of file Trackster.h.
References trackingPlots::other, removeDuplicates(), and zeroProbabilities().
Referenced by ticl::TracksterLinkingbySkeletons::linkTracksters(), ticl::TracksterLinkingbyFastJet::linkTracksters(), and ticl::GeneralInterpretationAlgo::makeCandidates().
|
inline |
Definition at line 89 of file Trackster.h.
References trackingPlots::other, removeDuplicates(), and zeroProbabilities().
|
inlineprivate |
Definition at line 240 of file Trackster.h.
References filterCSVwithJSON::copy, trackingPlots::other, raw_em_energy_, raw_em_pt_, raw_energy_, raw_pt_, vertex_multiplicity_, and vertices_.
|
inline |
|
inline |
|
inline |
Definition at line 154 of file Trackster.h.
References raw_energy_.
Referenced by SuperclusteringSampleDumper::analyze(), ticl::TracksterLinkingbySkeletons::areCompatible(), SuperclusteringSampleDumper::checkExplainedVarianceRatioCut(), ticl::TracksterLinkingbySuperClusteringDNN::checkExplainedVarianceRatioCut(), ticl::SuperclusteringDNNInputV1::computeVector(), ticl::SuperclusteringDNNInputV2::computeVector(), ticl::TracksterLinkingbySkeletons::findSkeletonNodes(), ticl::TracksterLinkingbySuperClusteringMustache::linkTracksters(), ticl::TracksterLinkingbySuperClusteringDNN::linkTracksters(), EGammaSuperclusterProducer::produce(), ticl::GeneralInterpretationAlgo::timeAndEnergyCompatible(), and ticl::LinkingAlgoByDirectionGeometric::timeAndEnergyCompatible().
|
inline |
Definition at line 156 of file Trackster.h.
References raw_pt_.
Referenced by SuperclusteringSampleDumper::analyze(), ticl::TracksterLinkingbySuperClusteringMustache::linkTracksters(), ticl::TracksterLinkingbySuperClusteringDNN::linkTracksters(), and EGammaSuperclusterProducer::produce().
|
inline |
Definition at line 153 of file Trackster.h.
References regressed_energy_.
Referenced by ticl::TracksterP4FromEnergySum::calcP4().
|
inlineprivate |
Definition at line 221 of file Trackster.h.
References HLT_2024v14_cff::distance, spr::find(), GetRecoTauVFromDQM_MC_cff::next, jetUpdater_cfi::sort, vertex_multiplicity_, and vertices_.
Referenced by mergeTracksters().
|
inline |
Definition at line 149 of file Trackster.h.
References seedID_.
Referenced by HGVHistoProducerAlgo::tracksters_to_SimTracksters().
|
inline |
Definition at line 150 of file Trackster.h.
References seedIndex_.
Referenced by HGVHistoProducerAlgo::tracksters_to_SimTracksters().
|
inline |
|
inline |
Definition at line 141 of file Trackster.h.
References boundTime_, and submitPVValidationJobs::t.
Referenced by SimTrackstersProducer::addTrackster().
|
inline |
Definition at line 139 of file Trackster.h.
References id_probabilities_, createfilelist::int, and relativeConstraints::value.
Referenced by SimTrackstersProducer::addTrackster().
|
inline |
Definition at line 56 of file Trackster.h.
References mps_fire::i, and iterationIndex_.
Referenced by SimTrackstersProducer::addTrackster().
|
inline |
Definition at line 134 of file Trackster.h.
References id_probabilities_, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 71 of file Trackster.h.
References raw_em_energy_, and relativeConstraints::value.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 68 of file Trackster.h.
References regressed_energy_, and relativeConstraints::value.
Referenced by SimTrackstersProducer::addTrackster().
|
inline |
Definition at line 60 of file Trackster.h.
References seedID_, and seedIndex_.
Referenced by SimTrackstersProducer::addTrackster(), and SimTrackstersProducer::makePUTrackster().
|
inline |
Definition at line 64 of file Trackster.h.
References submitPVValidationJobs::t, time_, and timeError_.
|
inline |
Definition at line 76 of file Trackster.h.
References track_idx_.
Referenced by TrackstersMergeProducer::produce().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 151 of file Trackster.h.
References time_.
Referenced by TICLCandidate::addTrackster(), ticl::GeneralInterpretationAlgo::timeAndEnergyCompatible(), and ticl::LinkingAlgoByDirectionGeometric::timeAndEnergyCompatible().
|
inline |
Definition at line 152 of file Trackster.h.
References timeError_.
Referenced by TICLCandidate::addTrackster(), ticl::GeneralInterpretationAlgo::timeAndEnergyCompatible(), and ticl::LinkingAlgoByDirectionGeometric::timeAndEnergyCompatible().
|
inline |
|
inline |
Definition at line 58 of file Trackster.h.
References vertex_multiplicity_.
Referenced by SimTrackstersProducer::addTrackster(), ticl::TracksterP4FromEnergySum::calcP4(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), SimTrackstersProducer::makePUTrackster(), ticl::PatternRecognitionbyPassthrough< TILES >::makeTracksters(), and HGVHistoProducerAlgo::tracksters_to_SimTracksters().
|
inline |
Definition at line 146 of file Trackster.h.
References vertex_multiplicity_.
|
inline |
Definition at line 147 of file Trackster.h.
References vertex_multiplicity_.
|
inline |
Definition at line 57 of file Trackster.h.
References vertices_.
Referenced by SimTrackstersProducer::addTrackster(), ticl::TracksterLinkingbySkeletons::areCompatible(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), ticl::TracksterP4FromEnergySum::calcP4(), ticl::computeLocalTracksterTime(), ticl::computeTracksterTime(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), ticl::TracksterLinkingbySkeletons::findSkeletonNodes(), SimTrackstersProducer::makePUTrackster(), ticl::PatternRecognitionbyPassthrough< TILES >::makeTracksters(), ticl::sortByLayer(), and HGVHistoProducerAlgo::tracksters_to_SimTracksters().
|
inline |
|
inline |
|
inline |
Definition at line 129 of file Trackster.h.
References id_probabilities_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by mergeTracksters().
|
private |
Definition at line 175 of file Trackster.h.
Referenced by barycenter(), fillPCAVariables(), and setBarycenter().
|
private |
Definition at line 179 of file Trackster.h.
Referenced by boundaryTime(), and setBoundaryTime().
|
private |
Definition at line 217 of file Trackster.h.
Referenced by edges().
|
private |
Definition at line 208 of file Trackster.h.
Referenced by eigenvalues(), and fillPCAVariables().
|
private |
Definition at line 207 of file Trackster.h.
Referenced by eigenvectors(), and fillPCAVariables().
|
private |
Definition at line 184 of file Trackster.h.
Referenced by id_probabilities(), id_probability(), setIdProbability(), setProbabilities(), and zeroProbabilities().
|
private |
Definition at line 220 of file Trackster.h.
Referenced by setIteration(), and ticlIteration().
|
private |
Definition at line 192 of file Trackster.h.
Referenced by addToRawEmEnergy(), fillPCAVariables(), operator+=(), raw_em_energy(), and setRawEmEnergy().
|
private |
Definition at line 191 of file Trackster.h.
Referenced by fillPCAVariables(), operator+=(), raw_em_pt(), and setRawEmPt().
|
private |
Definition at line 177 of file Trackster.h.
Referenced by addToRawEnergy(), fillPCAVariables(), operator+=(), raw_energy(), and setRawEnergy().
|
private |
Definition at line 190 of file Trackster.h.
Referenced by fillPCAVariables(), operator+=(), raw_pt(), and setRawPt().
|
private |
Definition at line 176 of file Trackster.h.
Referenced by regressed_energy(), and setRegressedEnergy().
|
private |
Definition at line 198 of file Trackster.h.
|
private |
Definition at line 204 of file Trackster.h.
Referenced by seedIndex(), and setSeed().
|
private |
Definition at line 209 of file Trackster.h.
Referenced by fillPCAVariables(), and sigmas().
|
private |
Definition at line 210 of file Trackster.h.
Referenced by fillPCAVariables(), and sigmasPCA().
|
private |
Definition at line 180 of file Trackster.h.
Referenced by setTimeAndError(), and time().
|
private |
Definition at line 181 of file Trackster.h.
Referenced by setTimeAndError(), and timeError().
|
private |
Definition at line 205 of file Trackster.h.
Referenced by setTrackIdx(), and trackIdx().
|
private |
Definition at line 189 of file Trackster.h.
Referenced by operator+=(), removeDuplicates(), and vertex_multiplicity().
|
private |
Definition at line 188 of file Trackster.h.
Referenced by operator+=(), removeDuplicates(), and vertices().