CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PFClusterToRefCandidate.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_PFClusterToRefCandidate_h
2 #define RecoAlgos_PFClusterToRefCandidate_h
9 
10 namespace converter {
11 
17  : MassiveCandidateConverter(cfg, iC) {}
19  c = reco::RecoPFClusterRefCandidate(pfclusterRef, sqrt(massSqr_));
20  }
21  };
22 
23  namespace helper {
24  template <>
25  struct CandConverter<reco::PFCluster> {
27  };
28  } // namespace helper
29 
30 } // namespace converter
31 
32 #endif
const edm::EventSetup & c
tuple cfg
Definition: looper.py:296
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
void convert(reco::PFClusterRef pfclusterRef, reco::RecoPFClusterRefCandidate &c) const
T sqrt(T t)
Definition: SSEVec.h:19
reco::RecoPFClusterRefCandidate Candidate
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9
PFClusterToRefCandidate(const edm::ParameterSet &cfg, edm::ConsumesCollector iC)