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_ |
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_ |
std::unordered_set< unsigned > | invalid_triggercells_ |
edm::FileInPath | l1tCellNeighborsBHMapping_ |
edm::FileInPath | l1tCellNeighborsMapping_ |
edm::FileInPath | l1tCellsBHMapping_ |
edm::FileInPath | l1tCellsMapping_ |
edm::FileInPath | l1tModulesMapping_ |
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_ |
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 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) |
Definition at line 13 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
HGCalTriggerGeometryHexLayerBasedImp1::HGCalTriggerGeometryHexLayerBasedImp1 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 97 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, edm::ParameterSet::getParameter(), and eostools::move().
|
private |
Definition at line 709 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 650 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, and layerWithOffset().
|
private |
Definition at line 593 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 467 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells_to_trigger_cells_, cells_to_trigger_cells_bh_, Exception, edm::FileInPath::fullPath(), HGCHEB, 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 537 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 279 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getTriggerCellsFromModule().
Referenced by getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 233 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), detIdWaferType(), HcalEndcap, HGCHEB, 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 200 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 204 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 443 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 385 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 290 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 343 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 153 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, HcalDetId::ietaAbs(), 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 419 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 301 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 123 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_, HGCalDDDConstants::layers(), HGCalTriggerGeometryBase::setCaloGeometry(), totalLayers_, trigger_cell_neighbors_, trigger_cell_neighbors_bh_, and trigger_layers_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 146 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception.
|
private |
Definition at line 727 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 627 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by fillMaps(), and getTriggerCellFromCell().
|
private |
Definition at line 702 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 618 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 110 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 659 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References layerWithOffset(), and trigger_layers_.
|
private |
Definition at line 641 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by getCellsFromTriggerCell().
|
private |
Definition at line 634 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
private |
Definition at line 683 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 646 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 666 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), matching::is_valid(), DetId::subdetId(), and validCellId().
Referenced by fillInvalidTriggerCells().
|
private |
Definition at line 77 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 57 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 72 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), HGCalTriggerGeometryHexLayerBasedImp1(), and initialize().
|
private |
Definition at line 71 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), and HGCalTriggerGeometryHexLayerBasedImp1().
|
private |
Definition at line 76 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 61 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 48 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 47 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 45 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 44 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 46 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 52 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 60 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 78 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 67 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 68 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 58 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 73 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and triggerLayer().
|
private |
Definition at line 51 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromTriggerCell(), and reset().