CMS 3D CMS Logo

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 32 of file HGCalTriggerGeometryGenericMapping.h.

Member Typedef Documentation

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

Definition at line 34 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 44 of file HGCalTriggerGeometryGenericMapping.h.

44 {}

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 50 of file HGCalTriggerGeometryGenericMapping.h.

References components_.

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

Definition at line 54 of file HGCalTriggerGeometryGenericMapping.h.

References position_.

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

Member Data Documentation

list_type HGCalTriggerGeometry::TriggerCell::components_
private
unsigned HGCalTriggerGeometry::TriggerCell::module_id_
private
list_type HGCalTriggerGeometry::TriggerCell::neighbours_
private
GlobalPoint HGCalTriggerGeometry::TriggerCell::position_
private
unsigned HGCalTriggerGeometry::TriggerCell::trigger_cell_id_
private

Definition at line 60 of file HGCalTriggerGeometryGenericMapping.h.

Referenced by triggerCellId().