CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
HGCalTriggerGeometry::TriggerCell Class Reference

#include <HGCalTriggerGeometryGenericMapping.h>

Public Types

typedef std::unordered_set
< unsigned > 
list_type
 

Public Member Functions

const std::unordered_set
< unsigned > & 
components () const
 
bool containsCell (const unsigned cell) const
 
unsigned moduleId () const
 
const std::unordered_set
< unsigned > & 
neighbours () const
 
const GlobalPointposition () const
 
 TriggerCell (unsigned tc_id, unsigned mod_id, const GlobalPoint &pos, const list_type &neighbs, const list_type &comps)
 
unsigned triggerCellId () const
 
 ~TriggerCell ()
 

Private Attributes

list_type components_
 
unsigned module_id_
 
list_type neighbours_
 
GlobalPoint position_
 
unsigned trigger_cell_id_
 

Detailed Description

Definition at line 44 of file HGCalTriggerGeometryGenericMapping.h.

Member Typedef Documentation

typedef std::unordered_set<unsigned> HGCalTriggerGeometry::TriggerCell::list_type

Definition at line 46 of file HGCalTriggerGeometryGenericMapping.h.

Constructor & Destructor Documentation

HGCalTriggerGeometry::TriggerCell::TriggerCell ( unsigned  tc_id,
unsigned  mod_id,
const GlobalPoint pos,
const list_type neighbs,
const list_type comps 
)
inline
HGCalTriggerGeometry::TriggerCell::~TriggerCell ( )
inline

Definition at line 56 of file HGCalTriggerGeometryGenericMapping.h.

56 {}

Member Function Documentation

const std::unordered_set<unsigned>& HGCalTriggerGeometry::TriggerCell::components ( ) const
inline
bool HGCalTriggerGeometry::TriggerCell::containsCell ( const unsigned  cell) const
inline

Definition at line 62 of file HGCalTriggerGeometryGenericMapping.h.

References components_.

62  {
63  return ( components_.find(cell) != components_.end() );
64  }
unsigned HGCalTriggerGeometry::TriggerCell::moduleId ( void  ) const
inline
const std::unordered_set<unsigned>& HGCalTriggerGeometry::TriggerCell::neighbours ( ) const
inline
const GlobalPoint& HGCalTriggerGeometry::TriggerCell::position ( ) const
inline

Definition at line 66 of file HGCalTriggerGeometryGenericMapping.h.

References position_.

unsigned HGCalTriggerGeometry::TriggerCell::triggerCellId ( ) const
inline

Member Data Documentation

list_type HGCalTriggerGeometry::TriggerCell::components_
private

Definition at line 76 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by components(), and containsCell().

unsigned HGCalTriggerGeometry::TriggerCell::module_id_
private

Definition at line 73 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by moduleId().

list_type HGCalTriggerGeometry::TriggerCell::neighbours_
private

Definition at line 75 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by neighbours().

GlobalPoint HGCalTriggerGeometry::TriggerCell::position_
private

Definition at line 74 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by position().

unsigned HGCalTriggerGeometry::TriggerCell::trigger_cell_id_
private

Definition at line 72 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by triggerCellId().