CMS 3D CMS Logo

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

#include <HGCalTriggerGeometryBase.h>

Inheritance diagram for HGCalTriggerGeometryBase:
HGCalTriggerGeometryGenericMapping HGCalTriggerGeometryHexImp2 HGCalTriggerGeometryHexImp1 HGCalTriggerGeometryImp1 NullGeometry TrivialGeometry

Classes

struct  es_info
 

Public Types

typedef std::unordered_map
< unsigned, unsigned > 
geom_map
 
typedef std::set< unsigned > geom_ordered_set
 
typedef std::unordered_set
< unsigned > 
geom_set
 

Public Member Functions

const std::string & bhSDName () const
 
const std::string & eeSDName () const
 
const std::string & fhSDName () const
 
virtual geom_set getCellsFromModule (const unsigned cell_det_id) const =0
 
virtual geom_set getCellsFromTriggerCell (const unsigned cell_det_id) const =0
 
virtual unsigned getModuleFromCell (const unsigned cell_det_id) const =0
 
virtual unsigned getModuleFromTriggerCell (const unsigned trigger_cell_det_id) const =0
 
virtual GlobalPoint getModulePosition (const unsigned module_det_id) const =0
 
virtual geom_ordered_set getOrderedCellsFromModule (const unsigned cell_det_id) const =0
 
virtual geom_ordered_set getOrderedTriggerCellsFromModule (const unsigned trigger_cell_det_id) const =0
 
virtual unsigned getTriggerCellFromCell (const unsigned cell_det_id) const =0
 
virtual GlobalPoint getTriggerCellPosition (const unsigned trigger_cell_det_id) const =0
 
virtual geom_set getTriggerCellsFromModule (const unsigned trigger_cell_det_id) const =0
 
 HGCalTriggerGeometryBase (const edm::ParameterSet &conf)
 
virtual void initialize (const es_info &)=0
 
const std::string & name () const
 
virtual void reset ()
 
virtual ~HGCalTriggerGeometryBase ()
 

Private Attributes

const std::string bh_sd_name_
 
const std::string ee_sd_name_
 
const std::string fh_sd_name_
 
const std::string name_
 

Detailed Description

Definition at line 20 of file HGCalTriggerGeometryBase.h.

Member Typedef Documentation

typedef std::unordered_map<unsigned,unsigned> HGCalTriggerGeometryBase::geom_map

Definition at line 29 of file HGCalTriggerGeometryBase.h.

typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set

Definition at line 31 of file HGCalTriggerGeometryBase.h.

typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set

Definition at line 30 of file HGCalTriggerGeometryBase.h.

Constructor & Destructor Documentation

HGCalTriggerGeometryBase::HGCalTriggerGeometryBase ( const edm::ParameterSet conf)

Definition at line 6 of file HGCalTriggerGeometryBase.cc.

6  :
7  name_(conf.getParameter<std::string>("TriggerGeometryName")),
8  ee_sd_name_(conf.getParameter<std::string>("eeSDName")),
9  fh_sd_name_(conf.getParameter<std::string>("fhSDName")),
10  bh_sd_name_(conf.getParameter<std::string>("bhSDName"))
11 {
12 }
T getParameter(std::string const &) const
virtual HGCalTriggerGeometryBase::~HGCalTriggerGeometryBase ( )
inlinevirtual

Definition at line 34 of file HGCalTriggerGeometryBase.h.

34 {}

Member Function Documentation

const std::string& HGCalTriggerGeometryBase::bhSDName ( ) const
inline

Definition at line 40 of file HGCalTriggerGeometryBase.h.

References bh_sd_name_.

40 { return bh_sd_name_; }
const std::string& HGCalTriggerGeometryBase::eeSDName ( ) const
inline

Definition at line 38 of file HGCalTriggerGeometryBase.h.

References ee_sd_name_.

38 { return ee_sd_name_; }
const std::string& HGCalTriggerGeometryBase::fhSDName ( ) const
inline

Definition at line 39 of file HGCalTriggerGeometryBase.h.

References fh_sd_name_.

39 { return fh_sd_name_; }
virtual geom_set HGCalTriggerGeometryBase::getCellsFromModule ( const unsigned  cell_det_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getCellsFromTriggerCell ( const unsigned  cell_det_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getModuleFromCell ( const unsigned  cell_det_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getModuleFromTriggerCell ( const unsigned  trigger_cell_det_id) const
pure virtual
virtual GlobalPoint HGCalTriggerGeometryBase::getModulePosition ( const unsigned  module_det_id) const
pure virtual
virtual geom_ordered_set HGCalTriggerGeometryBase::getOrderedCellsFromModule ( const unsigned  cell_det_id) const
pure virtual
virtual geom_ordered_set HGCalTriggerGeometryBase::getOrderedTriggerCellsFromModule ( const unsigned  trigger_cell_det_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getTriggerCellFromCell ( const unsigned  cell_det_id) const
pure virtual
virtual GlobalPoint HGCalTriggerGeometryBase::getTriggerCellPosition ( const unsigned  trigger_cell_det_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getTriggerCellsFromModule ( const unsigned  trigger_cell_det_id) const
pure virtual
virtual void HGCalTriggerGeometryBase::initialize ( const es_info )
pure virtual
const std::string& HGCalTriggerGeometryBase::name ( void  ) const
inline
void HGCalTriggerGeometryBase::reset ( void  )
virtual

Reimplemented in HGCalTriggerGeometryGenericMapping.

Definition at line 14 of file HGCalTriggerGeometryBase.cc.

15 {
16 }

Member Data Documentation

const std::string HGCalTriggerGeometryBase::bh_sd_name_
private

Definition at line 66 of file HGCalTriggerGeometryBase.h.

Referenced by bhSDName().

const std::string HGCalTriggerGeometryBase::ee_sd_name_
private

Definition at line 64 of file HGCalTriggerGeometryBase.h.

Referenced by eeSDName().

const std::string HGCalTriggerGeometryBase::fh_sd_name_
private

Definition at line 65 of file HGCalTriggerGeometryBase.h.

Referenced by fhSDName().

const std::string HGCalTriggerGeometryBase::name_
private

Definition at line 63 of file HGCalTriggerGeometryBase.h.

Referenced by name().