CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
tuple out
Definition: dbtoconf.py:99
void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
PFBlockElement * clone() const
necessary to have the edm::OwnVector&lt;PFBlockElement&gt; working
tuple cout
Definition: gather_cfg.py:121
void setSuperClusterRef(const SuperClusterRef &ref)