CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFBlockElementSuperCluster.h
Go to the documentation of this file.
1 #ifndef __PFBlockElementSuperCluster__
2 #define __PFBlockElementSuperCluster__
3 
4 #include <iostream>
5 
8 
9 namespace reco {
10 
15  public:
17 
22  :
24  superClusterRef_( ref ),
25  trackIso_(0.),
26  ecalIso_(0.),
27  hcalIso_(0.),
28  HoE_(0.) {}
29 
30  PFBlockElement* clone() const { return new PFBlockElementSuperCluster(*this); }
31 
34 
35  void Dump(std::ostream& out = std::cout,
36  const char* tab = " " ) const;
37 
39  void setTrackIso(float val) {trackIso_=val;}
40 
42  void setEcalIso(float val) {ecalIso_=val;}
43 
45  void setHcalIso(float val) {hcalIso_=val;}
46 
48  void setHoE(float val) {HoE_=val;}
49 
51  float trackIso() const {return trackIso_;}
52 
54  float ecalIso() const {return ecalIso_;}
55 
57  float hcalIso() const {return hcalIso_;}
58 
60  float hoverE() const {return HoE_;}
61 
62  private:
65 
66  float trackIso_;
67  float ecalIso_;
68  float hcalIso_;
69  float HoE_;
70  };
71 }
72 
73 #endif
74 
Abstract base class for a PFBlock element (track, cluster...)
void setHcalIso(float val)
set the had Iso
PFBlockElementSuperCluster(const SuperClusterRef &ref)
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
SuperClusterRef superClusterRef_
reference to the corresponding cluster
void setTrackIso(float val)
set the track Iso
PFBlockElement * clone() const
necessary to have the edm::OwnVector&lt;PFBlockElement&gt; working
tuple out
Definition: dbtoconf.py:99
void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
tuple cout
Definition: gather_cfg.py:41
void setEcalIso(float val)
set the ecal Iso