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 |
void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *) final |
unsigned | lastTriggerLayer () const final |
void | reset () final |
unsigned | triggerLayer (const unsigned) const final |
bool | validCell (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 |
bool | isWithNoseGeometry () const |
const std::string & | name () const |
const HGCalGeometry * | noseGeometry () const |
const HGCalTopology & | noseTopology () const |
void | setWithNoseGeometry (const bool isNose) |
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) |
void | setNoseGeometry (const HGCalGeometry *geom) |
Definition at line 13 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
HGCalTriggerGeometryHexLayerBasedImp1::HGCalTriggerGeometryHexLayerBasedImp1 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 102 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, edm::ParameterSet::getParameter(), and eostools::move().
|
private |
Definition at line 753 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 694 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References disconnected_layers_, disconnected_modules_, and layerWithOffset().
|
private |
Definition at line 611 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), getNeighborsFromTriggerCell(), HGCEE, HGCHEF, invalid_triggercells_, phase1PixelTopology::layer, HGCalDDDConstants::layers(), number_trigger_cells_in_wafers_, validTriggerCellFromCells(), and wafer_to_module_.
Referenced by initialize().
|
private |
Definition at line 485 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 555 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References edmScanValgrind::buffer, mps_fire::end, Exception, FrontierConditions_GlobalTag_cff::file, mps_fire::i, mps_splice::line, packTriggerCell(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 293 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells, getCellsFromTriggerCell(), and getTriggerCellsFromModule().
Referenced by getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 247 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 433 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 214 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 218 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 461 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 435 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 399 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 304 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells, getCellsFromTriggerCell(), and getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 357 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 167 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(), phase1PixelTopology::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 437 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 315 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 128 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_, phase1PixelTopology::layer, HGCalDDDConstants::layers(), HGCalTriggerGeometryBase::setCaloGeometry(), totalLayers_, trigger_cell_neighbors_, trigger_cell_neighbors_bh_, and trigger_layers_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 152 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 159 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References Exception.
|
inlinefinalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 44 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References last_trigger_layer_.
|
private |
Definition at line 771 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References bhOffset_, fhOffset_, HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), phase1PixelTopology::layer, and DetId::subdetId().
Referenced by disconnectedModule(), and triggerLayer().
|
private |
Definition at line 645 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by fillMaps(), and getTriggerCellFromCell().
|
private |
Definition at line 746 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalCellOffset, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 636 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 115 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 703 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References phase1PixelTopology::layer, layerWithOffset(), and trigger_layers_.
|
private |
Definition at line 659 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, HcalDetId::kHcalEtaMask2, HcalDetId::kHcalEtaOffset2, and HcalDetId::kHcalPhiMask2.
Referenced by getCellsFromTriggerCell().
|
private |
Definition at line 652 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalDetId::kHGCalCellMask, HGCalDetId::kHGCalWaferMask, and HGCalDetId::kHGCalWaferOffset.
Referenced by getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 664 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTriggerGeometryBase::bhTopology(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), DetId::Forward, DetId::Hcal, HcalEndcap, HGCEE, HGCHEF, DetId::subdetId(), HcalTopology::valid(), and HGCalTopology::valid().
|
private |
Definition at line 727 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References HGCalTriggerGeometryBase::bhTopology(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEB, HGCHEF, HcalTopology::valid(), and HGCalTopology::valid().
Referenced by getCellsFromTriggerCell(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 690 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 710 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
References cells, getCellsFromTriggerCell(), DetId::subdetId(), and validCellId().
Referenced by fillInvalidTriggerCells().
|
private |
Definition at line 82 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 61 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 76 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), HGCalTriggerGeometryHexLayerBasedImp1(), and initialize().
|
private |
Definition at line 75 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by disconnectedModule(), and HGCalTriggerGeometryHexLayerBasedImp1().
|
private |
Definition at line 81 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 65 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 52 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 51 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 49 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 48 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps().
|
private |
Definition at line 78 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and lastTriggerLayer().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 63 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 64 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 83 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize().
|
private |
Definition at line 71 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 72 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by getNeighborsFromTriggerCell(), initialize(), and reset().
|
private |
Definition at line 60 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 62 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 77 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by initialize(), and triggerLayer().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexLayerBasedImp1.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromTriggerCell(), and reset().