CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PreshowerClusterShape.h
Go to the documentation of this file.
1 #ifndef DataFormats_EgammaReco_PreshowerClusterShape_h
2 #define DataFormats_EgammaReco_PreshowerClusterShape_h
3 /*
4  * PreshowerShape cluster class
5  *
6  * \author Aris Kyriakis (NCSR "Demokritos")
7  */
8 //
11 
12 namespace reco {
13 
15  public:
18 
19  virtual ~PreshowerClusterShape();
20 
22  PreshowerClusterShape(const std::vector<float>& stripEnergies, const int plane);
23 
26 
28  int plane() const { return plane_; }
29 
31  SuperClusterRef superCluster() const { return sc_ref_; }
32 
34  virtual std::vector<float> getStripEnergies() const { return stripEnergies_; }
35 
36  void setSCRef(const SuperClusterRef& r) { sc_ref_ = r; }
37 
38  private:
39  int plane_;
40 
43 
45  std::vector<float> stripEnergies_;
46  };
47 } // namespace reco
48 #endif
void setSCRef(const SuperClusterRef &r)
PreshowerClusterShape()
default constructor
virtual std::vector< float > getStripEnergies() const
Energies of component strips.
SuperClusterRef superCluster() const
Associated SuperCluster;.
int plane() const
Preshower plane.
std::vector< float > stripEnergies_
used strip energies
SuperClusterRef sc_ref_
Associated super cluster;.