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 |
HGCalTriggerGeometryHexImp2 (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 () |
unsigned | packTriggerCell (unsigned, const std::vector< int > &) const |
bool | validCellId (unsigned subdet, unsigned cell_id) const |
bool | validTriggerCellFromCells (const unsigned) const |
Private Attributes | |
std::map< std::pair< short, short >, short > | cells_to_trigger_cells_ |
std::unordered_set< unsigned > | invalid_triggercells_ |
edm::FileInPath | l1tCellNeighborsMapping_ |
edm::FileInPath | l1tCellsMapping_ |
edm::FileInPath | l1tModulesMapping_ |
edm::FileInPath | l1tWaferNeighborsMapping_ |
std::unordered_multimap< short, short > | module_to_wafers_ee_ |
std::unordered_multimap< short, short > | module_to_wafers_fh_ |
std::unordered_map< short, short > | number_cells_in_wafers_ |
std::unordered_map< short, short > | number_trigger_cells_in_wafers_ |
std::unordered_map< int, std::set< std::pair< short, short > > > | trigger_cell_neighbors_ |
std::multimap< std::pair< short, short >, short > | trigger_cells_to_cells_ |
std::unordered_map< short, std::vector< short > > | wafer_neighbors_ee_ |
std::unordered_map< short, std::vector< short > > | wafer_neighbors_fh_ |
std::unordered_map< short, short > | wafer_to_module_ee_ |
std::unordered_map< short, short > | wafer_to_module_fh_ |
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 12 of file HGCalTriggerGeometryHexImp2.cc.
HGCalTriggerGeometryHexImp2::HGCalTriggerGeometryHexImp2 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 90 of file HGCalTriggerGeometryHexImp2.cc.
|
private |
Definition at line 738 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, and HGCalDDDConstants::waferTypeT().
Referenced by fillInvalidTriggerCells(), fillMaps(), getCellsFromModule(), getNeighborsFromTriggerCell(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 786 of file HGCalTriggerGeometryHexImp2.cc.
|
private |
Definition at line 691 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTopology::dddConstants(), detIdWaferType(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, invalid_triggercells_, HGCalDDDConstants::layers(), number_trigger_cells_in_wafers_, DetId::rawId(), validTriggerCellFromCells(), wafer_to_module_ee_, and wafer_to_module_fh_.
Referenced by initialize().
|
private |
Definition at line 535 of file HGCalTriggerGeometryHexImp2.cc.
References cells_to_trigger_cells_, detIdWaferType(), HGCalTriggerGeometryBase::eeTopology(), Exception, HGCalTriggerGeometryBase::fhTopology(), edm::FileInPath::fullPath(), HGCEE, HGCHEF, l1tCellsMapping_, l1tModulesMapping_, module_to_wafers_ee_, module_to_wafers_fh_, number_cells_in_wafers_, number_trigger_cells_in_wafers_, trigger_cells_to_cells_, wafer_to_module_ee_, and wafer_to_module_fh_.
Referenced by initialize().
|
private |
Definition at line 596 of file HGCalTriggerGeometryHexImp2.cc.
References begin, edmScanValgrind::buffer, HltBtagPostValidation_cff::c, makeHLTPrescaleTable::delimiter, end, Exception, edm::FileInPath::fullPath(), HGCEE, HGCHEF, l1tCellNeighborsMapping_, l1tWaferNeighborsMapping_, mps_splice::line, packTriggerCell(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, trigger_cell_neighbors_, wafer_neighbors_ee_, and wafer_neighbors_fh_.
Referenced by initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 256 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), module_to_wafers_ee_, module_to_wafers_fh_, number_cells_in_wafers_, DetId::subdetId(), validCellId(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 233 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), HGCHEB, HGCalDetId::layer(), DetId::subdetId(), trigger_cells_to_cells_, HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getTriggerCellPosition(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 501 of file HGCalTriggerGeometryHexImp2.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 153 of file HGCalTriggerGeometryHexImp2.cc.
References Exception, DetId::Hcal, HGCEE, HGCHEF, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_ee_, wafer_to_module_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 193 of file HGCalTriggerGeometryHexImp2.cc.
References Exception, HGCEE, HGCHEB, HGCHEF, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_ee_, wafer_to_module_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 520 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), getCellsFromModule(), HGCalGeometry::getPosition(), HGCEE, and DetId::subdetId().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 503 of file HGCalTriggerGeometryHexImp2.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 417 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), detIdWaferType(), Exception, HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), packTriggerCell(), DetId::subdetId(), trigger_cell_neighbors_, validTriggerCell(), w, HGCalDetId::wafer(), wafer_neighbors_ee_, wafer_neighbors_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 295 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), module_to_wafers_ee_, module_to_wafers_fh_, number_cells_in_wafers_, DetId::subdetId(), validCellId(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 376 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), module_to_wafers_ee_, module_to_wafers_fh_, number_trigger_cells_in_wafers_, DetId::subdetId(), validTriggerCell(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 130 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), cells_to_trigger_cells_, Exception, DetId::Hcal, HGCalDetId::layer(), DetId::subdetId(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 505 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTriggerGeometryBase::eeGeometry(), HGCalTriggerGeometryBase::fhGeometry(), getCellsFromTriggerCell(), HGCalGeometry::getPosition(), HGCEE, and DetId::subdetId().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 335 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), module_to_wafers_ee_, module_to_wafers_fh_, number_trigger_cells_in_wafers_, DetId::subdetId(), validTriggerCell(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 108 of file HGCalTriggerGeometryHexImp2.cc.
References fillInvalidTriggerCells(), fillMaps(), fillNeighborMaps(), and HGCalTriggerGeometryBase::setCaloGeometry().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 115 of file HGCalTriggerGeometryHexImp2.cc.
References Exception.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 122 of file HGCalTriggerGeometryHexImp2.cc.
References Exception.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 788 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), and HGCalDDDConstants::layers().
|
private |
Definition at line 726 of file HGCalTriggerGeometryHexImp2.cc.
References mps_fire::i, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
finalvirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 97 of file HGCalTriggerGeometryHexImp2.cc.
References cells_to_trigger_cells_, module_to_wafers_ee_, module_to_wafers_fh_, number_cells_in_wafers_, number_trigger_cells_in_wafers_, trigger_cells_to_cells_, wafer_to_module_ee_, and wafer_to_module_fh_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 790 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::layer().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 756 of file HGCalTriggerGeometryHexImp2.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 809 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), HGCEE, HGCHEF, and HGCalTopology::valid().
Referenced by getCellsFromModule(), getOrderedCellsFromModule(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 782 of file HGCalTriggerGeometryHexImp2.cc.
References invalid_triggercells_.
Referenced by getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 792 of file HGCalTriggerGeometryHexImp2.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), DetId::subdetId(), and validCellId().
Referenced by fillInvalidTriggerCells().
|
private |
Definition at line 59 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 63 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillInvalidTriggerCells(), and validTriggerCell().
|
private |
Definition at line 48 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps().
|
private |
Definition at line 47 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps().
|
private |
Definition at line 49 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 62 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), and reset().
|
private |
Definition at line 61 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 74 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 60 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 77 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 78 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 53 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), and reset().
|
private |
Definition at line 54 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillInvalidTriggerCells(), fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), and reset().