CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::PFBlockElementCluster Class Reference

Cluster Element. More...

#include <PFBlockElementCluster.h>

Inheritance diagram for reco::PFBlockElementCluster:
reco::PFBlockElement

List of all members.

Public Member Functions

PFBlockElementclone () const
 necessary to have the edm::OwnVector<PFBlockElement> working
PFClusterRef clusterRef () const
void Dump (std::ostream &out=std::cout, const char *tab=" ") const
 print the object inside the element
 PFBlockElementCluster ()
 PFBlockElementCluster (const PFClusterRef &ref, PFBlockElement::Type type)
 constructor. type must be equal to PS1, PS2, ECAL, HCAL.

Private Attributes

PFClusterRef clusterRef_
 reference to the corresponding cluster

Detailed Description

Cluster Element.

this class contains a reference to a PFCluster

Definition at line 14 of file PFBlockElementCluster.h.


Constructor & Destructor Documentation

reco::PFBlockElementCluster::PFBlockElementCluster ( ) [inline]

Definition at line 16 of file PFBlockElementCluster.h.

Referenced by clone().

{} 
reco::PFBlockElementCluster::PFBlockElementCluster ( const PFClusterRef ref,
PFBlockElement::Type  type 
) [inline]

constructor. type must be equal to PS1, PS2, ECAL, HCAL.

Definition at line 21 of file PFBlockElementCluster.h.


Member Function Documentation

PFBlockElement* reco::PFBlockElementCluster::clone ( ) const [inline, virtual]

necessary to have the edm::OwnVector<PFBlockElement> working

Implements reco::PFBlockElement.

Definition at line 27 of file PFBlockElementCluster.h.

References PFBlockElementCluster().

{ return new PFBlockElementCluster(*this); }
PFClusterRef reco::PFBlockElementCluster::clusterRef ( ) const [inline, virtual]
Returns:
reference to the corresponding cluster

Reimplemented from reco::PFBlockElement.

Definition at line 30 of file PFBlockElementCluster.h.

References clusterRef_.

Referenced by PFElectronAlgo::SetCandidates(), PFConversionAlgo::setCandidates(), PFElectronAlgo::SetIDOutputs(), and PFElectronAlgo::SetLinks().

{return clusterRef_;}
void reco::PFBlockElementCluster::Dump ( std::ostream &  out = std::cout,
const char *  tab = " " 
) const [virtual]

print the object inside the element

Reimplemented from reco::PFBlockElement.


Member Data Documentation

reference to the corresponding cluster

Definition at line 37 of file PFBlockElementCluster.h.

Referenced by clusterRef().