Public Member Functions | |
virtual geom_set | getCellsFromModule (const unsigned) const override final |
virtual geom_set | getCellsFromTriggerCell (const unsigned) const override final |
virtual unsigned | getModuleFromCell (const unsigned) const override final |
virtual unsigned | getModuleFromTriggerCell (const unsigned) const override final |
virtual GlobalPoint | getModulePosition (const unsigned) const override final |
virtual geom_set | getNeighborsFromTriggerCell (const unsigned) const override final |
virtual geom_ordered_set | getOrderedCellsFromModule (const unsigned) const override final |
virtual geom_ordered_set | getOrderedTriggerCellsFromModule (const unsigned) const override final |
virtual unsigned | getTriggerCellFromCell (const unsigned) const override final |
virtual GlobalPoint | getTriggerCellPosition (const unsigned) const override final |
virtual geom_set | getTriggerCellsFromModule (const unsigned) const override final |
HGCalTriggerGeometryHexImp2 (const edm::ParameterSet &conf) | |
virtual void | initialize (const es_info &) override final |
virtual void | reset () override final |
virtual bool | validTriggerCell (const unsigned) const override final |
Public Member Functions inherited from HGCalTriggerGeometryBase | |
const std::string & | bhSDName () const |
const std::string & | eeSDName () const |
const std::string & | fhSDName () const |
HGCalTriggerGeometryBase (const edm::ParameterSet &conf) | |
virtual void | initialize (const es_info &)=0 |
const std::string & | name () const |
virtual | ~HGCalTriggerGeometryBase () |
Private Member Functions | |
int | detIdWaferType (unsigned subdet, short wafer) const |
void | fillMaps (const es_info &) |
void | fillNeighborMaps (const es_info &) |
unsigned | packTriggerCell (unsigned, const std::vector< int > &) const |
bool | validCellId (unsigned subdet, unsigned cell_id) const |
Private Attributes | |
std::map< std::pair< short, short >, short > | cells_to_trigger_cells_ |
es_info | es_info_ |
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 |
Definition at line 13 of file HGCalTriggerGeometryHexImp2.cc.
HGCalTriggerGeometryHexImp2::HGCalTriggerGeometryHexImp2 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 84 of file HGCalTriggerGeometryHexImp2.cc.
References reset().
|
private |
Definition at line 668 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalTopology::dddConstants(), es_info_, HGCEE, HGCHEF, HGCalTriggerGeometryBase::es_info::topo_ee, HGCalTriggerGeometryBase::es_info::topo_fh, validTriggerCell(), and HGCalDDDConstants::waferTypeT().
Referenced by fillMaps(), getCellsFromModule(), getNeighborsFromTriggerCell(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and packTriggerCell().
|
private |
Definition at line 483 of file HGCalTriggerGeometryHexImp2.cc.
References cells_to_trigger_cells_, detIdWaferType(), fillNeighborMaps(), edm::FileInPath::fullPath(), HGCEE, HGCHEF, l1tCellsMapping_, l1tModulesMapping_, python.rootplot.argparse::module, 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 getModulePosition(), and initialize().
|
private |
Definition at line 543 of file HGCalTriggerGeometryHexImp2.cc.
References begin, EnergyCorrector::c, csvReporter::delimiter, end, Exception, edm::FileInPath::fullPath(), HGCEE, HGCHEF, l1tCellNeighborsMapping_, l1tWaferNeighborsMapping_, geometryCSVtoXML::line, neighbor(), packTriggerCell(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, trigger_cell_neighbors_, wafer_neighbors_ee_, and wafer_neighbors_fh_.
Referenced by fillMaps(), and initialize().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 221 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), getOrderedCellsFromModule(), HGCEE, 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 getCellsFromTriggerCell(), and getModulePosition().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 204 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), getCellsFromModule(), HGCalDetId::layer(), DetId::subdetId(), trigger_cells_to_cells_, HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getModuleFromTriggerCell(), getTriggerCellPosition(), and validTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 138 of file HGCalTriggerGeometryHexImp2.cc.
References Exception, getModuleFromTriggerCell(), HGCEE, HGCHEF, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), python.rootplot.argparse::module, DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_ee_, wafer_to_module_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getTriggerCellFromCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 171 of file HGCalTriggerGeometryHexImp2.cc.
References Exception, getCellsFromTriggerCell(), HGCEE, HGCHEF, HGCalDetId::kHGCalCellMask, HGCalDetId::layer(), python.rootplot.argparse::module, DetId::subdetId(), HGCalDetId::wafer(), wafer_to_module_ee_, wafer_to_module_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getModuleFromCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 467 of file HGCalTriggerGeometryHexImp2.cc.
References es_info_, fillMaps(), HGCalTriggerGeometryBase::es_info::geom_ee, HGCalTriggerGeometryBase::es_info::geom_fh, getCellsFromModule(), HGCalGeometry::getPosition(), HGCEE, and DetId::subdetId().
Referenced by getTriggerCellPosition().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 370 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), detIdWaferType(), Exception, getTriggerCellPosition(), HGCEE, HGCHEF, HGCalDetId::layer(), packTriggerCell(), DetId::subdetId(), trigger_cell_neighbors_, cutBasedMuonId_MuonPOG_V0_cff::types, validTriggerCell(), w, HGCalDetId::wafer(), wafer_neighbors_ee_, wafer_neighbors_fh_, HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by getOrderedTriggerCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 258 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), getTriggerCellsFromModule(), HGCEE, 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 getCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 331 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), getNeighborsFromTriggerCell(), HGCEE, 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().
Referenced by getTriggerCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 119 of file HGCalTriggerGeometryHexImp2.cc.
References HGCalDetId::cell(), cells_to_trigger_cells_, Exception, getModuleFromCell(), HGCalDetId::layer(), DetId::subdetId(), HGCalDetId::wafer(), HGCalDetId::waferType(), and HGCalDetId::zside().
Referenced by initialize().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 451 of file HGCalTriggerGeometryHexImp2.cc.
References es_info_, HGCalTriggerGeometryBase::es_info::geom_ee, HGCalTriggerGeometryBase::es_info::geom_fh, getCellsFromTriggerCell(), getModulePosition(), HGCalGeometry::getPosition(), HGCEE, and DetId::subdetId().
Referenced by getNeighborsFromTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 294 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), getOrderedTriggerCellsFromModule(), HGCEE, 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().
Referenced by getOrderedCellsFromModule().
|
finaloverridevirtual |
Definition at line 109 of file HGCalTriggerGeometryHexImp2.cc.
References es_info_, fillMaps(), fillNeighborMaps(), and getTriggerCellFromCell().
Referenced by reset().
|
private |
Definition at line 653 of file HGCalTriggerGeometryHexImp2.cc.
References detIdWaferType(), and mps_fire::i.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
finaloverridevirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 95 of file HGCalTriggerGeometryHexImp2.cc.
References cells_to_trigger_cells_, initialize(), 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 HGCalTriggerGeometryHexImp2().
|
private |
Definition at line 710 of file HGCalTriggerGeometryHexImp2.cc.
References DEFINE_EDM_PLUGIN, es_info_, HGCEE, HGCHEF, matching::is_valid(), HGCalTriggerGeometryBase::es_info::topo_ee, HGCalTriggerGeometryBase::es_info::topo_fh, and HGCalTopology::valid().
Referenced by getCellsFromModule(), getOrderedCellsFromModule(), and validTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 690 of file HGCalTriggerGeometryHexImp2.cc.
References getCellsFromTriggerCell(), matching::is_valid(), DetId::subdetId(), and validCellId().
Referenced by detIdWaferType(), getNeighborsFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 54 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getTriggerCellFromCell(), and reset().
|
private |
Definition at line 45 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by detIdWaferType(), getModulePosition(), getTriggerCellPosition(), initialize(), and validCellId().
|
private |
Definition at line 41 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps().
|
private |
Definition at line 40 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps().
|
private |
Definition at line 43 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps().
|
private |
Definition at line 42 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps().
|
private |
Definition at line 50 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 51 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 57 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromModule(), getOrderedCellsFromModule(), and reset().
|
private |
Definition at line 56 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 68 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 55 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getCellsFromTriggerCell(), and reset().
|
private |
Definition at line 71 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 72 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillNeighborMaps(), and getNeighborsFromTriggerCell().
|
private |
Definition at line 48 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), and reset().
|
private |
Definition at line 49 of file HGCalTriggerGeometryHexImp2.cc.
Referenced by fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), and reset().