CMS 3D CMS Logo

List of all members | Public Member Functions
TrivialGeometry Class Reference
Inheritance diagram for TrivialGeometry:
HGCalTriggerGeometryGenericMapping HGCalTriggerGeometryBase

Public Member Functions

virtual void initialize (const edm::ESHandle< CaloGeometry > &) override final
 
 TrivialGeometry (const edm::ParameterSet &conf)
 
- Public Member Functions inherited from HGCalTriggerGeometryGenericMapping
bool disconnectedModule (const unsigned module_id) const final
 
virtual geom_set getCellsFromModule (const unsigned cell_det_id) const override final
 
virtual geom_set getCellsFromTriggerCell (const unsigned cell_det_id) const override final
 
virtual unsigned getModuleFromCell (const unsigned cell_det_id) const override final
 
virtual unsigned getModuleFromTriggerCell (const unsigned trigger_cell_det_id) const override final
 
virtual GlobalPoint getModulePosition (const unsigned module_det_id) const override final
 
virtual geom_set getNeighborsFromTriggerCell (const unsigned trigger_cell_det_id) const override final
 
virtual geom_ordered_set getOrderedCellsFromModule (const unsigned cell_det_id) const override final
 
virtual geom_ordered_set getOrderedTriggerCellsFromModule (const unsigned trigger_cell_det_id) const override final
 
virtual unsigned getTriggerCellFromCell (const unsigned cell_det_id) const override final
 
virtual GlobalPoint getTriggerCellPosition (const unsigned trigger_cell_det_id) const override final
 
virtual geom_set getTriggerCellsFromModule (const unsigned trigger_cell_det_id) const override final
 
 HGCalTriggerGeometryGenericMapping (const edm::ParameterSet &conf)
 
virtual void reset () override final
 
unsigned triggerLayer (const unsigned id) const final
 
bool validTriggerCell (const unsigned trigger_cell_det_id) const final
 
virtual ~HGCalTriggerGeometryGenericMapping ()
 
- Public Member Functions inherited from HGCalTriggerGeometryBase
const HcalGeometrybhGeometry () const
 
const HcalTopologybhTopology () const
 
const edm::ESHandle< CaloGeometry > & caloGeometry () const
 
const HGCalGeometryeeGeometry () const
 
const HGCalTopologyeeTopology () const
 
const HGCalGeometryfhGeometry () const
 
const HGCalTopologyfhTopology () const
 
 HGCalTriggerGeometryBase (const edm::ParameterSet &conf)
 
const std::string & name () const
 
virtual ~HGCalTriggerGeometryBase ()
 

Additional Inherited Members

- Public Types inherited from HGCalTriggerGeometryGenericMapping
typedef std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::Module > > module_map
 
typedef std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::TriggerCell > > trigger_cell_map
 
- Public Types inherited from HGCalTriggerGeometryBase
typedef std::unordered_map< unsigned, unsigned > geom_map
 
typedef std::set< unsigned > geom_ordered_set
 
typedef std::unordered_set< unsigned > geom_set
 
- Protected Member Functions inherited from HGCalTriggerGeometryBase
void setCaloGeometry (const edm::ESHandle< CaloGeometry > &geom)
 
- Protected Attributes inherited from HGCalTriggerGeometryGenericMapping
geom_map cells_to_trigger_cells_
 
module_map modules_
 
trigger_cell_map trigger_cells_
 
geom_map trigger_cells_to_modules_
 

Detailed Description

Definition at line 3 of file TrivialGeometry.cc.

Constructor & Destructor Documentation

TrivialGeometry::TrivialGeometry ( const edm::ParameterSet conf)
inline

Definition at line 5 of file TrivialGeometry.cc.

5  :
7  }
HGCalTriggerGeometryGenericMapping(const edm::ParameterSet &conf)

Member Function Documentation

virtual void TrivialGeometry::initialize ( const edm::ESHandle< CaloGeometry > &  )
inlinefinaloverridevirtual

Implements HGCalTriggerGeometryBase.

Definition at line 9 of file TrivialGeometry.cc.

References constexpr, DEFINE_EDM_PLUGIN, mps_fire::i, HGCalTriggerGeometryGenericMapping::modules_, HGCalTriggerGeometryGenericMapping::trigger_cells_, and HGCalTriggerGeometryGenericMapping::trigger_cells_to_modules_.

9  {
10  constexpr unsigned nmodules = 6;
11  for( unsigned i = 0; i < nmodules; ++i ) {
13 
16  GlobalPoint(),
17  tc_empty,
18  tc_empty) );
19 
24  mod_empty,
25  mod_comps,
26  map_empty) );
27  }
28  }
std::unordered_set< unsigned > list_type
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
#define constexpr
std::unordered_multimap< unsigned, unsigned > tc_map_type