#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 20 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_map<unsigned, unsigned> HGCalTriggerGeometryBase::geom_map |
Definition at line 22 of file HGCalTriggerGeometryBase.h.
typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set |
Definition at line 24 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set |
Definition at line 23 of file HGCalTriggerGeometryBase.h.
HGCalTriggerGeometryBase::HGCalTriggerGeometryBase | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalTriggerGeometryBase.cc.
|
inlinevirtual |
Definition at line 27 of file HGCalTriggerGeometryBase.h.
|
inline |
Definition at line 43 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 58 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 32 of file HGCalTriggerGeometryBase.h.
References calo_geometry_.
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology(), and HGCalVFEProcessorSums::run().
|
inline |
Definition at line 33 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(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), and HGCalTriggerGeometryV9Imp2::getTriggerCellPosition().
|
inline |
Definition at line 56 of file HGCalTriggerGeometryBase.h.
References eeGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryV9Imp1::detIdWaferType(), HGCalTriggerTools::eventSetup(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerGeometryV9Imp1::initialize(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerTools::sensorCellThicknessV8(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerGeometryV9Imp2::validCellId(), HGCalTriggerGeometryHexImp2::validCellId(), HGCalTriggerGeometryHexLayerBasedImp1::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 38 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(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), and hsiGeometry().
|
inline |
Definition at line 57 of file HGCalTriggerGeometryBase.h.
References fhGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerTools::eventSetup(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerTools::sensorCellThicknessV8(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerGeometryHexImp2::validCellId(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology(), and HGCalVFEProcessorSums::run().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
inline |
Definition at line 50 of file HGCalTriggerGeometryBase.h.
References Exception, hgc_hsc_geometry_, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().
Referenced by HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and hscTopology().
|
inline |
Definition at line 60 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(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 49 of file HGCalTriggerGeometryBase.h.
References fhGeometry().
Referenced by HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and hsiTopology().
|
inline |
Definition at line 59 of file HGCalTriggerGeometryBase.h.
References hsiGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp1::detIdWaferType(), HGCalTriggerGeometryV9Imp1::initialize(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 31 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and edm::ESHandleBase::isValid().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerTools::getLayerZ(), HGCalTriggerTools::layerWithOffset(), HGCalTriggerNtupleHGCTriggerCells::simhits(), and HGCalTriggerNtupleHGCDigis::simhits().
|
inline |
Definition at line 29 of file HGCalTriggerGeometryBase.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
virtual |
Reimplemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Definition at line 6 of file HGCalTriggerGeometryBase.cc.
Referenced by hscTopology().
|
inlineprotected |
Definition at line 91 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and relativeConstraints::geom.
Referenced by HGCalTriggerGeometryImp1::initialize(), HGCalTriggerGeometryHexImp2::initialize(), HGCalTriggerGeometryHexImp1::initialize(), and HGCalTriggerGeometryHexLayerBasedImp1::initialize().
|
inlineprotected |
Definition at line 92 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_ee_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
inlineprotected |
Definition at line 94 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsc_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
inlineprotected |
Definition at line 93 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsi_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryV9Imp1, and HGCalTriggerGeometryHexImp2.
Referenced by hscTopology().
|
private |
Definition at line 99 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), caloGeometry(), eeGeometry(), fhGeometry(), isV9Geometry(), and setCaloGeometry().
|
private |
Definition at line 100 of file HGCalTriggerGeometryBase.h.
Referenced by eeGeometry(), and setEEGeometry().
|
private |
Definition at line 102 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), hscGeometry(), and setHScGeometry().
|
private |
Definition at line 101 of file HGCalTriggerGeometryBase.h.
Referenced by fhGeometry(), and setHSiGeometry().
|
private |
Definition at line 97 of file HGCalTriggerGeometryBase.h.
Referenced by name().