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
|
#ifndef DataFormats_L1Trigger_HGCalCluster_h
#define DataFormats_L1Trigger_HGCalCluster_h
#include "DataFormats/Common/interface/Ptr.h"
#include "DataFormats/L1Trigger/interface/BXVector.h"
#include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
#include "DataFormats/L1THGCal/interface/HGCalClusterT.h"
namespace l1t {
class HGCalCluster : public HGCalClusterT<l1t::HGCalTriggerCell> {
public:
HGCalCluster() {}
HGCalCluster(const LorentzVector p4, int pt = 0, int eta = 0, int phi = 0);
HGCalCluster(const edm::Ptr<l1t::HGCalTriggerCell> &tc);
~HGCalCluster() override;
void setModule(uint32_t module) { module_ = module; }
uint32_t module() const { return module_; }
private:
uint32_t module_;
};
typedef BXVector<HGCalCluster> HGCalClusterBxCollection;
} // namespace l1t
#endif
|