#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 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 | getLinksInModule (const unsigned module_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 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 | 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 CaloGeometry *)=0 |
virtual void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0 |
virtual void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0 |
bool | isV9Geometry () const |
bool | isWithNoseGeometry () const |
virtual unsigned | lastTriggerLayer () const =0 |
const std::string & | name () const |
const HGCalGeometry * | noseGeometry () const |
const HGCalTopology & | noseTopology () 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 | setCaloGeometry (const CaloGeometry *geom) |
void | setEEGeometry (const HGCalGeometry *geom) |
void | setHScGeometry (const HGCalGeometry *geom) |
void | setHSiGeometry (const HGCalGeometry *geom) |
void | setNoseGeometry (const HGCalGeometry *geom) |
Private Attributes | |
const CaloGeometry * | calo_geometry_ = nullptr |
const HGCalGeometry * | hgc_ee_geometry_ = nullptr |
const HGCalGeometry * | hgc_hsc_geometry_ = nullptr |
const HGCalGeometry * | hgc_hsi_geometry_ = nullptr |
const HGCalGeometry * | hgc_nose_geometry_ = nullptr |
bool | isNose_ = false |
const std::string | name_ |
Definition at line 19 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_map<unsigned, unsigned> HGCalTriggerGeometryBase::geom_map |
Definition at line 21 of file HGCalTriggerGeometryBase.h.
typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set |
Definition at line 23 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set |
Definition at line 22 of file HGCalTriggerGeometryBase.h.
HGCalTriggerGeometryBase::HGCalTriggerGeometryBase | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalTriggerGeometryBase.cc.
|
inlinevirtual |
Definition at line 26 of file HGCalTriggerGeometryBase.h.
|
inline |
Definition at line 51 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, Exception, CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalEndcap, and hgc_hsc_geometry_.
Referenced by bhTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), and HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition().
|
inline |
Definition at line 67 of file HGCalTriggerGeometryBase.h.
References bhGeometry(), and HcalGeometry::topology().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerGeometryHexImp2::validCell(), HGCalTriggerGeometryHexLayerBasedImp1::validCell(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
inline |
|
pure virtual |
|
inline |
Definition at line 41 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), hgc_ee_geometry_, and HGCEE.
Referenced by HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), eeTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), and HGCalTriggerGeometryV9Imp2::getTriggerCellPosition().
|
inline |
Definition at line 65 of file HGCalTriggerGeometryBase.h.
References eeGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryV9Imp2::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(), HGCalTriggerGeometryHexImp2::lastTriggerLayer(), HGCalTriggerGeometryGenericMapping::lastTriggerLayer(), HGCalTriggerTools::sensorCellThicknessV8(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerGeometryHexImp2::validCell(), HGCalTriggerGeometryHexLayerBasedImp1::validCell(), HGCalTriggerGeometryV9Imp1::validCell(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), HGCalTriggerGeometryHexImp2::validCellId(), HGCalTriggerGeometryHexLayerBasedImp1::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 46 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), hgc_hsi_geometry_, and HGCHEF.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), fhTopology(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), and hsiGeometry().
|
inline |
Definition at line 66 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(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerGeometryHexImp2::validCell(), HGCalTriggerGeometryHexLayerBasedImp1::validCell(), HGCalTriggerGeometryHexImp2::validCellId(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryV9Imp1, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryHexImp2, and HGCalTriggerGeometryGenericMapping.
Referenced by HGCalTriggerNtupleHGCPanels::fill(), HGCalTriggerNtupleHGCTriggerCells::fill(), and HGCalConcentratorProcessorSelection::run().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 58 of file HGCalTriggerGeometryBase.h.
References Exception, and hgc_hsc_geometry_.
Referenced by HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and hscTopology().
|
inline |
Definition at line 69 of file HGCalTriggerGeometryBase.h.
References hscGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::getCellsFromTriggerCell(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp1::getNeighborsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerGeometryV9Imp1::validCell(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
inline |
Definition at line 57 of file HGCalTriggerGeometryBase.h.
References fhGeometry().
Referenced by HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryV9Imp1::getModulePosition(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp1::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and hsiTopology().
|
inline |
Definition at line 68 of file HGCalTriggerGeometryBase.h.
References hsiGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp1::detIdWaferType(), HGCalTriggerGeometryV9Imp1::initialize(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp1::validCell(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp1::validCellId().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 30 of file HGCalTriggerGeometryBase.h.
References calo_geometry_.
Referenced by HGCalConcentratorSuperTriggerCellImpl::createAllTriggerCells(), HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerTools::getLayerZ(), HGCalTriggerTools::layerWithOffset(), HGCalTriggerNtupleHGCDigis::simhits(), and HGCalTriggerNtupleHGCTriggerCells::simhits().
|
inline |
Definition at line 31 of file HGCalTriggerGeometryBase.h.
References isNose_.
Referenced by HGCalTriggerTools::eventSetup().
|
pure virtual |
|
inline |
Definition at line 28 of file HGCalTriggerGeometryBase.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
Definition at line 35 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), HFNose, and hgc_nose_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and noseTopology().
|
inline |
Definition at line 64 of file HGCalTriggerGeometryBase.h.
References noseGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp1::validCell(), HGCalTriggerGeometryV9Imp2::validCell(), and HGCalTriggerGeometryV9Imp2::validCellId().
|
virtual |
Reimplemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryV9Imp1, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Definition at line 6 of file HGCalTriggerGeometryBase.cc.
|
inlineprotected |
Definition at line 106 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 107 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_ee_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
inlineprotected |
Definition at line 109 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsc_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
inlineprotected |
Definition at line 108 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsi_geometry_.
Referenced by HGCalTriggerGeometryV9Imp1::initialize(), and HGCalTriggerGeometryV9Imp2::initialize().
|
inlineprotected |
Definition at line 110 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_nose_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::initialize().
|
inline |
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryV9Imp1, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryHexImp2, and HGCalTriggerGeometryGenericMapping.
Referenced by HGCalShowerShape::coreShowerLength(), HGCalTriggerNtupleHGCPanels::fill(), HGCalShowerShape::percentileLayer(), and HGCalTriggerTools::triggerLayer().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp2, HGCalTriggerGeometryV9Imp1, HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryHexImp2, and HGCalTriggerGeometryGenericMapping.
Referenced by HGCalConcentratorSuperTriggerCellImpl::createAllTriggerCells(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), and HGCalCoarseTriggerCellMapping::getRepresentativeDetId().
|
private |
Definition at line 116 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), caloGeometry(), eeGeometry(), fhGeometry(), isV9Geometry(), noseGeometry(), and setCaloGeometry().
|
private |
Definition at line 117 of file HGCalTriggerGeometryBase.h.
Referenced by eeGeometry(), and setEEGeometry().
|
private |
Definition at line 119 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), hscGeometry(), and setHScGeometry().
|
private |
Definition at line 118 of file HGCalTriggerGeometryBase.h.
Referenced by fhGeometry(), and setHSiGeometry().
|
private |
Definition at line 120 of file HGCalTriggerGeometryBase.h.
Referenced by noseGeometry(), and setNoseGeometry().
|
private |
Definition at line 115 of file HGCalTriggerGeometryBase.h.
Referenced by isWithNoseGeometry(), and setWithNoseGeometry().
|
private |
Definition at line 113 of file HGCalTriggerGeometryBase.h.
Referenced by name().