#include <DataFormats/ParticleFlowReco/interface/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 (const PFClusterRef &ref, PFBlockElement::Type type) | |
constructor. | |
PFBlockElementCluster () | |
Private Attributes | |
PFClusterRef | clusterRef_ |
reference to the corresponding cluster |
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.
00023 : 00024 PFBlockElement(type), 00025 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().
00027 { 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(), and PFConversionAlgo::setCandidates().
00030 {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.
Referenced by reco::operator<<().
reference to the corresponding cluster
Definition at line 37 of file PFBlockElementCluster.h.
Referenced by clusterRef().