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 |
HGCalTriggerGeometryV9Imp2 (const edm::ParameterSet &conf) | |
void | initialize (const edm::ESHandle< CaloGeometry > &) final |
void | initialize (const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &) 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 HGCalGeometry * | hscGeometry () const |
const HGCalTopology & | hscTopology () const |
const HGCalGeometry * | hsiGeometry () const |
const HGCalTopology & | hsiTopology () const |
bool | isV9Geometry () const |
const std::string & | name () const |
virtual | ~HGCalTriggerGeometryBase () |
Private Member Functions | |
int | detIdWaferType (unsigned det, unsigned layer, short waferU, short waferV) const |
void | fillMaps () |
unsigned | layerWithOffset (unsigned) const |
unsigned | packWaferId (int waferU, int waferV) const |
void | unpackWaferId (unsigned wafer, int &waferU, int &waferV) const |
bool | validCellId (unsigned det, unsigned cell_id) const |
bool | validTriggerCellFromCells (const unsigned) const |
Private Attributes | |
std::unordered_set< unsigned > | disconnected_layers_ |
unsigned | heOffset_ |
unsigned | hSc_module_size_ = 12 |
unsigned | hSc_triggercell_size_ = 2 |
edm::FileInPath | l1tModulesMapping_ |
std::unordered_multimap< unsigned, unsigned > | module_to_wafers_ |
unsigned | totalLayers_ |
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) |
void | setEEGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHScGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHSiGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
Definition at line 16 of file HGCalTriggerGeometryV9Imp2.cc.
HGCalTriggerGeometryV9Imp2::HGCalTriggerGeometryV9Imp2 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 76 of file HGCalTriggerGeometryV9Imp2.cc.
|
private |
Definition at line 507 of file HGCalTriggerGeometryV9Imp2.cc.
References HGCalTopology::dddConstants(), HGCalTriggerGeometryBase::eeTopology(), HGCalDDDConstants::getTypeHex(), DetId::HGCalEE, DetId::HGCalHSi, and HGCalTriggerGeometryBase::hsiTopology().
Referenced by getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 458 of file HGCalTriggerGeometryV9Imp2.cc.
References disconnected_layers_, and layerWithOffset().
|
private |
Definition at line 413 of file HGCalTriggerGeometryV9Imp2.cc.
References Exception, edm::FileInPath::fullPath(), l1tModulesMapping_, module_to_wafers_, packWaferId(), and wafer_to_module_.
Referenced by initialize().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 232 of file HGCalTriggerGeometryV9Imp2.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getTriggerCellsFromModule().
Referenced by getModulePosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 191 of file HGCalTriggerGeometryV9Imp2.cc.
References HGCalTriggerDetId::cellU(), HGCalTriggerDetId::cellV(), DetId::det(), DetId::HGCalEE, HGCalEETrigger, DetId::HGCalHSc, DetId::HGCalHSi, HGCalHSiTrigger, hSc_triggercell_size_, HGCScintillatorDetId::ietaAbs(), createfilelist::int, HGCScintillatorDetId::iphi(), HGCScintillatorDetId::layer(), HGCalTriggerDetId::layer(), DetId::rawId(), HGCalTriggerDetId::subdet(), HGCScintillatorDetId::type(), HGCalTriggerDetId::type(), validCellId(), HGCalTriggerDetId::waferU(), HGCalTriggerDetId::waferV(), HGCScintillatorDetId::zside(), HGCalTriggerDetId::zside(), and ecaldqm::zside().
Referenced by getCellsFromModule(), getOrderedCellsFromModule(), getTriggerCellPosition(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 144 of file HGCalTriggerGeometryV9Imp2.cc.
References getModuleFromTriggerCell(), and getTriggerCellFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 148 of file HGCalTriggerGeometryV9Imp2.cc.
References DetId::det(), Exception, HGCalEETrigger, DetId::HGCalHSc, HGCalHSiTrigger, HGCEE, HGCHEF, hSc_module_size_, HGCScintillatorDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HGCalDetId::kHGCalCellMask, HGCScintillatorDetId::layer(), HGCalTriggerDetId::layer(), packWaferId(), DetId::rawId(), HGCalTriggerDetId::subdet(), HGCScintillatorDetId::type(), wafer_to_module_, HGCalTriggerDetId::waferU(), HGCalTriggerDetId::waferV(), HGCScintillatorDetId::zside(), HGCalTriggerDetId::zside(), and ecaldqm::zside().
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 389 of file HGCalTriggerGeometryV9Imp2.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), DetId::det(), HGCalTriggerGeometryBase::eeGeometry(), getCellsFromModule(), HGCalGeometry::getPosition(), DetId::HGCalEE, DetId::HGCalHSc, HGCalTriggerGeometryBase::hscGeometry(), and HGCalTriggerGeometryBase::hsiGeometry().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 358 of file HGCalTriggerGeometryV9Imp2.cc.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 242 of file HGCalTriggerGeometryV9Imp2.cc.
References postprocess-scan-build::cells, getCellsFromTriggerCell(), and getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 306 of file HGCalTriggerGeometryV9Imp2.cc.
References DetId::det(), detIdWaferType(), HGCSiliconDetIdToROC::getTriggerId(), DetId::HGCalEE, HGCalEETrigger, HGCSiliconDetId::HGCalFine, DetId::HGCalHSc, DetId::HGCalHSi, HGCalHSiTrigger, HGCEE, hSc_module_size_, HGCScintillatorDetId::ietaAbs(), createfilelist::int, HGCScintillatorDetId::iphi(), HGCalDetId::layer(), HGCScintillatorDetId::layer(), module_to_wafers_, DetId::subdetId(), HGCScintillatorDetId::type(), unpackWaferId(), validTriggerCellFromCells(), HGCalDetId::wafer(), HGCScintillatorDetId::zside(), and HGCalDetId::zside().
Referenced by getOrderedCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 117 of file HGCalTriggerGeometryV9Imp2.cc.
References DetId::det(), DetId::HGCalEE, HGCalEETrigger, DetId::HGCalHSc, DetId::HGCalHSi, HGCalHSiTrigger, hSc_triggercell_size_, HGCScintillatorDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), HGCSiliconDetId::triggerCellU(), HGCSiliconDetId::triggerCellV(), HGCScintillatorDetId::type(), HGCSiliconDetId::type(), HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), HGCScintillatorDetId::zside(), and HGCSiliconDetId::zside().
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 365 of file HGCalTriggerGeometryV9Imp2.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), DetId::det(), HGCalTriggerGeometryBase::eeGeometry(), getCellsFromTriggerCell(), HGCalGeometry::getPosition(), DetId::HGCalEE, DetId::HGCalHSc, HGCalTriggerGeometryBase::hscGeometry(), and HGCalTriggerGeometryBase::hsiGeometry().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 253 of file HGCalTriggerGeometryV9Imp2.cc.
References DetId::det(), detIdWaferType(), HGCSiliconDetIdToROC::getTriggerId(), DetId::HGCalEE, HGCalEETrigger, HGCSiliconDetId::HGCalFine, DetId::HGCalHSc, DetId::HGCalHSi, HGCalHSiTrigger, HGCEE, hSc_module_size_, HGCScintillatorDetId::ietaAbs(), createfilelist::int, HGCScintillatorDetId::iphi(), HGCalDetId::layer(), HGCScintillatorDetId::layer(), module_to_wafers_, DetId::subdetId(), HGCScintillatorDetId::type(), unpackWaferId(), validTriggerCellFromCells(), HGCalDetId::wafer(), HGCScintillatorDetId::zside(), and HGCalDetId::zside().
Referenced by getCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 89 of file HGCalTriggerGeometryV9Imp2.cc.
References Exception.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 94 of file HGCalTriggerGeometryV9Imp2.cc.
References HGCalTopology::dddConstants(), disconnected_layers_, HGCalTriggerGeometryBase::eeTopology(), fillMaps(), heOffset_, HGCalTriggerGeometryBase::hsiTopology(), HGCalDDDConstants::layers(), HGCalTriggerGeometryBase::setEEGeometry(), HGCalTriggerGeometryBase::setHScGeometry(), HGCalTriggerGeometryBase::setHSiGeometry(), totalLayers_, and trigger_layers_.
|
private |
Definition at line 522 of file HGCalTriggerGeometryV9Imp2.cc.
References DEFINE_EDM_PLUGIN, DetId::det(), DetId::Forward, heOffset_, HGCalEETrigger, DetId::HGCalHSc, HGCalHSiTrigger, DetId::HGCalTrigger, HGCEE, HGCHEB, HGCHEF, HGCalDetId::layer(), HGCScintillatorDetId::layer(), HGCalTriggerDetId::layer(), HGCalTriggerDetId::subdet(), and DetId::subdetId().
Referenced by disconnectedModule(), and triggerLayer().
|
private |
Definition at line 434 of file HGCalTriggerGeometryV9Imp2.cc.
References funct::abs(), HGCSiliconDetId::kHGCalWaferUMask, HGCSiliconDetId::kHGCalWaferUOffset, HGCSiliconDetId::kHGCalWaferUSignMask, HGCSiliconDetId::kHGCalWaferUSignOffset, HGCSiliconDetId::kHGCalWaferVMask, HGCSiliconDetId::kHGCalWaferVOffset, HGCSiliconDetId::kHGCalWaferVSignMask, and HGCSiliconDetId::kHGCalWaferVSignOffset.
Referenced by fillMaps(), and getModuleFromTriggerCell().
|
finalvirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 84 of file HGCalTriggerGeometryV9Imp2.cc.
References module_to_wafers_, and wafer_to_module_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 465 of file HGCalTriggerGeometryV9Imp2.cc.
References layerWithOffset(), and trigger_layers_.
|
private |
Definition at line 445 of file HGCalTriggerGeometryV9Imp2.cc.
References HGCSiliconDetId::kHGCalWaferUMask, HGCSiliconDetId::kHGCalWaferUOffset, HGCSiliconDetId::kHGCalWaferUSignMask, HGCSiliconDetId::kHGCalWaferUSignOffset, HGCSiliconDetId::kHGCalWaferVMask, HGCSiliconDetId::kHGCalWaferVOffset, HGCSiliconDetId::kHGCalWaferVSignMask, and HGCSiliconDetId::kHGCalWaferVSignOffset.
Referenced by getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 488 of file HGCalTriggerGeometryV9Imp2.cc.
References HGCalTriggerGeometryBase::eeTopology(), DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, HGCalTriggerGeometryBase::hscTopology(), HGCalTriggerGeometryBase::hsiTopology(), matching::is_valid(), and HGCalTopology::valid().
Referenced by getCellsFromTriggerCell(), and validTriggerCellFromCells().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 454 of file HGCalTriggerGeometryV9Imp2.cc.
References validTriggerCellFromCells().
|
private |
Definition at line 472 of file HGCalTriggerGeometryV9Imp2.cc.
References postprocess-scan-build::cells, DetId::det(), getCellsFromTriggerCell(), matching::is_valid(), and validCellId().
Referenced by getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and validTriggerCell().
|
private |
Definition at line 58 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by disconnectedModule(), and initialize().
|
private |
Definition at line 62 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by initialize(), and layerWithOffset().
|
private |
Definition at line 49 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by getModuleFromTriggerCell(), getOrderedTriggerCellsFromModule(), and getTriggerCellsFromModule().
|
private |
Definition at line 48 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by getCellsFromTriggerCell(), and getTriggerCellFromCell().
|
private |
Definition at line 51 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by fillMaps().
|
private |
Definition at line 55 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by fillMaps(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), and reset().
|
private |
Definition at line 63 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by initialize().
|
private |
Definition at line 59 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by initialize(), and triggerLayer().
|
private |
Definition at line 54 of file HGCalTriggerGeometryV9Imp2.cc.
Referenced by fillMaps(), getModuleFromTriggerCell(), and reset().