Public Member Functions | |
bool | disconnectedModule (const unsigned) const final |
geom_set | getCellsFromModule (const unsigned) const final |
geom_set | getCellsFromTriggerCell (const unsigned) const final |
unsigned | getLinksInModule (const unsigned module_id) const final |
unsigned | getModuleFromCell (const unsigned) const final |
unsigned | getModuleFromTriggerCell (const unsigned) const final |
GlobalPoint | getModulePosition (const unsigned) const final |
unsigned | getModuleSize (const unsigned module_id) const final |
geom_set | getNeighborsFromTriggerCell (const unsigned) const final |
geom_ordered_set | getOrderedCellsFromModule (const unsigned) const final |
geom_ordered_set | getOrderedTriggerCellsFromModule (const unsigned) const final |
unsigned | getTriggerCellFromCell (const unsigned) const final |
GlobalPoint | getTriggerCellPosition (const unsigned) const final |
geom_set | getTriggerCellsFromModule (const unsigned) const final |
HGCalTriggerGeometryHexLayerBasedImp1 (const edm::ParameterSet &conf) | |
void | initialize (const CaloGeometry *) final |
void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *) final |
unsigned | lastTriggerLayer () const final |
void | reset () final |
unsigned | triggerLayer (const unsigned) const final |
bool | validTriggerCell (const unsigned) const final |
Public Member Functions inherited from HGCalTriggerGeometryBase | |
const HcalGeometry * | bhGeometry () const |
const HcalTopology & | bhTopology () const |
const CaloGeometry * | caloGeometry () const |
const HGCalGeometry * | eeGeometry () const |
const HGCalTopology & | eeTopology () const |
const HGCalGeometry * | fhGeometry () const |
const HGCalTopology & | fhTopology () const |
HGCalTriggerGeometryBase (const edm::ParameterSet &conf) | |
const HGCalGeometry * | hscGeometry () const |
const HGCalTopology & | hscTopology () const |
const HGCalGeometry * | hsiGeometry () const |
const HGCalTopology & | hsiTopology () const |
bool | isV9Geometry () const |
const std::string & | name () const |
virtual | ~HGCalTriggerGeometryBase () |
Private Member Functions | |
int | detIdWaferType (unsigned subdet, short wafer) const |
void | fillInvalidTriggerCells () |
void | fillMaps () |
void | fillNeighborMaps (const edm::FileInPath &, std::unordered_map< int, std::set< std::pair< short, short >>> &) |
unsigned | layerWithOffset (unsigned) const |
unsigned | packIetaIphi (unsigned ieta, unsigned iphi) const |
unsigned | packTriggerCell (unsigned, unsigned) const |
unsigned | packWaferCellId (unsigned subdet, unsigned wafer, unsigned cell) const |
void | unpackIetaIphi (unsigned ieta_iphi, unsigned &ieta, unsigned &iphi) const |
void | unpackWaferCellId (unsigned wafer_cell, unsigned &wafer, unsigned &cell) const |
bool | validCellId (unsigned subdet, unsigned cell_id) const |
bool | validTriggerCellFromCells (const unsigned) const |
Private Attributes | |
unsigned | bhOffset_ = 0 |
std::unordered_map< unsigned, unsigned > | cells_to_trigger_cells_ |
std::unordered_map< unsigned, unsigned > | cells_to_trigger_cells_bh_ |
std::unordered_set< unsigned > | disconnected_layers_ |
std::unordered_set< unsigned > | disconnected_modules_ |
unsigned | fhOffset_ = 0 |
std::unordered_set< unsigned > | invalid_triggercells_ |
edm::FileInPath | l1tCellNeighborsBHMapping_ |
edm::FileInPath | l1tCellNeighborsMapping_ |
edm::FileInPath | l1tCellsBHMapping_ |
edm::FileInPath | l1tCellsMapping_ |
edm::FileInPath | l1tModulesMapping_ |
unsigned | last_trigger_layer_ = 0 |
std::unordered_multimap< unsigned, unsigned > | module_to_wafers_ |
std::unordered_map< unsigned, unsigned short > | number_trigger_cells_in_wafers_ |
std::unordered_map< unsigned, unsigned short > | number_trigger_cells_in_wafers_bh_ |
unsigned | totalLayers_ = 0 |
std::unordered_map< int, std::set< std::pair< short, short > > > | trigger_cell_neighbors_ |
std::unordered_map< int, std::set< std::pair< short, short > > > | trigger_cell_neighbors_bh_ |
std::unordered_multimap< unsigned, unsigned > | trigger_cells_to_cells_ |
std::unordered_multimap< unsigned, unsigned > | trigger_cells_to_cells_bh_ |
std::vector< unsigned > | trigger_layers_ |
std::unordered_map< unsigned, unsigned > | wafer_to_module_ |
Additional Inherited Members | |
Public Types inherited from HGCalTriggerGeometryBase | |
typedef std::unordered_map< unsigned, unsigned > | geom_map |
typedef std::set< unsigned > | geom_ordered_set |
typedef std::unordered_set< unsigned > | geom_set |
Protected Member Functions inherited from HGCalTriggerGeometryBase | |
void | setCaloGeometry (const CaloGeometry *geom) |
void | setEEGeometry (const HGCalGeometry *geom) |
void | setHScGeometry (const HGCalGeometry *geom) |
void | setHSiGeometry (const HGCalGeometry *geom) |
Definition at line 13 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
HGCalTriggerGeometryHexLayerBasedImp1::HGCalTriggerGeometryHexLayerBasedImp1 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 100 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, edm::ParameterSet::getParameter(), and eostools::move().
|
private |
Definition at line 717 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, and HGCalDDDConstants::waferTypeT().
Referenced by getCellsFromTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 658 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, and layerWithOffset().
|
private |
Definition at line 601 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), getNeighborsFromTriggerCell(), HGCEE, HGCHEF, invalid_triggercells_, HGCalDDDConstants::layers(), number_trigger_cells_in_wafers_, validTriggerCellFromCells(), and wafer_to_module_.
Referenced by initialize().
|
private |
Definition at line 475 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells_to_trigger_cells_, cells_to_trigger_cells_bh_, Exception, edm::FileInPath::fullPath(), HGCHEB, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, l1tCellsBHMapping_, l1tCellsMapping_, l1tModulesMapping_, module_to_wafers_, number_trigger_cells_in_wafers_, number_trigger_cells_in_wafers_bh_, packIetaIphi(), packWaferCellId(), trigger_cells_to_cells_, trigger_cells_to_cells_bh_, and wafer_to_module_.
Referenced by initialize().
|
private |
Definition at line 545 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References begin, edmScanValgrind::buffer, end, Exception, edm::FileInPath::fullPath(), mps_fire::i, mps_splice::line, packTriggerCell(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 283 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getTriggerCellsFromModule().
Referenced by getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 237 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), detIdWaferType(), HcalEndcap, HGCHEB, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, HGCalDetId::layer(), packWaferCellId(), DetId::subdetId(), trigger_cells_to_cells_, trigger_cells_to_cells_bh_, unpackIetaIphi(), unpackWaferCellId(), validCellId(), HGCalDetId::wafer(), and HGCalDetId::zside().
Referenced by getCellsFromModule(), getOrderedCellsFromModule(), getTriggerCellPosition(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 423 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 204 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 208 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception, HGCHEB, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), DetId::rawId(), DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_, HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 451 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), HGCalTriggerGeometryBase::bhGeometry(), HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), getCellsFromModule(), HcalGeometry::getPosition(), HGCalGeometry::getPosition(), HGCEE, HGCHEB, and DetId::subdetId().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 425 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 389 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), Exception, HGCHEB, HGCalDetId::layer(), packTriggerCell(), DetId::subdetId(), trigger_cell_neighbors_, trigger_cell_neighbors_bh_, validTriggerCell(), HGCalDetId::wafer(), and HGCalDetId::zside().
Referenced by fillInvalidTriggerCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 294 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 347 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCHEB, HGCalDetId::layer(), module_to_wafers_, number_trigger_cells_in_wafers_, number_trigger_cells_in_wafers_bh_, DetId::subdetId(), validTriggerCell(), HGCalDetId::wafer(), and HGCalDetId::zside().
Referenced by getOrderedCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 157 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), cells_to_trigger_cells_, cells_to_trigger_cells_bh_, HcalDetId::depth(), Exception, DetId::Forward, DetId::Hcal, HcalEndcap, HGCHEB, LEDCalibrationChannels::ieta, HcalDetId::ietaAbs(), LEDCalibrationChannels::iphi, HcalDetId::iphi(), HGCalDetId::layer(), packIetaIphi(), packWaferCellId(), DetId::rawId(), DetId::subdetId(), unpackWaferCellId(), HGCalDetId::wafer(), HGCalDetId::zside(), HcalDetId::zside(), and ecaldqm::zside().
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 427 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), HGCalTriggerGeometryBase::bhGeometry(), HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), getCellsFromTriggerCell(), HcalGeometry::getPosition(), HGCalGeometry::getPosition(), HGCEE, HGCHEB, and DetId::subdetId().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 305 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCHEB, HGCalDetId::layer(), module_to_wafers_, number_trigger_cells_in_wafers_, number_trigger_cells_in_wafers_bh_, DetId::subdetId(), validTriggerCell(), HGCalDetId::wafer(), and HGCalDetId::zside().
Referenced by getCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 126 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References bhOffset_, HGCalTriggerGeometryBase::bhTopology(), HGCalTopology::dddConstants(), HcalTopology::dddConstants(), disconnected_layers_, HGCalTriggerGeometryBase::eeTopology(), fhOffset_, HGCalTriggerGeometryBase::fhTopology(), fillInvalidTriggerCells(), fillMaps(), fillNeighborMaps(), HcalDDDRecConstants::getMaxDepth(), l1tCellNeighborsBHMapping_, l1tCellNeighborsMapping_, last_trigger_layer_, HGCalDDDConstants::layers(), HGCalTriggerGeometryBase::setCaloGeometry(), totalLayers_, trigger_cell_neighbors_, trigger_cell_neighbors_bh_, and trigger_layers_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 150 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception.
|
inlinefinalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 42 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References last_trigger_layer_, and triggerLayer().
|
private |
Definition at line 735 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References bhOffset_, DEFINE_EDM_PLUGIN, fhOffset_, HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), and DetId::subdetId().
Referenced by disconnectedModule(), and triggerLayer().
|
private |
Definition at line 635 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by fillMaps(), and getTriggerCellFromCell().
|
private |
Definition at line 710 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 626 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, HGCalDetId::kHGCalWaferOffset, and HGCalDetId::kHGCalWaferTypeOffset.
Referenced by fillMaps(), getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 113 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells_to_trigger_cells_, cells_to_trigger_cells_bh_, module_to_wafers_, number_trigger_cells_in_wafers_, number_trigger_cells_in_wafers_bh_, trigger_cell_neighbors_, trigger_cell_neighbors_bh_, trigger_cells_to_cells_, trigger_cells_to_cells_bh_, and wafer_to_module_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 667 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References layerWithOffset(), and trigger_layers_.
Referenced by lastTriggerLayer().
|
private |
Definition at line 649 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by getCellsFromTriggerCell().
|
private |
Definition at line 642 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
private |
Definition at line 691 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTriggerGeometryBase::bhTopology(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEB, HGCHEF, matching::is_valid(), HcalTopology::valid(), and HGCalTopology::valid().
Referenced by getCellsFromTriggerCell(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 654 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 674 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), matching::is_valid(), DetId::subdetId(), and validCellId().
Referenced by fillInvalidTriggerCells().
|
private |
Definition at line 80 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 57 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 74 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), HGCalTriggerGeometryHexLayerBasedImp1(), and initialize().
|
private |
Definition at line 73 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), and HGCalTriggerGeometryHexLayerBasedImp1().
|
private |
Definition at line 79 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 63 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 49 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 47 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 46 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 48 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 76 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and lastTriggerLayer().
|
private |
Definition at line 54 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 61 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 62 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 81 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 69 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 70 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 58 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 60 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 75 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and triggerLayer().
|
private |
Definition at line 53 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromTriggerCell(), and reset().