CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15  L1GctCand();
16 
17  virtual ~L1GctCand();
18 
20  virtual L1CaloRegionDetId regionId() const = 0;
21 
23  virtual bool empty() const = 0;
24 
29  virtual unsigned rank() const = 0;
30 
32  virtual unsigned etaIndex() const = 0;
33 
35  virtual unsigned etaSign() const = 0;
36 
38  virtual unsigned phiIndex() const = 0;
39 
40  private:
41 
43  bool dummy_;
44 
45 
46 };
47 
48 
49 
50 #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:43