File indexing completed on 2024-09-07 04:35:52
0001 #ifndef DataFormats_EgammaReco_PreshowerClusterShape_h
0002 #define DataFormats_EgammaReco_PreshowerClusterShape_h
0003
0004
0005
0006
0007
0008
0009 #include "DataFormats/EgammaReco/interface/PreshowerClusterShapeFwd.h"
0010 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0011
0012 namespace reco {
0013
0014 class PreshowerClusterShape {
0015 public:
0016
0017 PreshowerClusterShape() {}
0018
0019 virtual ~PreshowerClusterShape();
0020
0021
0022 PreshowerClusterShape(const std::vector<float>& stripEnergies, const int plane);
0023
0024
0025 PreshowerClusterShape(const PreshowerClusterShape&);
0026
0027
0028 int plane() const { return plane_; }
0029
0030
0031 SuperClusterRef superCluster() const { return sc_ref_; }
0032
0033
0034 virtual std::vector<float> getStripEnergies() const { return stripEnergies_; }
0035
0036 void setSCRef(const SuperClusterRef& r) { sc_ref_ = r; }
0037
0038 private:
0039 int plane_;
0040
0041
0042 SuperClusterRef sc_ref_;
0043
0044
0045 std::vector<float> stripEnergies_;
0046 };
0047 }
0048 #endif