CMS 3D CMS Logo

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

#include <HGCalTriggerGeometryBase.h>

Inheritance diagram for HGCalTriggerGeometryBase:
HGCalTriggerGeometryV9Imp2 HGCalTriggerGeometryV9Imp3

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

virtual bool disconnectedModule (const unsigned module_id) const =0
 
const HGCalGeometryeeGeometry () const
 
const HGCalTopologyeeTopology () const
 
const HGCalGeometryfhGeometry () const
 
const HGCalTopologyfhTopology () 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 getLinksInModule (const unsigned module_id) const =0
 
virtual geom_set getLpgbtsFromModule (const unsigned module_id) const =0
 
virtual geom_set getLpgbtsFromStage1Fpga (const unsigned stage1_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_set getModulesFromLpgbt (const unsigned lpgbt_id) const =0
 
virtual unsigned getModuleSize (const unsigned module_id) const =0
 
virtual geom_set getNeighborsFromTriggerCell (const unsigned trigger_cell_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 getStage1FpgaFromLpgbt (const unsigned lpgbt_id) const =0
 
virtual unsigned getStage1FpgaFromModule (const unsigned module_id) const =0
 
virtual unsigned getStage1FpgaFromStage1Link (const unsigned) const =0
 
virtual geom_set getStage1FpgasFromStage2Fpga (const unsigned stage2_id) const =0
 
virtual geom_set getStage1LinksFromStage1Fpga (const unsigned) const =0
 
virtual geom_set getStage1LinksFromStage2Fpga (const unsigned) const =0
 
virtual unsigned getStage2FpgaFromStage1Link (const unsigned) const =0
 
virtual geom_set getStage2FpgasFromStage1Fpga (const unsigned stage1_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)
 
const HGCalGeometryhscGeometry () const
 
const HGCalTopologyhscTopology () const
 
const HGCalGeometryhsiGeometry () const
 
const HGCalTopologyhsiTopology () const
 
virtual void initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0
 
virtual void initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0
 
bool isWithNoseGeometry () const
 
virtual unsigned lastTriggerLayer () const =0
 
const std::string & name () const
 
const HGCalGeometrynoseGeometry () const
 
const HGCalTopologynoseTopology () const
 
virtual void reset ()
 
void setWithNoseGeometry (const bool isNose)
 
virtual unsigned triggerLayer (const unsigned id) const =0
 
virtual bool validCell (const unsigned cell_id) const =0
 
virtual bool validTriggerCell (const unsigned trigger_cell_id) const =0
 
virtual ~HGCalTriggerGeometryBase ()
 

Protected Member Functions

void setEEGeometry (const HGCalGeometry *geom)
 
void setHScGeometry (const HGCalGeometry *geom)
 
void setHSiGeometry (const HGCalGeometry *geom)
 
void setNoseGeometry (const HGCalGeometry *geom)
 

Private Attributes

const HGCalGeometryhgc_ee_geometry_ = nullptr
 
const HGCalGeometryhgc_hsc_geometry_ = nullptr
 
const HGCalGeometryhgc_hsi_geometry_ = nullptr
 
const HGCalGeometryhgc_nose_geometry_ = nullptr
 
bool isNose_ = false
 
const std::string name_
 

Detailed Description

Definition at line 16 of file HGCalTriggerGeometryBase.h.

Member Typedef Documentation

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

Definition at line 18 of file HGCalTriggerGeometryBase.h.

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

Definition at line 20 of file HGCalTriggerGeometryBase.h.

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

Definition at line 19 of file HGCalTriggerGeometryBase.h.

Constructor & Destructor Documentation

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

Definition at line 3 of file HGCalTriggerGeometryBase.cc.

4  : name_(conf.getParameter<std::string>("TriggerGeometryName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
virtual HGCalTriggerGeometryBase::~HGCalTriggerGeometryBase ( )
inlinevirtual

Definition at line 23 of file HGCalTriggerGeometryBase.h.

23 {}

Member Function Documentation

virtual bool HGCalTriggerGeometryBase::disconnectedModule ( const unsigned  module_id) const
pure virtual
const HGCalGeometry* HGCalTriggerGeometryBase::eeGeometry ( ) const
inline
const HGCalTopology& HGCalTriggerGeometryBase::eeTopology ( ) const
inline
const HGCalGeometry* HGCalTriggerGeometryBase::fhGeometry ( ) const
inline

Definition at line 31 of file HGCalTriggerGeometryBase.h.

References hgc_hsi_geometry_.

Referenced by fhTopology(), and hsiGeometry().

31 { return hgc_hsi_geometry_; }
const HGCalGeometry * hgc_hsi_geometry_
const HGCalTopology& HGCalTriggerGeometryBase::fhTopology ( ) const
inline
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::getLinksInModule ( const unsigned  module_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getLpgbtsFromModule ( const unsigned  module_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getLpgbtsFromStage1Fpga ( const unsigned  stage1_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_set HGCalTriggerGeometryBase::getModulesFromLpgbt ( const unsigned  lpgbt_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getModuleSize ( const unsigned  module_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getNeighborsFromTriggerCell ( const unsigned  trigger_cell_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::getStage1FpgaFromLpgbt ( const unsigned  lpgbt_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getStage1FpgaFromModule ( const unsigned  module_id) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getStage1FpgaFromStage1Link ( const unsigned  ) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getStage1FpgasFromStage2Fpga ( const unsigned  stage2_id) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getStage1LinksFromStage1Fpga ( const unsigned  ) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getStage1LinksFromStage2Fpga ( const unsigned  ) const
pure virtual
virtual unsigned HGCalTriggerGeometryBase::getStage2FpgaFromStage1Link ( const unsigned  ) const
pure virtual
virtual geom_set HGCalTriggerGeometryBase::getStage2FpgasFromStage1Fpga ( const unsigned  stage1_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
const HGCalGeometry* HGCalTriggerGeometryBase::hscGeometry ( ) const
inline
const HGCalTopology& HGCalTriggerGeometryBase::hscTopology ( ) const
inline
const HGCalGeometry* HGCalTriggerGeometryBase::hsiGeometry ( ) const
inline
const HGCalTopology& HGCalTriggerGeometryBase::hsiTopology ( ) const
inline
virtual void HGCalTriggerGeometryBase::initialize ( const HGCalGeometry ,
const HGCalGeometry ,
const HGCalGeometry  
)
pure virtual
virtual void HGCalTriggerGeometryBase::initialize ( const HGCalGeometry ,
const HGCalGeometry ,
const HGCalGeometry ,
const HGCalGeometry  
)
pure virtual
bool HGCalTriggerGeometryBase::isWithNoseGeometry ( ) const
inline

Definition at line 27 of file HGCalTriggerGeometryBase.h.

References isNose_.

Referenced by HGCalTriggerTools::setGeometry().

virtual unsigned HGCalTriggerGeometryBase::lastTriggerLayer ( ) const
pure virtual
const std::string& HGCalTriggerGeometryBase::name ( void  ) const
inline
const HGCalGeometry* HGCalTriggerGeometryBase::noseGeometry ( ) const
inline
const HGCalTopology& HGCalTriggerGeometryBase::noseTopology ( ) const
inline
void HGCalTriggerGeometryBase::reset ( void  )
virtual

Reimplemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.

Definition at line 6 of file HGCalTriggerGeometryBase.cc.

6 {}
void HGCalTriggerGeometryBase::setEEGeometry ( const HGCalGeometry geom)
inlineprotected
void HGCalTriggerGeometryBase::setHScGeometry ( const HGCalGeometry geom)
inlineprotected
void HGCalTriggerGeometryBase::setHSiGeometry ( const HGCalGeometry geom)
inlineprotected
void HGCalTriggerGeometryBase::setNoseGeometry ( const HGCalGeometry geom)
inlineprotected
void HGCalTriggerGeometryBase::setWithNoseGeometry ( const bool  isNose)
inline

Definition at line 40 of file HGCalTriggerGeometryBase.h.

References isNose_.

virtual unsigned HGCalTriggerGeometryBase::triggerLayer ( const unsigned  id) const
pure virtual
virtual bool HGCalTriggerGeometryBase::validCell ( const unsigned  cell_id) const
pure virtual
virtual bool HGCalTriggerGeometryBase::validTriggerCell ( const unsigned  trigger_cell_id) const
pure virtual

Member Data Documentation

const HGCalGeometry* HGCalTriggerGeometryBase::hgc_ee_geometry_ = nullptr
private

Definition at line 96 of file HGCalTriggerGeometryBase.h.

Referenced by eeGeometry(), and setEEGeometry().

const HGCalGeometry* HGCalTriggerGeometryBase::hgc_hsc_geometry_ = nullptr
private

Definition at line 98 of file HGCalTriggerGeometryBase.h.

Referenced by hscGeometry(), and setHScGeometry().

const HGCalGeometry* HGCalTriggerGeometryBase::hgc_hsi_geometry_ = nullptr
private

Definition at line 97 of file HGCalTriggerGeometryBase.h.

Referenced by fhGeometry(), and setHSiGeometry().

const HGCalGeometry* HGCalTriggerGeometryBase::hgc_nose_geometry_ = nullptr
private

Definition at line 99 of file HGCalTriggerGeometryBase.h.

Referenced by noseGeometry(), and setNoseGeometry().

bool HGCalTriggerGeometryBase::isNose_ = false
private

Definition at line 95 of file HGCalTriggerGeometryBase.h.

Referenced by isWithNoseGeometry(), and setWithNoseGeometry().

const std::string HGCalTriggerGeometryBase::name_
private

Definition at line 93 of file HGCalTriggerGeometryBase.h.

Referenced by name().