CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1GctCand Class Reference

ABC for GCT EM and jet candidates. More...

#include <L1GctCand.h>

Inheritance diagram for L1GctCand:
L1GctEmCand L1GctJetCand

List of all members.

Public Member Functions

virtual bool empty () const =0
 empty candidate - true if object not initialized
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)
 L1GctCand ()
virtual unsigned phiIndex () const =0
 get phi index (0-17)
virtual unsigned rank () const =0
 get the rank code (6 bits)
virtual L1CaloRegionDetId regionId () const =0
 access origin of candidate
virtual ~L1GctCand ()

Private Attributes

bool dummy_
 dummy data member to make derived classes perstistable

Detailed Description

ABC for GCT EM and jet candidates.

Author:
Jim Brooke
Date:
July 2006

Definition at line 12 of file L1GctCand.h.


Constructor & Destructor Documentation

L1GctCand::L1GctCand ( )

Definition at line 4 of file L1GctCand.cc.

: dummy_(false) { }
L1GctCand::~L1GctCand ( ) [virtual]

Definition at line 6 of file L1GctCand.cc.

{ }

Member Function Documentation

virtual bool L1GctCand::empty ( ) const [pure virtual]

empty candidate - true if object not initialized

Implemented in L1GctEmCand, and L1GctJetCand.

Referenced by L1GtCaloCondition::checkObjectParameter().

virtual unsigned L1GctCand::etaIndex ( ) const [pure virtual]

get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)

Implemented in L1GctEmCand, and L1GctJetCand.

Referenced by L1GtCaloCondition::checkObjectParameter(), and L1ExtraParticlesProd::gctLorentzVector().

virtual unsigned L1GctCand::etaSign ( ) const [pure virtual]

get eta sign bit (1 for -ve Z, 0 for +ve Z)

Implemented in L1GctEmCand, and L1GctJetCand.

virtual unsigned L1GctCand::phiIndex ( ) const [pure virtual]
virtual unsigned L1GctCand::rank ( ) const [pure virtual]

get the rank code (6 bits)

Note that the precise meaning of the bits returned by this method (ie. the Et scale) may differ depending on the concrete type

Implemented in L1GctEmCand, and L1GctJetCand.

Referenced by L1GtCaloCondition::checkObjectParameter().

virtual L1CaloRegionDetId L1GctCand::regionId ( ) const [pure virtual]

access origin of candidate

Implemented in L1GctEmCand, and L1GctJetCand.


Member Data Documentation

bool L1GctCand::dummy_ [private]

dummy data member to make derived classes perstistable

Definition at line 43 of file L1GctCand.h.