CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalTriggerCell_SA.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1THGCal_HGCalTriggerCell_SA_h
2 #define L1Trigger_L1THGCal_HGCalTriggerCell_SA_h
3 
4 #include <vector>
5 
6 namespace l1thgcfirmware {
7 
9  public:
10  HGCalTriggerCell() = default;
11 
13  float y,
14  float z,
15  int zside,
16  unsigned int layer,
17  float eta,
18  float phi,
19  float pt,
20  float mipPt,
21  unsigned int index_cmssw)
22  : x_(x),
23  y_(y),
24  z_(z),
25  zside_(zside),
26  layer_(layer),
27  eta_(eta),
28  phi_(phi),
29  pt_(pt),
30  mipPt_(mipPt),
31  index_cmssw_(index_cmssw) {}
32 
33  ~HGCalTriggerCell() = default;
34 
35  float x() const { return x_; }
36  float y() const { return y_; }
37  float z() const { return z_; }
38  float zside() const { return zside_; }
39  unsigned int layer() const { return layer_; }
40  float eta() const { return eta_; }
41  float phi() const { return phi_; }
42  float pt() const { return pt_; }
43  float mipPt() const { return mipPt_; }
44  unsigned int index_cmssw() const { return index_cmssw_; }
45 
46  private:
47  float x_;
48  float y_;
49  float z_;
50  int zside_;
51  unsigned int layer_;
52  float eta_;
53  float phi_;
54  float pt_;
55  float mipPt_;
56  unsigned int index_cmssw_;
57  };
58 
59  typedef std::vector<HGCalTriggerCell> HGCalTriggerCellSACollection;
60 
61 } // namespace l1thgcfirmware
62 
63 #endif
HGCalTriggerCell(float x, float y, float z, int zside, unsigned int layer, float eta, float phi, float pt, float mipPt, unsigned int index_cmssw)
std::vector< HGCalTriggerCell > HGCalTriggerCellSACollection