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 
8 
9 namespace reco {
10 
15  public:
17 
23  :
24  PFBlockElement(type),
25  clusterRef_( ref ) {}
26 
27  PFBlockElement* clone() const { return new PFBlockElementCluster(*this); }
28 
31 
32  void Dump(std::ostream& out = std::cout,
33  const char* tab = " " ) const;
34 
35  private:
38  };
39 }
40 
41 #endif
42 
type
Definition: HCALResponse.h:22
Abstract base class for a PFBlock element (track, cluster...)
PFClusterRef clusterRef() const
PFBlockElementCluster(const PFClusterRef &ref, PFBlockElement::Type type)
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
PFClusterRef clusterRef_
reference to the corresponding cluster
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