CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

reco::PFSuperCluster Class Reference

Particle flow cluster, see clustering algorithm in PFSuperClusterAlgo. More...

#include <PFSuperCluster.h>

Inheritance diagram for reco::PFSuperCluster:
reco::PFCluster reco::CaloCluster

List of all members.

Public Member Functions

const edm::PtrVector
< reco::PFCluster > & 
clusters () const
 vector of clusters
PFSuperClusteroperator= (const PFSuperCluster &)
 PFSuperCluster (const edm::PtrVector< reco::PFCluster > &clusters)
 constructor
 PFSuperCluster ()
void reset ()
 resets clusters parameters

Private Attributes

edm::PtrVector< reco::PFClusterclusters_
 vector of clusters

Friends

class ::PFSuperClusterAlgo
std::ostream & operator<< (std::ostream &out, const PFSuperCluster &cluster)

Detailed Description

Particle flow cluster, see clustering algorithm in PFSuperClusterAlgo.

A particle flow supercluster is constructed from clusters. This calculation is performed in PFSuperClusterAlgo.

Author:
Chris Tully
Date:
July 2012

Definition at line 26 of file PFSuperCluster.h.


Constructor & Destructor Documentation

reco::PFSuperCluster::PFSuperCluster ( ) [inline]

Definition at line 30 of file PFSuperCluster.h.

{}
PFSuperCluster::PFSuperCluster ( const edm::PtrVector< reco::PFCluster > &  clusters)

constructor

Definition at line 9 of file PFSuperCluster.cc.

                                                                         :
clusters_(clusters)
{  
}

Member Function Documentation

const edm::PtrVector< reco::PFCluster >& reco::PFSuperCluster::clusters ( ) const [inline]

vector of clusters

Definition at line 39 of file PFSuperCluster.h.

References clusters_.

      { return clusters_; }
PFSuperCluster & PFSuperCluster::operator= ( const PFSuperCluster other)

Definition at line 21 of file PFSuperCluster.cc.

References clusters_.

                                                                     {

  PFCluster::operator=((PFCluster)other); 
  clusters_ = other.clusters_;

  return *this;
}
void PFSuperCluster::reset ( void  )

resets clusters parameters

Reimplemented from reco::PFCluster.

Definition at line 14 of file PFSuperCluster.cc.

References edm::PtrVectorBase::clear(), and clusters_.


Friends And Related Function Documentation

friend class ::PFSuperClusterAlgo [friend]

Definition at line 52 of file PFSuperCluster.h.

std::ostream& operator<< ( std::ostream &  out,
const PFSuperCluster cluster 
) [friend]

Member Data Documentation

vector of clusters

Definition at line 50 of file PFSuperCluster.h.

Referenced by clusters(), operator=(), and reset().