Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-13 03:24:05

0001 #ifndef RECOHGCAL_TICL_TRACKSTERSPCA_H
0002 #define RECOHGCAL_TICL_TRACKSTERSPCA_H
0003 
0004 #include "DataFormats/HGCalReco/interface/Trackster.h"
0005 #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
0006 #include <vector>
0007 
0008 namespace ticl {
0009   void assignPCAtoTracksters(std::vector<Trackster> &,
0010                              const std::vector<reco::CaloCluster> &,
0011                              const edm::ValueMap<std::pair<float, float>> &,
0012                              double,
0013                              bool computeLocalTime = false,
0014                              bool energyWeight = true);
0015   std::pair<float, float> computeLocalTracksterTime(const Trackster &trackster,
0016                                                     const std::vector<reco::CaloCluster> &layerClusters,
0017                                                     const edm::ValueMap<std::pair<float, float>> &layerClustersTime,
0018                                                     const Eigen::Vector3d &barycenter,
0019                                                     size_t N);
0020   std::pair<float, float> computeTracksterTime(const Trackster &trackster,
0021                                                const edm::ValueMap<std::pair<float, float>> &layerClustersTime,
0022                                                size_t N);
0023 }  // namespace ticl
0024 #endif