CMS 3D CMS Logo

HGCalMultiCluster.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_HGCalMultiCluster
2 #define DataFormats_ParticleFlowReco_HGCalMultiCluster
3 
4 #include <vector>
5 #include <limits>
6 
10 
11 namespace reco {
13 
14  public:
17 
19 
21  double x, double y, double z,
22  ClusterCollection &thecls);
23 
25  myclusters.push_back(b);
26  }
27 
29 
30  unsigned int size() const { return myclusters.size(); }
31  component_iterator begin() const { return myclusters.begin(); }
32  component_iterator end() const { return myclusters.end(); }
33 
34  bool operator > (const HGCalMultiCluster& rhs) const {
35  return (energy() > rhs.energy());
36  }
37 
38  private:
40 
41  };
42 }
43 #endif
void setLayer(PFLayer::Layer layer)
set layer
Definition: PFCluster.cc:120
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:47
component_iterator begin() const
double z() const
z coordinate of cluster centroid
Definition: CaloCluster.h:163
unsigned int size() const
const edm::PtrVector< reco::BasicCluster > & clusters() const
void push_back(const edm::Ptr< reco::BasicCluster > &b)
edm::PtrVector< reco::BasicCluster > myclusters
double x() const
x coordinate of cluster centroid
Definition: CaloCluster.h:157
edm::PtrVector< reco::BasicCluster >::const_iterator component_iterator
double energy() const
cluster energy
Definition: PFCluster.h:82
component_iterator end() const
double b
Definition: hdecay.h:120
fixed size matrix
double y() const
y coordinate of cluster centroid
Definition: CaloCluster.h:160
edm::PtrVector< reco::BasicCluster > ClusterCollection
bool operator>(const HGCalMultiCluster &rhs) const