CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
L1GctElectronSorter::prioritisedEmCand Struct Reference

#include <L1GctElectronSorter.h>

Public Member Functions

 prioritisedEmCand ()
 
 prioritisedEmCand (L1GctEmCand &c, unsigned short p)
 
 prioritisedEmCand (L1CaloEmCand &c, unsigned short p)
 
unsigned rank () const
 

Public Attributes

L1GctEmCand emCand
 
unsigned short priority
 

Detailed Description

Data type to associate each electron candidate with a priority based on its position in the sorting tree. Priority is used (as in the hardware) to decide which electron is preferred when they have equal rank.

Definition at line 36 of file L1GctElectronSorter.h.

Constructor & Destructor Documentation

L1GctElectronSorter::prioritisedEmCand::prioritisedEmCand ( )
inline
L1GctElectronSorter::prioritisedEmCand::prioritisedEmCand ( L1GctEmCand c,
unsigned short  p 
)
inline
L1GctElectronSorter::prioritisedEmCand::prioritisedEmCand ( L1CaloEmCand c,
unsigned short  p 
)
inline

Member Function Documentation

unsigned L1GctElectronSorter::prioritisedEmCand::rank ( ) const
inline

Definition at line 46 of file L1GctElectronSorter.h.

References emCand, and L1GctEmCand::rank().

Referenced by L1GctElectronSorter::rank_gt::operator()().

46 { return emCand.rank(); }
unsigned rank() const
get rank bits
Definition: L1GctEmCand.h:61

Member Data Documentation

L1GctEmCand L1GctElectronSorter::prioritisedEmCand::emCand

Definition at line 37 of file L1GctElectronSorter.h.

Referenced by rank().

unsigned short L1GctElectronSorter::prioritisedEmCand::priority

Definition at line 38 of file L1GctElectronSorter.h.

Referenced by L1GctElectronSorter::rank_gt::operator()().