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 |
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 | 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 | |
std::unordered_map< unsigned, unsigned > | cells_to_trigger_cells_ |
std::unordered_map< unsigned, unsigned > | cells_to_trigger_cells_bh_ |
std::unordered_set< unsigned > | disconnected_modules_ |
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_ |
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::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 88 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_modules_, edm::ParameterSet::getParameter(), eostools::move(), and reset().
|
private |
Definition at line 743 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), DEFINE_EDM_PLUGIN, HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, and HGCalDDDConstants::waferTypeT().
Referenced by getCellsFromTriggerCell(), and packTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 682 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_modules_, and validTriggerCellFromCells().
Referenced by validTriggerCell().
|
private |
Definition at line 604 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 456 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 531 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 258 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), getOrderedCellsFromModule(), and getTriggerCellsFromModule().
Referenced by getCellsFromTriggerCell(), and getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 216 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 182 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
Referenced by getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 189 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 426 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 362 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 272 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
Referenced by getCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 323 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 130 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 396 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 286 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 118 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References fillInvalidTriggerCells(), fillMaps(), fillNeighborMaps(), getTriggerCellFromCell(), l1tCellNeighborsBHMapping_, l1tCellNeighborsMapping_, HGCalTriggerGeometryBase::setCaloGeometry(), trigger_cell_neighbors_, and trigger_cell_neighbors_bh_.
Referenced by reset().
|
private |
Definition at line 648 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, HcalDetId::kHcalPhiMask2, and unpackWaferCellId().
Referenced by fillMaps(), getTriggerCellFromCell(), and packWaferCellId().
|
private |
Definition at line 733 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 635 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 102 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().
|
private |
Definition at line 667 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, HcalDetId::kHcalPhiMask2, and validTriggerCell().
Referenced by getCellsFromTriggerCell(), and unpackWaferCellId().
|
private |
Definition at line 658 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalWaferMask, HGCalDetId::kHGCalWaferOffset, and unpackIetaIphi().
Referenced by getCellsFromTriggerCell(), getTriggerCellFromCell(), and packIetaIphi().
|
private |
Definition at line 709 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 675 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnectedModule(), and invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and unpackIetaIphi().
|
private |
Definition at line 689 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getCellsFromTriggerCell(), matching::is_valid(), DetId::subdetId(), and validCellId().
Referenced by disconnectedModule(), and fillInvalidTriggerCells().
|
private |
Definition at line 53 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 69 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), and HGCalTriggerGeometryHexLayerBasedImp1().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 46 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 45 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 43 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 42 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 44 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 57 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 58 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 65 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 66 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 54 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 49 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromTriggerCell(), and reset().