#include <HGCalTriggerGeometryBase.h>
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 HcalGeometry * | bhGeometry () const |
const HcalTopology & | bhTopology () const |
const edm::ESHandle< CaloGeometry > & | caloGeometry () const |
virtual bool | disconnectedModule (const unsigned module_id) const =0 |
const HGCalGeometry * | eeGeometry () const |
const HGCalTopology & | eeTopology () const |
const HGCalGeometry * | fhGeometry () const |
const HGCalTopology & | fhTopology () 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_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 | 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 HGCalGeometry * | hscGeometry () const |
const HGCalTopology & | hscTopology () const |
const HGCalGeometry * | hsiGeometry () const |
const HGCalTopology & | hsiTopology () const |
virtual void | initialize (const edm::ESHandle< CaloGeometry > &)=0 |
virtual void | initialize (const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &)=0 |
bool | isV9Geometry () const |
const std::string & | name () const |
virtual void | reset () |
virtual unsigned | triggerLayer (const unsigned id) const =0 |
virtual bool | validTriggerCell (const unsigned trigger_cell_id) const =0 |
virtual | ~HGCalTriggerGeometryBase () |
Protected Member Functions | |
void | setCaloGeometry (const edm::ESHandle< CaloGeometry > &geom) |
void | setEEGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHScGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHSiGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
Private Attributes | |
edm::ESHandle< CaloGeometry > | calo_geometry_ |
edm::ESHandle< HGCalGeometry > | hgc_ee_geometry_ |
edm::ESHandle< HGCalGeometry > | hgc_hsc_geometry_ |
edm::ESHandle< HGCalGeometry > | hgc_hsi_geometry_ |
const std::string | name_ |
Definition at line 22 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_map<unsigned,unsigned> HGCalTriggerGeometryBase::geom_map |
Definition at line 25 of file HGCalTriggerGeometryBase.h.
typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set |
Definition at line 27 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set |
Definition at line 26 of file HGCalTriggerGeometryBase.h.
HGCalTriggerGeometryBase::HGCalTriggerGeometryBase | ( | const edm::ParameterSet & | conf | ) |
Definition at line 6 of file HGCalTriggerGeometryBase.cc.
|
inlinevirtual |
Definition at line 30 of file HGCalTriggerGeometryBase.h.
|
inline |
Definition at line 44 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, Exception, CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalEndcap, hgc_hsc_geometry_, and edm::ESHandleBase::isValid().
Referenced by bhTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), and HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition().
|
inline |
Definition at line 65 of file HGCalTriggerGeometryBase.h.
References bhGeometry(), and HcalGeometry::topology().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
inline |
Definition at line 35 of file HGCalTriggerGeometryBase.h.
References calo_geometry_.
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology(), and HGCalVFEProcessorSums::run().
|
inline |
Definition at line 36 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), hgc_ee_geometry_, HGCEE, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().
Referenced by HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), eeTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), and HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition().
|
inline |
Definition at line 63 of file HGCalTriggerGeometryBase.h.
References eeGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryV9Imp1::detIdWaferType(), HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCTriggerCells::fill(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerGeometryV9Imp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalVFESummationImpl::triggerCellSums(), HGCalTriggerGeometryHexImp2::validCellId(), HGCalTriggerGeometryHexLayerBasedImp1::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 40 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), hgc_hsi_geometry_, HGCHEF, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), fhTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), and hsiGeometry().
|
inline |
Definition at line 64 of file HGCalTriggerGeometryBase.h.
References fhGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCTriggerCells::fill(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalVFESummationImpl::triggerCellSums(), HGCalTriggerGeometryHexImp2::validCellId(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by HGCalTriggerNtupleHGCTriggerCells::fill(), and hscTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology(), and HGCalVFEProcessorSums::run().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology(), and HGCalVFESummationImpl::triggerCellSums().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by HGCalTriggerTools::getTCPosition(), hscTopology(), and HGCalVFEProcessorSums::run().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
inline |
Definition at line 54 of file HGCalTriggerGeometryBase.h.
References Exception, hgc_hsc_geometry_, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().
Referenced by HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), and hscTopology().
|
inline |
Definition at line 67 of file HGCalTriggerGeometryBase.h.
References disconnectedModule(), getCellsFromModule(), getCellsFromTriggerCell(), getModuleFromCell(), getModuleFromTriggerCell(), getModulePosition(), getNeighborsFromTriggerCell(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellFromCell(), getTriggerCellPosition(), getTriggerCellsFromModule(), hscGeometry(), initialize(), reset(), HGCalGeometry::topology(), triggerLayer(), and validTriggerCell().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::getCellsFromTriggerCell(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp1::getNeighborsFromTriggerCell(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 53 of file HGCalTriggerGeometryBase.h.
References fhGeometry().
Referenced by HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), and hsiTopology().
|
inline |
Definition at line 66 of file HGCalTriggerGeometryBase.h.
References hsiGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp1::detIdWaferType(), HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, HGCalTriggerGeometryHexImp2, HGCalTriggerGeometryHexImp1, HGCalTriggerGeometryImp1, NullGeometry, and TrivialGeometry.
Referenced by hscTopology().
|
pure virtual |
|
inline |
Definition at line 34 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and edm::ESHandleBase::isValid().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerTools::getLayerZ(), and HGCalTriggerTools::layerWithOffset().
|
inline |
Definition at line 32 of file HGCalTriggerGeometryBase.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
virtual |
Reimplemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Definition at line 11 of file HGCalTriggerGeometryBase.cc.
Referenced by hscTopology().
|
inlineprotected |
Definition at line 98 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and relativeConstraints::geom.
Referenced by HGCalTriggerGeometryHexImp1::initialize(), HGCalTriggerGeometryImp1::initialize(), HGCalTriggerGeometryHexImp2::initialize(), and HGCalTriggerGeometryHexLayerBasedImp1::initialize().
|
inlineprotected |
Definition at line 99 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_ee_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize().
|
inlineprotected |
Definition at line 101 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsc_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize().
|
inlineprotected |
Definition at line 100 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsi_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
private |
Definition at line 107 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), caloGeometry(), eeGeometry(), fhGeometry(), isV9Geometry(), and setCaloGeometry().
|
private |
Definition at line 108 of file HGCalTriggerGeometryBase.h.
Referenced by eeGeometry(), and setEEGeometry().
|
private |
Definition at line 110 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), hscGeometry(), and setHScGeometry().
|
private |
Definition at line 109 of file HGCalTriggerGeometryBase.h.
Referenced by fhGeometry(), and setHSiGeometry().
|
private |
Definition at line 105 of file HGCalTriggerGeometryBase.h.
Referenced by name().