CMS 3D CMS Logo

PFBlockElementCluster.h
Go to the documentation of this file.
1 #ifndef __PFBlockElementCluster__
2 #define __PFBlockElementCluster__
3 
4 #include <iostream>
5 
10 
11 namespace reco {
12 
17  public:
19 
25  :
26  PFBlockElement(type),
27  clusterRef_( ref ) {}
28 
29  PFBlockElement* clone() const { return new PFBlockElementCluster(*this); }
30 
32  const PFClusterRef& clusterRef() const {return clusterRef_;}
34 
36  { superClusterRef_ = ref;}
37 
38  void Dump(std::ostream& out = std::cout,
39  const char* tab = " " ) const;
40 
41  private:
45  };
46 }
47 
48 #endif
49 
type
Definition: HCALResponse.h:21
Abstract base class for a PFBlock element (track, cluster...)
PFBlockElementCluster(const PFClusterRef &ref, PFBlockElement::Type type)
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
PFClusterRef clusterRef_
reference to the corresponding cluster
const PFClusterRef & clusterRef() const
const SuperClusterRef & superClusterRef() const
void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
fixed size matrix
PFBlockElement * clone() const
necessary to have the edm::OwnVector<PFBlockElement> working
void setSuperClusterRef(const SuperClusterRef &ref)