#include <PixelBarrelName.h>
Public Types | |
enum | Shell { mO = 1, mI = 2, pO = 3, pI = 4 } |
Public Types inherited from PixelModuleName | |
enum | ModuleType { v1x2, v1x5, v1x8, v2x3, v2x4, v2x5, v2x8 } |
Public Member Functions | |
int | convertLadderNumber (int oldLadder) |
PXBDetId | getDetId () |
return the DetId More... | |
DetId | getDetId (const TrackerTopology *tt) |
bool | isHalfModule () const |
full or half module More... | |
int | ladderName () const |
ladder id (index in phi) More... | |
int | layerName () const |
layer id More... | |
int | moduleName () const |
module id (index in z) More... | |
PixelModuleName::ModuleType | moduleType () const override |
module Type More... | |
std::string | name () const override |
from base class More... | |
bool | operator== (const PixelModuleName &) const override |
check equality of modules from datamemebers More... | |
PixelBarrelName (const DetId &, const TrackerTopology *tt, bool phase=false) | |
ctor from DetId More... | |
PixelBarrelName (const DetId &, bool phase=false) | |
PixelBarrelName (Shell shell=mO, int layer=0, int module=0, int ladder=0, bool phase=false) | |
ctor for defined name with dummy parameters More... | |
PixelBarrelName (std::string name, bool phase=false) | |
ctor from name string More... | |
int | sectorName () const |
sector id More... | |
Shell | shell () const |
~PixelBarrelName () override | |
Public Member Functions inherited from PixelModuleName | |
virtual bool | isBarrel () const |
true for barrel modules More... | |
PixelModuleName (bool isBarrel) | |
virtual | ~PixelModuleName () |
Private Attributes | |
bool | phase1 |
int | theLadder |
int | theLayer |
int | theModule |
Shell | thePart |
Additional Inherited Members | |
Static Public Member Functions inherited from PixelModuleName | |
static bool | isBarrel (uint32_t rawDetId) |
Module name (as in PixelDatabase) in barrel
Definition at line 16 of file PixelBarrelName.h.
Enumerator | |
---|---|
mO | |
mI | |
pO | |
pI |
Definition at line 18 of file PixelBarrelName.h.
PixelBarrelName::PixelBarrelName | ( | const DetId & | id, |
const TrackerTopology * | tt, | ||
bool | phase = false |
||
) |
ctor from DetId
Definition at line 22 of file PixelBarrelName.cc.
References funct::abs(), convertLadderNumber(), PVValHelper::ladder, mI, mO, callgraph::module, pI, pO, theLadder, theLayer, theModule, thePart, and groupFilesInBlocks::tt.
PixelBarrelName::PixelBarrelName | ( | const DetId & | id, |
bool | phase = false |
||
) |
Definition at line 57 of file PixelBarrelName.cc.
References funct::abs(), PXBDetId::ladder(), PXBDetId::layer(), mI, mO, PXBDetId::module(), phase1, pI, pO, theLadder, theLayer, theModule, and thePart.
|
inline |
ctor for defined name with dummy parameters
Definition at line 27 of file PixelBarrelName.h.
PixelBarrelName::PixelBarrelName | ( | std::string | name, |
bool | phase = false |
||
) |
ctor from name string
Definition at line 194 of file PixelBarrelName.cc.
References mI, mO, name(), phase1, pI, pO, theLadder, theLayer, theModule, and thePart.
|
inlineoverride |
Definition at line 33 of file PixelBarrelName.h.
|
inline |
Definition at line 151 of file PixelBarrelName.cc.
References PVValHelper::ladder, phase1, and theLayer.
Referenced by PixelBarrelName().
PXBDetId PixelBarrelName::getDetId | ( | void | ) |
return the DetId
Definition at line 807 of file PixelBarrelName.cc.
References PVValHelper::ladder, ladderName(), phase1PixelTopology::layer, layerName(), mO, callgraph::module, moduleName(), SurfaceOrientation::outer, phase1, pI, pO, and thePart.
Referenced by SiPixelLorentzAnglePCLHarvester::beginRun(), SiPixelLorentzAnglePCLWorker::dqmBeginRun(), and SiPixelBadModuleByHandBuilder::getNewObject().
DetId PixelBarrelName::getDetId | ( | const TrackerTopology * | tt | ) |
Definition at line 745 of file PixelBarrelName.cc.
References triggerObjects_cff::id, PVValHelper::ladder, ladderName(), phase1PixelTopology::layer, layerName(), mO, callgraph::module, moduleName(), SurfaceOrientation::outer, phase1, pI, pO, thePart, and groupFilesInBlocks::tt.
bool PixelBarrelName::isHalfModule | ( | ) | const |
full or half module
Definition at line 702 of file PixelBarrelName.cc.
References phase1, theLadder, and theLayer.
Referenced by SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::fill(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelTrackResidualSource::getrococcupancy(), SiPixelClusterSource::getrococcupancy(), SiPixelCoordinates::half(), SiPixelTopoFinder::half(), moduleType(), and name().
|
inline |
ladder id (index in phi)
Definition at line 49 of file PixelBarrelName.h.
References theLadder.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelRecHitModule::book(), SiPixelPhase1Analyzer::BookBarrelBins(), SiPixelDigiModule::fill(), SiPixelPhase1Analyzer::FillBarrelBinsRemap(), TrackerRemapper::fillBarrelRemap(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), SiPixelTrackResidualSource::getrococcupancy(), SiPixelClusterSource::getrococcupancy(), PixelBarrelLinkMaker::Order::operator()(), SiPixelFolderOrganizer::setModuleFolder(), SiPixelCoordinates::signed_ladder(), SiPixelPI::signed_ladder(), and Phase1PixelROCMaps::signed_ladder().
|
inline |
layer id
Definition at line 43 of file PixelBarrelName.h.
References theLayer.
Referenced by SiPixelDetSummary::add(), SiPixelDigiSource::analyze(), SiPixelBadModuleReader::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelLorentzAnglePCLHarvester::beginRun(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelRecHitModule::book(), SiPixelPhase1Analyzer::BookBarrelBins(), SiPixelDigiSource::buildStructure(), SiPixelClusterSource::buildStructure(), SiPixelTrackResidualSource::dqmBeginRun(), SiPixelLorentzAnglePCLWorker::dqmBeginRun(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), SiPixelTrackResidualSource::getrococcupancy(), SiPixelClusterSource::getrococcupancy(), PixelBarrelLinkMaker::Order::operator()(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
module id (index in z)
Definition at line 46 of file PixelBarrelName.h.
References theModule.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelLorentzAnglePCLHarvester::beginRun(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelRecHitModule::book(), SiPixelLorentzAnglePCLWorker::dqmBeginRun(), SiPixelHitEfficiencyModule::fill(), SiPixelDigiModule::fill(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), SiPixelTrackResidualSource::getrococcupancy(), SiPixelClusterSource::getrococcupancy(), PixelBarrelLinkMaker::Order::operator()(), SiPixelFolderOrganizer::setModuleFolder(), SiPixelCoordinates::signed_module(), SiPixelPI::signed_module(), and Phase1PixelROCMaps::signed_module().
|
overridevirtual |
module Type
Implements PixelModuleName.
Definition at line 718 of file PixelBarrelName.cc.
References isHalfModule(), PixelModuleName::v1x8, and PixelModuleName::v2x8.
|
overridevirtual |
from base class
Implements PixelModuleName.
Definition at line 731 of file PixelBarrelName.cc.
References isHalfModule(), sectorName(), theLadder, theLayer, theModule, and thePart.
Referenced by config.CFG::__str__(), SiPixelDetSummary::add(), NearbyPixelClustersAnalyzer::bookModuleHistograms(), validation.Sample::digest(), SiPixelInformationExtractor::findNoisyPixels(), VIDSelectorBase.VIDSelectorBase::initialize(), PixelBarrelName(), sipixelobjects::PixelFEDLink::printForMap(), SiPixelPhase1Analyzer::SaveDetectorVertices(), and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
|
overridevirtual |
check equality of modules from datamemebers
Implements PixelModuleName.
Definition at line 722 of file PixelBarrelName.cc.
References EcalTangentSkim_cfg::o, trackingPlots::other, theLadder, theLayer, theModule, and thePart.
int PixelBarrelName::sectorName | ( | ) | const |
sector id
Definition at line 311 of file PixelBarrelName.cc.
References phase1, theLadder, theLayer, and theModule.
Referenced by name(), and SiPixelCoordinates::sector().
|
inline |
Definition at line 40 of file PixelBarrelName.h.
References thePart.
Referenced by SiPixelDigiSource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelPhase1Analyzer::BookBarrelBins(), DQMBarycenter::TkAlBarycenters::computeBarycenters(), SiPixelDigiModule::fill(), SiPixelPhase1Analyzer::FillBarrelBinsRemap(), TrackerRemapper::fillBarrelRemap(), SiPixelFolderOrganizer::getModuleFolder(), SiPixelTrackResidualSource::getrococcupancy(), SiPixelClusterSource::getrococcupancy(), SiPixelCoordinates::quadrant(), SiPixelTopoFinder::quadrant(), SiPixelPI::quadrant(), Phase1PixelROCMaps::quadrant(), and SiPixelFolderOrganizer::setModuleFolder().
|
private |
Definition at line 70 of file PixelBarrelName.h.
Referenced by convertLadderNumber(), getDetId(), isHalfModule(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 69 of file PixelBarrelName.h.
Referenced by isHalfModule(), ladderName(), name(), operator==(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 69 of file PixelBarrelName.h.
Referenced by convertLadderNumber(), isHalfModule(), layerName(), name(), operator==(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 69 of file PixelBarrelName.h.
Referenced by moduleName(), name(), operator==(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 68 of file PixelBarrelName.h.
Referenced by getDetId(), name(), operator==(), PixelBarrelName(), and shell().