Enumerations | |
enum | validationType { Linking = 0, PatternRecognition, PatternRecognition_CP } |
enum | VerbosityLevel { None = 0, Basic, Advanced, Expert, Guru } |
Functions | |
template<class Vector1 , class Vector2 > | |
float | Angle2D (const Vector1 &v1, const Vector2 &v2) |
void | assignPCAtoTracksters (std::vector< Trackster > &tracksters, const std::vector< reco::CaloCluster > &layerClusters, const edm::ValueMap< std::pair< float, float >> &layerClustersTime, double z_limit_em, hgcal::RecHitTools const &rhTools, bool computeLocalTime=false, bool energyWeight=true, bool clean=false, int minLayer=10, int maxLayer=10) |
std::pair< float, float > | computeLocalTracksterTime (const Trackster &trackster, const std::vector< reco::CaloCluster > &layerClusters, const edm::ValueMap< std::pair< float, float >> &layerClustersTime, const Eigen::Vector3f &barycenter, size_t N) |
std::pair< float, float > | computeTracksterTime (const Trackster &trackster, const edm::ValueMap< std::pair< float, float >> &layerClustersTime, size_t N) |
template<class Vector1 , class Vector2 > | |
float | CosTheta2D (const Vector1 &v1, const Vector2 &v2) |
unsigned | getLayerFromLC (const reco::CaloCluster &LC, const hgcal::RecHitTools &rhtools) |
std::unique_ptr< AbstractSuperclusteringDNNInput > | makeSuperclusteringDNNInputFromString (std::string dnnVersion) |
std::vector< std::vector< unsigned > > | sortByLayer (const Trackster &ts, const std::vector< reco::CaloCluster > &layerClusters, const hgcal::RecHitTools &rhtools) |
Trackster::ParticleType | tracksterParticleTypeFromPdgId (int pdgId, int charge) |
Variables | |
constexpr double | mpion = 0.13957 |
constexpr float | mpion2 = mpion * mpion |
Computation of input features for superclustering DNN. Used by plugins/TracksterLinkingBySuperClustering.cc and plugins/SuperclusteringSampleDumper.cc
typedef std::tuple< tracksterToSimTrackster, simTracksterToTrackster > ticl::association |
Definition at line 64 of file LCToCPAssociatorByEnergyScoreImpl.h.
typedef std::tuple<sharedEnergyAndScore_t, sharedEnergyAndScore_t> ticl::association_t |
Definition at line 20 of file TracksterToSimTracksterHitLCAssociatorBaseImpl.h.
typedef std::vector<std::vector<ticl::caloParticleOnLayer> > ticl::caloParticleToLayerCluster |
Definition at line 60 of file LCToCPAssociatorByEnergyScoreImpl.h.
typedef std::vector<std::vector<std::pair<unsigned int, float> > > ticl::layerClusterToCaloParticle |
Definition at line 57 of file LCToCPAssociatorByEnergyScoreImpl.h.
typedef std::vector<std::vector<std::pair<unsigned int, float> > > ticl::layerClusterToSimCluster |
Definition at line 54 of file LCToSCAssociatorByEnergyScoreImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<reco::CaloClusterCollection, CaloParticleCollection, float> > ticl::RecoToSimCollection |
Definition at line 26 of file LayerClusterToCaloParticleAssociatorBaseImpl.h.
Definition at line 27 of file TracksterToSimTracksterAssociatorBaseImpl.h.
typedef edm::AssociationMap<edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, SimClusterCollection, float> > ticl::RecoToSimCollectionTracksters |
Definition at line 26 of file TracksterToSimClusterAssociatorBaseImpl.h.
typedef edm::AssociationMap<edm::OneToManyWithQualityGeneric<reco::CaloClusterCollection, SimClusterCollection, float> > ticl::RecoToSimCollectionWithSimClusters |
Definition at line 25 of file LayerClusterToSimClusterAssociatorBaseImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<reco::CaloClusterCollection, ticl::TracksterCollection, float> > ticl::RecoToSimTracksterCollection |
Definition at line 30 of file LayerClusterToSimTracksterAssociatorBaseImpl.h.
typedef std::vector<std::vector<std::pair<float, float> > > ticl::sharedEnergyAndScore_t |
Definition at line 17 of file TracksterToSimTracksterHitLCAssociatorBaseImpl.h.
typedef std::vector<std::vector<ticl::simClusterOnCLayer> > ticl::simClusterToLayerCluster |
Definition at line 57 of file LCToSCAssociatorByEnergyScoreImpl.h.
typedef std::vector<ticl::simClusterOnBLayer> ticl::simClusterToTrackster |
Definition at line 36 of file TSToSCAssociatorByEnergyScoreImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<CaloParticleCollection, reco::CaloClusterCollection, std::pair<float, float> > > ticl::SimToRecoCollection |
Definition at line 23 of file LayerClusterToCaloParticleAssociatorBaseImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric< ticl::TracksterCollection, ticl::TracksterCollection, std::pair< float, float > > > ticl::SimToRecoCollectionSimTracksters |
Definition at line 24 of file TracksterToSimTracksterAssociatorBaseImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<SimClusterCollection, ticl::TracksterCollection, std::pair<float, float> > > ticl::SimToRecoCollectionTracksters |
Definition at line 24 of file TracksterToSimClusterAssociatorBaseImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<SimClusterCollection, reco::CaloClusterCollection, std::pair<float, float> > > ticl::SimToRecoCollectionWithSimClusters |
Definition at line 23 of file LayerClusterToSimClusterAssociatorBaseImpl.h.
typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, reco::CaloClusterCollection, std::pair<float, float> > > ticl::SimTracksterToRecoCollection |
Definition at line 27 of file LayerClusterToSimTracksterAssociatorBaseImpl.h.
typedef std::vector<ticl::simTracksterOnLayer> ticl::simTracksterToTrackster |
Definition at line 62 of file TSToSimTSAssociatorByEnergyScoreImpl.h.
typedef std::vector<std::pair<unsigned int, float> > ticl::TICLClusterFilterMask |
using ticl::TICLLayerTile = typedef TICLLayerTileT<TileConstants> |
Definition at line 78 of file TICLLayerTile.h.
using ticl::TICLLayerTileHFNose = typedef TICLLayerTileT<TileConstantsHFNose> |
Definition at line 82 of file TICLLayerTile.h.
using ticl::Tiles = typedef std::array<TICLLayerTile, TileConstants::nLayers> |
Definition at line 79 of file TICLLayerTile.h.
using ticl::TilesHFNose = typedef std::array<TICLLayerTileHFNose, TileConstantsHFNose::nLayers> |
Definition at line 83 of file TICLLayerTile.h.
typedef std::vector<Trackster> ticl::TracksterCollection |
Definition at line 254 of file Trackster.h.
using ticl::TracksterTiles = typedef std::array<TICLLayerTile, TileConstants::iterations> |
Definition at line 80 of file TICLLayerTile.h.
using ticl::TracksterTilesHFNose = typedef std::array<TICLLayerTileHFNose, TileConstantsHFNose::iterations> |
Definition at line 84 of file TICLLayerTile.h.
typedef std::vector<std::vector<std::pair<unsigned int, float> > > ticl::tracksterToSimCluster |
Definition at line 35 of file TSToSCAssociatorByEnergyScoreImpl.h.
typedef std::vector<std::vector<std::pair<unsigned int, std::pair<float, float> > > > ticl::tracksterToSimTrackster |
Definition at line 59 of file TSToSimTSAssociatorByEnergyScoreImpl.h.
typedef math::XYZVectorF ticl::Vector |
enum ticl::validationType |
Enumerator | |
---|---|
Linking | |
PatternRecognition | |
PatternRecognition_CP |
Definition at line 15 of file TracksterToSimTracksterHitLCAssociatorBaseImpl.h.
enum ticl::VerbosityLevel |
Enumerator | |
---|---|
None | |
Basic | |
Advanced | |
Expert | |
Guru |
Definition at line 71 of file Common.h.
|
inline |
Definition at line 59 of file SuperclusteringDNNInputs.cc.
References CosTheta2D().
Referenced by ticl::SuperclusteringDNNInputV2::computeVector().
void ticl::assignPCAtoTracksters | ( | std::vector< Trackster > & | tracksters, |
const std::vector< reco::CaloCluster > & | layerClusters, | ||
const edm::ValueMap< std::pair< float, float >> & | layerClustersTime, | ||
double | z_limit_em, | ||
hgcal::RecHitTools const & | rhTools, | ||
bool | computeLocalTime = false , |
||
bool | energyWeight = true , |
||
bool | clean = false , |
||
int | minLayer = 10 , |
||
int | maxLayer = 10 |
||
) |
Computes the trackster raw energy, barycenter, timing, PCA. PCA is computed using layer cluster positions (and energies if energyWeight=True) In case clean=True: Only the most energetic layer cluster on each layer is considered, and only layers in range around the most energetic layer cluster
z_limit_em | Limit between EM and HAD section (in absolute value) |
energyWeight | Compute energy-weighted barycenter and PCA |
clean | Use the PCA cleaning algorithm. |
minLayer | Number of layers to consider for cleaned PCA behind the most energetic LC |
maxLayer | Number of layers to consider for cleaned PCA after the most energetic LC |
< Number of layer clusters in trackster
Definition at line 14 of file TrackstersPCA.cc.
References funct::abs(), ticl::Trackster::ascending, DummyCfis::c, clean(), hltHGCalUncalibRecHit_cfi::computeLocalTime, computeLocalTracksterTime(), computeTracksterTime(), HLT_2024v14_cff::distance, f, HLT_2024v14_cff::fraction, getLayerFromLC(), mps_fire::i, dqmiolumiharvest::j, hgcal::RecHitTools::lastLayer(), hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, LogDebug, HLT_2024v14_cff::minLayer, N, point, sortByLayer(), Success, mps_merge::weight, x, and detailsBasic3DVector::y.
Referenced by ticl::PatternRecognitionbyCLUE3D< TILES >::makeTracksters(), ticl::PatternRecognitionbyPassthrough< TILES >::makeTracksters(), ticl::PatternRecognitionbyCA< TILES >::makeTracksters(), ticl::PatternRecognitionbyFastJet< TILES >::makeTracksters(), TracksterLinksProducer::produce(), TrackstersMergeProducer::produce(), SimTrackstersProducer::produce(), and TICLCandidateProducer::produce().
std::pair< float, float > ticl::computeLocalTracksterTime | ( | const Trackster & | trackster, |
const std::vector< reco::CaloCluster > & | layerClusters, | ||
const edm::ValueMap< std::pair< float, float >> & | layerClustersTime, | ||
const Eigen::Vector3f & | barycenter, | ||
size_t | N | ||
) |
Definition at line 239 of file TrackstersPCA.cc.
References funct::abs(), DummyCfis::c, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), HLT_2024v14_cff::distance, f, dqmdumpme::first, mps_fire::i, hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, N, point, funct::pow(), edm::second(), mathSSE::sqrt(), hcalRecHitTable_cff::time, ticl::Trackster::vertices(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by assignPCAtoTracksters().
std::pair< float, float > ticl::computeTracksterTime | ( | const Trackster & | trackster, |
const edm::ValueMap< std::pair< float, float >> & | layerClustersTime, | ||
size_t | N | ||
) |
Definition at line 306 of file TrackstersPCA.cc.
References f, dqmdumpme::first, hgcalsimclustertime::ComputeClusterTime::fixSizeHighestDensity(), mps_fire::i, N, funct::pow(), edm::second(), and ticl::Trackster::vertices().
Referenced by assignPCAtoTracksters().
float ticl::CosTheta2D | ( | const Vector1 & | v1, |
const Vector2 & | v2 | ||
) |
Definition at line 40 of file SuperclusteringDNNInputs.cc.
References mathSSE::sqrt().
Referenced by Angle2D().
|
inline |
Definition at line 40 of file TrackstersPCA.h.
References dqmdumpme::first, hgcal::RecHitTools::getLayerWithOffset(), and reco::CaloCluster::hitsAndFractions().
Referenced by assignPCAtoTracksters(), and sortByLayer().
std::unique_ptr< AbstractSuperclusteringDNNInput > ticl::makeSuperclusteringDNNInputFromString | ( | std::string | dnnVersion | ) |
Definition at line 108 of file SuperclusteringDNNInputs.cc.
References cms::cuda::assert().
|
inline |
Definition at line 47 of file TrackstersPCA.h.
References getLayerFromLC(), mps_fire::i, hgcal::RecHitTools::lastLayer(), hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, N, mps_fire::result, and ticl::Trackster::vertices().
Referenced by assignPCAtoTracksters().
|
inline |
Definition at line 44 of file Common.h.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, ticl::Trackster::charged_hadron, ticl::Trackster::electron, ticl::Trackster::muon, ticl::Trackster::neutral_hadron, ticl::Trackster::neutral_pion, EgammaValidation_cff::pdgId, ticl::Trackster::photon, and ticl::Trackster::unknown.
Referenced by SimTrackstersProducer::addTrackster(), TICLCandidateValidator::fillCandidateHistos(), and SimTrackstersProducer::produce().
constexpr double ticl::mpion = 0.13957 |
Definition at line 40 of file Common.h.
Referenced by TrackstersMergeProducer::produce().
Definition at line 41 of file Common.h.
Referenced by filterTracks(), ticl::LinkingAlgoByDirectionGeometric::linkTracksters(), TICLCandidateFromTrackstersProducer::produce(), SimPFProducer::produce(), TrackstersMergeProducer::produce(), and ticl::TracksterP4FromTrackAndPCA::setP4().