File indexing completed on 2024-04-06 12:21:12
0001 #ifndef __L1Analysis_L1AnalysisRecoCluster_H__
0002 #define __L1Analysis_L1AnalysisRecoCluster_H__
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
0012 #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h"
0013 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0014 #include "L1AnalysisRecoClusterDataFormat.h"
0015
0016 namespace L1Analysis {
0017 struct L1AnalysisRecoCluster {
0018 L1AnalysisRecoCluster();
0019 ~L1AnalysisRecoCluster();
0020
0021 void Set(const reco::CaloClusterCollection &caloClusterCollection, unsigned maxCl);
0022 void Set(const reco::SuperClusterCollection &superClusterCollection, unsigned maxCl);
0023 L1AnalysisRecoClusterDataFormat *getData() { return &recoCluster_; }
0024 void Reset() { recoCluster_.Reset(); }
0025
0026 public:
0027 L1AnalysisRecoClusterDataFormat recoCluster_;
0028 };
0029 }
0030 #endif