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
L1GctCand::empty
virtual bool empty() const =0
empty candidate - true if object not initialized
L1GctCand::regionId
virtual L1CaloRegionDetId regionId() const =0
access origin of candidate
L1CaloRegionDetId
Definition: L1CaloRegionDetId.h:18
L1GctCand::L1GctCand
L1GctCand()
Definition: L1GctCand.cc:4
L1GctCand::etaIndex
virtual unsigned etaIndex() const =0
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
L1CaloRegionDetId.h
L1GctCand::etaSign
virtual unsigned etaSign() const =0
get eta sign bit (1 for -ve Z, 0 for +ve Z)
L1GctCand::~L1GctCand
virtual ~L1GctCand()
Definition: L1GctCand.cc:6
L1GctCand::dummy_
bool dummy_
dummy data member to make derived classes perstistable
Definition: L1GctCand.h:41
L1GctCand::phiIndex
virtual unsigned phiIndex() const =0
get phi index (0-17)
L1GctCand
ABC for GCT EM and jet candidates.
Definition: L1GctCand.h:12
L1GctCand::rank
virtual unsigned rank() const =0
get the rank code (6 bits)