CMS 3D CMS Logo

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:
16 
19 
20  virtual ~PreshowerClusterShape();
21 
23  PreshowerClusterShape(const std::vector<float>& stripEnergies,
24  const int plane);
25 
28 
30  int plane() const { return plane_; }
31 
34 
36  virtual std::vector<float> getStripEnergies() const { return stripEnergies_; }
37 
38  void setSCRef( const SuperClusterRef & r ) { sc_ref_ = r; }
39 
40  private:
41 
42  int plane_;
43 
46 
48  std::vector<float> stripEnergies_;
49  };
50 }
51 #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
fixed size matrix
SuperClusterRef sc_ref_
Associated super cluster;.