Public Member Functions | |
bool | disconnectedModule (const unsigned) const final |
geom_set | getCellsFromModule (const unsigned) const final |
geom_set | getCellsFromTriggerCell (const unsigned) const final |
unsigned | getModuleFromCell (const unsigned) const final |
unsigned | getModuleFromTriggerCell (const unsigned) const final |
GlobalPoint | getModulePosition (const unsigned) 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 edm::ESHandle< CaloGeometry > &) 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 edm::ESHandle< 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 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_ |
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) |
Definition at line 14 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
HGCalTriggerGeometryHexLayerBasedImp1::HGCalTriggerGeometryHexLayerBasedImp1 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 98 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, edm::ParameterSet::getParameter(), eostools::move(), and reset().
|
private |
Definition at line 785 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, layerWithOffset(), and HGCalDDDConstants::waferTypeT().
Referenced by getCellsFromTriggerCell(), and packTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 712 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, layerWithOffset(), and triggerLayer().
Referenced by validTriggerCell().
|
private |
Definition at line 634 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), getNeighborsFromTriggerCell(), HGCEE, HGCHEF, invalid_triggercells_, HGCalDDDConstants::layers(), number_trigger_cells_in_wafers_, packWaferCellId(), validTriggerCellFromCells(), and wafer_to_module_.
Referenced by fillNeighborMaps(), and initialize().
|
private |
Definition at line 486 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells_to_trigger_cells_, cells_to_trigger_cells_bh_, Exception, fillNeighborMaps(), edm::FileInPath::fullPath(), HGCHEB, l1tCellsBHMapping_, l1tCellsMapping_, l1tModulesMapping_, python.rootplot.argparse::module, 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 getModulePosition(), and initialize().
|
private |
Definition at line 561 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References begin, edmScanValgrind::buffer, end, Exception, fillInvalidTriggerCells(), edm::FileInPath::fullPath(), mps_fire::i, geometryCSVtoXML::line, packTriggerCell(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillMaps(), and initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 288 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), getOrderedCellsFromModule(), and getTriggerCellsFromModule().
Referenced by getCellsFromTriggerCell(), and getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 246 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), detIdWaferType(), getCellsFromModule(), 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(), getModuleFromTriggerCell(), getOrderedCellsFromModule(), getTriggerCellPosition(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 212 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
Referenced by getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 219 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception, getCellsFromTriggerCell(), HGCHEB, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), python.rootplot.argparse::module, DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_, HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 456 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), HGCalTriggerGeometryBase::bhGeometry(), HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), fillMaps(), getCellsFromModule(), HcalGeometry::getPosition(), HGCalGeometry::getPosition(), HGCEE, HGCHEB, and DetId::subdetId().
Referenced by getTriggerCellPosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 392 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), Exception, getTriggerCellPosition(), HGCHEB, HGCalDetId::layer(), packTriggerCell(), DetId::subdetId(), trigger_cell_neighbors_, trigger_cell_neighbors_bh_, validTriggerCell(), HGCalDetId::wafer(), and HGCalDetId::zside().
Referenced by fillInvalidTriggerCells(), and getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 302 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
Referenced by getCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 353 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getNeighborsFromTriggerCell(), HGCHEB, HGCalDetId::layer(), python.rootplot.argparse::module, 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(), and getTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 160 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::cell(), cells_to_trigger_cells_, cells_to_trigger_cells_bh_, HcalDetId::depth(), Exception, DetId::Forward, getModuleFromCell(), 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(), and initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 426 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), HGCalTriggerGeometryBase::bhGeometry(), HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), getCellsFromTriggerCell(), getModulePosition(), HcalGeometry::getPosition(), HGCalGeometry::getPosition(), HGCEE, HGCHEB, and DetId::subdetId().
Referenced by getNeighborsFromTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 316 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getOrderedTriggerCellsFromModule(), HGCHEB, HGCalDetId::layer(), python.rootplot.argparse::module, 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(), and getOrderedCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 130 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References bhOffset_, HGCalTriggerGeometryBase::bhTopology(), HGCalTopology::dddConstants(), HcalTopology::dddConstants(), disconnected_layers_, HGCalTriggerGeometryBase::eeTopology(), fhOffset_, HGCalTriggerGeometryBase::fhTopology(), fillInvalidTriggerCells(), fillMaps(), fillNeighborMaps(), HcalDDDRecConstants::getMaxDepth(), getTriggerCellFromCell(), l1tCellNeighborsBHMapping_, l1tCellNeighborsMapping_, HGCalDDDConstants::layers(), HGCalTriggerGeometryBase::setCaloGeometry(), totalLayers_, trigger_cell_neighbors_, trigger_cell_neighbors_bh_, and trigger_layers_.
Referenced by reset().
|
private |
Definition at line 808 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References bhOffset_, DEFINE_EDM_PLUGIN, fhOffset_, HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), and DetId::subdetId().
Referenced by detIdWaferType(), disconnectedModule(), and triggerLayer().
|
private |
Definition at line 678 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, HcalDetId::kHcalPhiMask2, and unpackWaferCellId().
Referenced by fillMaps(), getTriggerCellFromCell(), and packWaferCellId().
|
private |
Definition at line 775 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References detIdWaferType(), HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by fillNeighborMaps(), getNeighborsFromTriggerCell(), and validCellId().
|
private |
Definition at line 665 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, HGCalDetId::kHGCalWaferOffset, HGCalDetId::kHGCalWaferTypeOffset, and packIetaIphi().
Referenced by fillInvalidTriggerCells(), fillMaps(), getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 114 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells_to_trigger_cells_, cells_to_trigger_cells_bh_, initialize(), 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_.
Referenced by HGCalTriggerGeometryHexLayerBasedImp1().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 722 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References layerWithOffset(), trigger_layers_, and validTriggerCellFromCells().
Referenced by disconnectedModule().
|
private |
Definition at line 697 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, HcalDetId::kHcalPhiMask2, and validTriggerCell().
Referenced by getCellsFromTriggerCell(), and unpackWaferCellId().
|
private |
Definition at line 688 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalWaferMask, HGCalDetId::kHGCalWaferOffset, and unpackIetaIphi().
Referenced by getCellsFromTriggerCell(), getTriggerCellFromCell(), and packIetaIphi().
|
private |
Definition at line 751 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTriggerGeometryBase::bhTopology(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEB, HGCHEF, matching::is_valid(), packTriggerCell(), HcalTopology::valid(), and HGCalTopology::valid().
Referenced by getCellsFromTriggerCell(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 705 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnectedModule(), and invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and unpackIetaIphi().
|
private |
Definition at line 731 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), matching::is_valid(), DetId::subdetId(), and validCellId().
Referenced by fillInvalidTriggerCells(), and triggerLayer().
|
private |
Definition at line 76 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 54 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 71 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), HGCalTriggerGeometryHexLayerBasedImp1(), and initialize().
|
private |
Definition at line 70 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), and HGCalTriggerGeometryHexLayerBasedImp1().
|
private |
Definition at line 75 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 60 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 47 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 46 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 44 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 43 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 45 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 51 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 58 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 77 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 66 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 67 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 57 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 72 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and triggerLayer().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromTriggerCell(), and reset().