Cluster Element. More...
#include <PFBlockElementCluster.h>
Public Member Functions | |
PFBlockElement * | clone () 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 |
Cluster Element.
this class contains a reference to a PFCluster
Definition at line 14 of file PFBlockElementCluster.h.
reco::PFBlockElementCluster::PFBlockElementCluster | ( | ) | [inline] |
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.
: PFBlockElement(type), clusterRef_( ref ) {}
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] |
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.
reference to the corresponding cluster
Definition at line 37 of file PFBlockElementCluster.h.
Referenced by clusterRef().