1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#ifndef DataFormats_EgammaReco_PreshowerClusterShape_h
#define DataFormats_EgammaReco_PreshowerClusterShape_h
/*
* PreshowerShape cluster class
*
* \author Aris Kyriakis (NCSR "Demokritos")
*/
//
#include "DataFormats/EgammaReco/interface/PreshowerClusterShapeFwd.h"
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
namespace reco {
class PreshowerClusterShape {
public:
/// default constructor
PreshowerClusterShape() {}
virtual ~PreshowerClusterShape();
/// constructor from strip energies
PreshowerClusterShape(const std::vector<float>& stripEnergies, const int plane);
/// Copy contructor
PreshowerClusterShape(const PreshowerClusterShape&);
/// Preshower plane
int plane() const { return plane_; }
/// Associated SuperCluster;
SuperClusterRef superCluster() const { return sc_ref_; }
/// Energies of component strips
virtual std::vector<float> getStripEnergies() const { return stripEnergies_; }
void setSCRef(const SuperClusterRef& r) { sc_ref_ = r; }
private:
int plane_;
/// Associated super cluster;
SuperClusterRef sc_ref_;
/// used strip energies
std::vector<float> stripEnergies_;
};
} // namespace reco
#endif
|