8 |
|
// Addition of reco information |
9 |
|
//------------------------------------------------------------------------------- |
10 |
|
|
11 |
– |
#include <vector> |
11 |
|
#include "DataFormats/CaloRecHit/interface/CaloCluster.h" |
12 |
|
#include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h" |
13 |
|
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h" |
14 |
+ |
#include "L1AnalysisRecoClusterDataFormat.h" |
15 |
|
|
16 |
|
namespace L1Analysis |
17 |
|
{ |
18 |
< |
class L1AnalysisRecoCluster |
18 |
> |
struct L1AnalysisRecoCluster |
19 |
|
{ |
20 |
– |
public: |
20 |
|
L1AnalysisRecoCluster(); |
21 |
|
~L1AnalysisRecoCluster(); |
22 |
|
|
24 |
– |
void Reset(); |
23 |
|
void Set(const reco::CaloClusterCollection &caloClusterCollection, unsigned maxCl); |
24 |
|
void Set(const reco::SuperClusterCollection &superClusterCollection, unsigned maxCl); |
25 |
< |
|
26 |
< |
unsigned maxCl_; |
27 |
< |
unsigned nClusters; |
28 |
< |
std::vector<double> clusterEta; |
29 |
< |
std::vector<double> clusterPhi; |
32 |
< |
std::vector<double> clusterEt; |
33 |
< |
std::vector<double> clusterE; |
34 |
< |
|
25 |
> |
L1AnalysisRecoClusterDataFormat * getData() {return &recoCluster_;} |
26 |
> |
void Reset() {recoCluster_.Reset();} |
27 |
> |
|
28 |
> |
public : |
29 |
> |
L1AnalysisRecoClusterDataFormat recoCluster_; |
30 |
|
}; |
31 |
|
} |
32 |
|
#endif |