CMS 3D CMS Logo

Namespaces | Functions
TrackstersPCA.h File Reference
#include "DataFormats/HGCalReco/interface/Trackster.h"
#include "DataFormats/CaloRecHit/interface/CaloCluster.h"
#include <vector>
#include "RecoLocalCalo/HGCalRecAlgos/interface/RecHitTools.h"

Go to the source code of this file.

Namespaces

 ticl
 

Functions

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)
 
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)
 
std::pair< float, float > ticl::computeTracksterTime (const Trackster &trackster, const edm::ValueMap< std::pair< float, float >> &layerClustersTime, size_t N)
 
unsigned ticl::getLayerFromLC (const reco::CaloCluster &LC, const hgcal::RecHitTools &rhtools)
 
std::vector< std::vector< unsigned > > ticl::sortByLayer (const Trackster &ts, const std::vector< reco::CaloCluster > &layerClusters, const hgcal::RecHitTools &rhtools)