Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:52

0001 #ifndef __PFMultilinksTC__
0002 #define __PFMultilinksTC__
0003 
0004 // Done by Glowinski & Gouzevitch
0005 
0006 #include <vector>
0007 #include "DataFormats/ParticleFlowReco/interface/PFRecTrackFwd.h"
0008 #include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h"
0009 
0010 namespace reco {
0011 
0012   /// \brief Abstract This class is used by the KDTree Track / Ecal Cluster
0013   /// linker to store all found links.
0014   ///
0015   struct PFMultilink {
0016     PFMultilink(const reco::PFClusterRef& clusterref) : trackRef(), clusterRef(clusterref) {}
0017     PFMultilink(const reco::PFRecTrackRef& trackref) : trackRef(trackref), clusterRef() {}
0018     reco::PFRecTrackRef trackRef;
0019     reco::PFClusterRef clusterRef;
0020   };
0021   /// collection of PFSuperCluster objects
0022   typedef std::vector<PFMultilink> PFMultilinksType;
0023   class PFMultiLinksTC {
0024   public:
0025     bool isValid;
0026     PFMultilinksType linkedPFObjects;
0027 
0028   public:
0029     PFMultiLinksTC(bool isvalid = false) : isValid(isvalid) {}
0030   };
0031 }  // namespace reco
0032 
0033 #endif