CMS 3D CMS Logo

L1GctCand.h
Go to the documentation of this file.
1 #ifndef L1GCTCAND_H
2 #define L1GCTCAND_H
3 
5 
11 
12 class L1GctCand {
13 public:
14  L1GctCand();
15 
16  virtual ~L1GctCand();
17 
19  virtual L1CaloRegionDetId regionId() const = 0;
20 
22  virtual bool empty() const = 0;
23 
28  virtual unsigned rank() const = 0;
29 
31  virtual unsigned etaIndex() const = 0;
32 
34  virtual unsigned etaSign() const = 0;
35 
37  virtual unsigned phiIndex() const = 0;
38 
39 private:
41  bool dummy_;
42 };
43 
44 #endif
virtual bool empty() const =0
empty candidate - true if object not initialized
L1GctCand()
Definition: L1GctCand.cc:4
virtual unsigned etaIndex() const =0
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
virtual unsigned etaSign() const =0
get eta sign bit (1 for -ve Z, 0 for +ve Z)
virtual unsigned phiIndex() const =0
get phi index (0-17)
virtual L1CaloRegionDetId regionId() const =0
access origin of candidate
ABC for GCT EM and jet candidates.
Definition: L1GctCand.h:12
virtual unsigned rank() const =0
get the rank code (6 bits)
virtual ~L1GctCand()
Definition: L1GctCand.cc:6
bool dummy_
dummy data member to make derived classes perstistable
Definition: L1GctCand.h:41