Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <FPGAClusterConverter.h>
|
| FPGAClusterConverter (const std::string &type, const std::string &name, const IInterface *) |
|
virtual | ~FPGAClusterConverter ()=default |
|
virtual StatusCode | initialize () override final |
|
virtual StatusCode | convertHits (const std::vector< FPGATrackSimHit > &, InDet::PixelClusterCollection &, InDet::SCT_ClusterCollection &) const override final |
|
virtual StatusCode | convertHits (const std::vector< const FPGATrackSimHit * > &, InDet::PixelClusterCollection &, InDet::SCT_ClusterCollection &) const override final |
|
virtual StatusCode | convertHits (const std::vector< FPGATrackSimHit > &hits, xAOD::PixelClusterContainer &pixelCont, xAOD::StripClusterContainer &SCTCont) const override final |
|
virtual StatusCode | convertClusters (const std::vector< FPGATrackSimCluster > &, InDet::PixelClusterCollection &, InDet::SCT_ClusterCollection &) const override final |
|
virtual StatusCode | convertClusters (const std::vector< FPGATrackSimCluster > &cl, xAOD::PixelClusterContainer &pixelCont, xAOD::StripClusterContainer &SCTCont) const override final |
|
virtual StatusCode | convertSpacePoints (const std::vector< FPGATrackSimCluster > &fpgaSPs, xAOD::SpacePointContainer &SPStripCont, xAOD::SpacePointContainer &SPPixelCont, xAOD::StripClusterContainer &stripClusterCont, xAOD::PixelClusterContainer &pixelClusterCont) const override final |
|
virtual StatusCode | createPixelCluster (const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::PixelCluster > &) const override final |
|
virtual StatusCode | createPixelCluster (const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, xAOD::PixelCluster &) const override final |
|
virtual StatusCode | createSCTCluster (const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::SCT_Cluster > &) const override final |
|
virtual StatusCode | createSCTCluster (const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, xAOD::StripCluster &) const override final |
|
virtual StatusCode | createPixelCluster (const FPGATrackSimCluster &, std::unique_ptr< InDet::PixelCluster > &) const override final |
|
virtual StatusCode | createPixelCluster (const FPGATrackSimCluster &, xAOD::PixelCluster &) const override final |
|
virtual StatusCode | createSCTCluster (const FPGATrackSimCluster &, std::unique_ptr< InDet::SCT_Cluster > &) const override final |
|
virtual StatusCode | createSCTCluster (const FPGATrackSimCluster &, xAOD::StripCluster &) const override final |
|
virtual StatusCode | createSP (const FPGATrackSimCluster &cl, xAOD::SpacePoint &sp, xAOD::StripClusterContainer &clustersCont) const override final |
|
virtual StatusCode | createPixelSPs (xAOD::SpacePointContainer &pixelSPs, xAOD::PixelClusterContainer &clustersCont) const override final |
|
virtual StatusCode | getRdoList (std::vector< Identifier > &rdoList, const FPGATrackSimCluster &cluster) const override final |
|
virtual StatusCode | getRdoList (std::vector< Identifier > &rdoList, const FPGATrackSimHit &hit) const override final |
|
virtual StatusCode | getStripsInfo (const xAOD::StripCluster &cl, float &halfStripLength, Amg::Vector3D &stripDirection, Amg::Vector3D &stripCenter) const override final |
|
Definition at line 40 of file FPGAClusterConverter.h.
◆ FPGAClusterConverter()
FPGAClusterConverter::FPGAClusterConverter |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~FPGAClusterConverter()
virtual FPGAClusterConverter::~FPGAClusterConverter |
( |
| ) |
|
|
virtualdefault |
◆ convertClusters() [1/2]
Definition at line 163 of file FPGAClusterConverter.cxx.
173 std::vector<Identifier> rdoList;
176 std::unique_ptr<InDet::PixelCluster> pixelCl{};
177 std::unique_ptr<InDet::SCT_Cluster> SCTCl{};
181 if (pixelCl) pixelColl.push_back(std::move(pixelCl));
185 if (SCTCl) SCTColl.push_back(std::move(SCTCl));
189 ATH_MSG_DEBUG(
"pixelColl size: " << pixelColl.size() <<
" SCTColl size: " << SCTColl.size());
191 return StatusCode::SUCCESS;
◆ convertClusters() [2/2]
◆ convertHits() [1/3]
Definition at line 74 of file FPGAClusterConverter.cxx.
81 if (!FPGAClustersHandle.isValid()) {
82 ATH_MSG_FATAL(
"Failed to retrieve FPGATrackSimClusterCollection");
83 return StatusCode::FAILURE;
106 std::vector<Identifier> rdoList;
109 std::unique_ptr<InDet::PixelCluster> pixelCl{};
110 std::unique_ptr<InDet::SCT_Cluster> SCTCl{};
114 if (pixelCl) pixelColl.push_back(std::move(pixelCl));
118 if (SCTCl) SCTColl.push_back(std::move(SCTCl));
123 ATH_MSG_DEBUG(
"pixelColl size: " << pixelColl.size() <<
" SCTColl size: " << SCTColl.size());
125 return StatusCode::SUCCESS;
◆ convertHits() [2/3]
Definition at line 43 of file FPGAClusterConverter.cxx.
48 pixelColl.reserve(
hits.size());
49 SCTColl.reserve(
hits.size());
52 std::vector<Identifier> rdoList;
55 std::unique_ptr<InDet::PixelCluster> pixelCl{};
56 std::unique_ptr<InDet::SCT_Cluster> SCTCl{};
60 if (pixelCl) pixelColl.push_back(std::move(pixelCl));
64 if (SCTCl) SCTColl.push_back(std::move(SCTCl));
68 ATH_MSG_DEBUG(
"pixelColl size: " << pixelColl.size() <<
" SCTColl size: " << SCTColl.size() );
70 return StatusCode::SUCCESS;
◆ convertHits() [3/3]
◆ convertSpacePoints()
◆ createPixelCluster() [1/4]
Definition at line 590 of file FPGAClusterConverter.cxx.
591 ATH_MSG_DEBUG(
"\t Create InDet::PixelCluster from FPGATrackSimCluster");
593 std::vector<Identifier> rdoList;
596 return StatusCode::SUCCESS;
◆ createPixelCluster() [2/4]
Definition at line 599 of file FPGAClusterConverter.cxx.
600 ATH_MSG_DEBUG(
"\t Create xAOD::PixelCluster from FPGATrackSimCluster");
602 std::vector<Identifier> rdoList;
605 return StatusCode::SUCCESS;
◆ createPixelCluster() [3/4]
Definition at line 249 of file FPGAClusterConverter.cxx.
250 ATH_MSG_DEBUG(
"\tCreate InDet::PixelCluster from FPGATrackSimHit");
254 float etaWidth =
h.getEtaWidth();
257 int etaIndex =
h.getEtaIndex();
263 return StatusCode::FAILURE;
270 if(!
cell.isValid()) {
272 return StatusCode::FAILURE;
278 int colMin =
static_cast<int>(etaIndex-0.5*etaWidth);
279 int colMax = colMin+etaWidth;
284 double etaW = design->widthFromColumnRange(colMin, colMax-1);
285 double phiW = design->widthFromRowRange(rowMin, rowMax-1);
297 localPos = localPosShift;
301 ATH_MSG_DEBUG(
"\t\tLocal position: x=" << localPos.x() <<
" y=" << localPos.y() );
302 ATH_MSG_DEBUG(
"\t\tGlobal position: x=" << globalPos.x() <<
" y=" << globalPos.y() <<
" z=" << globalPos.z() );
307 cov(0,0) = siWidth.phiR()*siWidth.phiR()/12;
308 cov(1,1) = siWidth.z()*siWidth.z()/12;
309 float dummy_omegax = 0.5;
310 float dummy_omegay = 0.5;
312 float splitProb1 = 0;
313 float splitProb2 = 0;
315 cl = std::make_unique<InDet::PixelCluster>(hit_id, localPos, std::vector<Identifier>(rdoList), siWidth, pDE,
Amg::MatrixX(
cov), dummy_omegax, dummy_omegay,
split, splitProb1, splitProb2);
317 return StatusCode::SUCCESS;
◆ createPixelCluster() [4/4]
Definition at line 320 of file FPGAClusterConverter.cxx.
321 ATH_MSG_DEBUG(
"\tCreate xAOD::PixelCluster from FPGATrackSimHit");
325 float etaWidth =
h.getEtaWidth();
328 int etaIndex =
h.getEtaIndex();
334 return StatusCode::FAILURE;
341 if(!
cell.isValid()) {
343 return StatusCode::FAILURE;
349 int colMin =
static_cast<int>(etaIndex-0.5*etaWidth);
350 int colMax = colMin+etaWidth;
355 double etaW = design->widthFromColumnRange(colMin, colMax-1);
356 double phiW = design->widthFromRowRange(rowMin, rowMax-1);
369 localPos = localPosShift;
372 ATH_MSG_DEBUG(
"\t\tLocal position: x=" << localPos.x() <<
" y=" << localPos.y() );
377 cov(0,0) = siWidth.phiR()*siWidth.phiR()/12;
378 cov(1,1) = siWidth.z()*siWidth.z()/12;
383 float splitProb1 = 0;
384 float splitProb2 = 0;
386 Eigen::Matrix<float,2,1> localPosition(localPos.x(), localPos.y());
387 Eigen::Matrix<float,2,2> localCovariance;
388 localCovariance.setZero();
389 localCovariance(0, 0) =
cov(0, 0);
390 localCovariance(1, 1) =
cov(1, 1);
392 Eigen::Matrix<float,3,1> globalPosition(
h.getX(),
h.getY(),
h.getZ());
393 ATH_MSG_DEBUG(
"\t\tGlobal position: x=" << globalPosition.x() <<
" y=" << globalPosition.y() <<
" z=" << globalPosition.z() );
395 cl.setMeasurement<2>(
hash, localPosition, localCovariance);
396 cl.setIdentifier( rdoList.front().get_compact() );
397 cl.setRDOlist(rdoList);
398 cl.globalPosition() = globalPosition;
399 cl.setChannelsInPhiEta(siWidth.colRow()[0], siWidth.colRow()[1]);
400 cl.setWidthInEta(
static_cast<float>(siWidth.widthPhiRZ()[1]));
401 cl.setOmegas(omegax, omegay);
403 cl.setSplitProbabilities(splitProb1, splitProb2);
406 return StatusCode::SUCCESS;
◆ createPixelSPs()
Definition at line 627 of file FPGAClusterConverter.cxx.
634 Eigen::Matrix<float, 3, 1> globalPos(p_cl->globalPosition().x(), p_cl->globalPosition().y(), p_cl->globalPosition().z());
638 const float & cov_r = p_cl->localCovariance<2>()(0,0);
639 const float & cov_z = p_cl->localCovariance<2>()(1,0);
642 std::vector< const xAOD::UncalibratedMeasurement* > measurementLinks({ p_cl });
644 pixelSPs.
back()->setSpacePoint(
645 p_cl->identifierHash(),
653 return StatusCode::SUCCESS;
◆ createSCTCluster() [1/4]
Definition at line 608 of file FPGAClusterConverter.cxx.
609 ATH_MSG_DEBUG(
"\t Create InDet::SCT_Cluster from FPGATrackSimCluster");
611 std::vector<Identifier> rdoList;
614 return StatusCode::SUCCESS;
◆ createSCTCluster() [2/4]
Definition at line 617 of file FPGAClusterConverter.cxx.
618 ATH_MSG_DEBUG(
"\t Create xAOD::StripCluster from FPGATrackSimCluster");
620 std::vector<Identifier> rdoList;
623 return StatusCode::SUCCESS;
◆ createSCTCluster() [3/4]
Definition at line 409 of file FPGAClusterConverter.cxx.
410 ATH_MSG_DEBUG(
"\t Create InDet::SCTCluster from FPGATrackSimHit ");
416 int strip =
static_cast<int>(
h.getPhiIndex());
449 const std::pair<InDetDD::SiLocalPosition, InDetDD::SiLocalPosition> ends( design->
endsOfStrip(centre) );
450 const double stripLength( std::abs(ends.first.xEta() - ends.second.xEta()) );
455 ATH_MSG_DEBUG(
"\t\tcentre eta: " << centre.xEta() <<
" phi: " << centre.xPhi());
457 ATH_MSG_DEBUG(
"\t\tlocal position before shift: " << localPos.x() <<
" phi: " << localPos.y());
461 localPos = localPosShift;
465 ATH_MSG_DEBUG(
"\t\tLocal position: x=" << localPos.x() <<
" y=" << localPos.y() );
466 ATH_MSG_DEBUG(
"\t\tGlobal position: x=" << globalPos.x() <<
" y=" << globalPos.y() <<
" z=" << globalPos.z() );
469 const double col_x = siWidth.colRow().x();
470 const double col_y = siWidth.colRow().y();
472 double scale_factor = 1.;
473 if ( std::abs(col_x-1) < std::numeric_limits<double>::epsilon() )
475 else if ( std::abs(col_x-2) < std::numeric_limits<double>::epsilon() )
480 cov.fillSymmetric(0, 0, scale_factor * scale_factor * siWidth.phiR() * siWidth.phiR() * (1./12.));
481 cov.fillSymmetric(1, 1, siWidth.z() * siWidth.z() / col_y / col_y * (1./12.));
490 double v1 = (
cov)(1,1);
491 cov.fillSymmetric( 0, 0, cs2 *
v0 + sn2 * v1 );
492 cov.fillSymmetric( 0, 1, sn * std::sqrt(cs2) * (
v0 - v1) );
493 cov.fillSymmetric( 1, 1, sn2 *
v0 + cs2 * v1 );
496 cl = std::make_unique<InDet::SCT_Cluster>(strip_id, localPos, std::vector<Identifier>(rdoList), siWidth, pDE,
Amg::MatrixX(
cov));
498 return StatusCode::SUCCESS;
◆ createSCTCluster() [4/4]
Definition at line 501 of file FPGAClusterConverter.cxx.
502 ATH_MSG_DEBUG(
"\t Create xAOD::StripCluster from FPGATrackSimHit ");
508 int strip =
static_cast<int>(
h.getPhiIndex());
536 ATH_MSG_WARNING(
"Cell ID out of range. Skip making this Strip cluster");
537 return StatusCode::SUCCESS;
544 const std::pair<InDetDD::SiLocalPosition, InDetDD::SiLocalPosition> ends( design->
endsOfStrip(centre) );
545 const double stripLength( std::abs(ends.first.xEta() - ends.second.xEta()) );
549 ATH_MSG_DEBUG(
"\t\tcentre eta: " << centre.xEta() <<
" phi: " << centre.xPhi());
551 ATH_MSG_DEBUG(
"\t\tlocal position before shift: " << localPos.x() <<
" phi: " << localPos.y());
556 localPos = localPosShift;
559 ATH_MSG_DEBUG(
"\t\tLocal position: x=" << localPos.x() <<
" y=" << localPos.y() );
562 Eigen::Matrix<float,1,1> localPosition;
563 Eigen::Matrix<float,1,1> localCovariance;
564 localCovariance.setZero();
567 localPosition(0, 0) = localPos.x();
572 if ( designNew ==
nullptr )
return StatusCode::FAILURE;
574 localPosition(0, 0) = localInPolar.
xPhi();
578 Eigen::Matrix<float,3,1> globalPosition(
h.getX(),
h.getY(),
h.getZ());
579 ATH_MSG_DEBUG(
"\t\tGlobal position: x=" << globalPosition.x() <<
" y=" << globalPosition.y() <<
" z=" << globalPosition.z() );
581 cl.setMeasurement<1>(
hash, localPosition, localCovariance);
582 cl.setIdentifier( rdoList.front().get_compact() );
583 cl.setRDOlist(rdoList);
584 cl.globalPosition() = globalPosition;
585 cl.setChannelsInPhi(siWidth.colRow()[0]);
587 return StatusCode::SUCCESS;
◆ createSP()
Definition at line 657 of file FPGAClusterConverter.cxx.
669 Eigen::Matrix<float,3,1> globalPos(clEq.
getX(),clEq.
getY(),clEq.
getZ());
675 float covTerm = 1600.*
deltaY;
676 Eigen::Matrix<float, 2, 1> variance(0.1, 8.*covTerm);
680 std::swap( variance(0, 0), variance(1, 0) );
681 float cov_r = variance(0,0);
682 float cov_z = variance(1,0);
687 std::vector<unsigned int> idHashList;
688 std::vector<const xAOD::UncalibratedMeasurement_v1*> measurements;
692 float topHalfStripLength, bottomHalfStripLength;
699 idHashList.push_back(
h.getIdentifierHash());
700 for (
auto orig_cl : clustersCont) {
701 if (
h.getIdentifierHash()==orig_cl->identifierHash()) {
704 measurements.push_back(orig_cl);
712 Amg::Vector3D stripCenterDistance = stripCenter1 - stripCenter2;
714 ATH_MSG_DEBUG(
"topHalfStripLength = " << topHalfStripLength <<
" bottomHalfStripLength = " << bottomHalfStripLength);
715 ATH_MSG_DEBUG(
"topStripDirection = (" << topStripDirection.x() <<
", " << topStripDirection.y() <<
", " << topStripDirection.z() <<
") " <<
"bottomStripDirection = (" << bottomStripDirection.x() <<
", " << bottomStripDirection.y() <<
", " << bottomStripDirection.z() <<
") " );
716 ATH_MSG_DEBUG(
"stripCenterDistance = (" << stripCenterDistance.x() <<
", " << stripCenterDistance.y() <<
", " << stripCenterDistance.z() <<
")" );
717 ATH_MSG_DEBUG(
"topStripCenter = (" << topStripCenter.x() <<
", " << topStripCenter.y() <<
", " << topStripCenter.z() <<
")" );
727 bottomHalfStripLength,
728 topStripDirection.cast<
float>(),
729 bottomStripDirection.cast<
float>(),
730 stripCenterDistance.cast<
float>(),
731 topStripCenter.cast<
float>()
734 return StatusCode::SUCCESS;
◆ getRdoList() [1/2]
Definition at line 737 of file FPGAClusterConverter.cxx.
739 std::vector<FPGATrackSimHit>
hits =
cluster.getHitList();
744 int etaIndex =
h.getEtaIndex();
749 rdoList.push_back(hit_id);
754 rdoList.push_back(hit_id);
758 return StatusCode::SUCCESS;
◆ getRdoList() [2/2]
Definition at line 763 of file FPGAClusterConverter.cxx.
767 int etaIndex =
h.getEtaIndex();
772 rdoList.push_back(hit_id);
777 rdoList.push_back(hit_id);
780 return StatusCode::SUCCESS;
◆ getStripsInfo()
Definition at line 783 of file FPGAClusterConverter.cxx.
795 std::pair<Amg::Vector3D, Amg::Vector3D>
end = (pDE->
endsOfStrip(localPos));
796 stripCenter = 0.5 * (
end.first +
end.second);
799 halfStripLength = 0.5 * stripDir.norm();
800 stripDirection = stripDir / (2. * (halfStripLength));
802 return StatusCode::SUCCESS;
◆ initialize()
StatusCode FPGAClusterConverter::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_beamSpotKey
◆ m_doShift
bool FPGAClusterConverter::m_doShift = true |
◆ m_FPGAClusterKey
◆ m_lorentzAngleTool
◆ m_pixelId
◆ m_pixelManager
◆ m_SCTId
◆ m_SCTManager
◆ m_skipStripSpacePointFormation
Gaudi::Property<bool> FPGAClusterConverter::m_skipStripSpacePointFormation {this, "skipStripSpFormation", true, "Should be enabled in case we want to test strip seeding"} |
|
private |
The documentation for this class was generated from the following files:
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
def retrieve(aClass, aKey=None)
Gaudi::Property< bool > m_skipStripSpacePointFormation
virtual double stripPitch(const SiLocalPosition &chargePos) const =0
give the strip pitch (dependence on position needed for forward)
const InDetDD::SCT_DetectorManager * m_SCTManager
SiCellId cellIdOfPosition(const Amg::Vector2D &localPos) const
As in previous method but returns SiCellId.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
value_type emplace_back(value_type pElem)
Add an element to the end of the collection.
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
Eigen::Matrix< double, 2, 1 > Vector2D
SG::ReadHandleKey< FPGATrackSimClusterCollection > m_FPGAClusterKey
virtual DetectorShape shape() const
Shape of element.
virtual SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements via Identifier
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
const std::vector< Identifier > rdoList() const
Returns the list of identifiers of the channels building the cluster.
const InDetDD::PixelDetectorManager * m_pixelManager
virtual StatusCode getStripsInfo(const xAOD::StripCluster &cl, float &halfStripLength, Amg::Vector3D &stripDirection, Amg::Vector3D &stripCenter) const override final
const std::vector< DetectorIDHashType > & elementIdList() const
Returns the IdentifierHash of the spacepoint (corresponds to the detector element IdentifierHash)
double xPhi() const
position along phi direction:
const PixelID * m_pixelId
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
double phiPitch() const
Pitch (inline methods)
std::vector< FPGATrackSimCluster > FPGATrackSimClusterCollection
virtual SiCellId cellIdFromIdentifier(const Identifier &identifier) const override final
SiCellId from Identifier.
virtual SiCellId cellIdInRange(const SiCellId &cellId) const override
Check if cell is in range.
virtual StatusCode createSCTCluster(const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::SCT_Cluster > &) const override final
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
virtual StatusCode createSP(const FPGATrackSimCluster &cl, xAOD::SpacePoint &sp, xAOD::StripClusterContainer &clustersCont) const override final
int row(const Identifier &id) const
virtual StatusCode getRdoList(std::vector< Identifier > &rdoList, const FPGATrackSimCluster &cluster) const override final
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void setSpacePoint(DetectorIDHashType idHash, const Eigen::Matrix< float, 3, 1 > &globPos, float cov_r, float cov_z, const std::vector< const xAOD::UncalibratedMeasurement * > &measurementIndexes)
unsigned getIdentifierHash() const
const T * back() const
Access the last element in the collection as an rvalue.
std::pair< Amg::Vector3D, Amg::Vector3D > endsOfStrip(const Amg::Vector2D &position) const
Special method for SCT to retrieve the two ends of a "strip" Returned coordinates are in global frame...
virtual StatusCode createPixelCluster(const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::PixelCluster > &) const override final
double phiPitchPhi(const SiLocalPosition &localPosition) const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Eigen::Matrix< double, 3, 1 > Vector3D
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Amg::Vector2D rawLocalPositionOfCell(const SiCellId &cellId) const
Returns position (center) of cell.
virtual int strip1Dim(int strip, int row) const override
only relevant for SCT.
#define ATH_MSG_WARNING(x)
int strip(const Identifier &id) const
HepGeom::Point3D< double > globalPosition(const HepGeom::Point3D< double > &localPos) const
transform a reconstruction local position into a global position (inline):
void pop_back()
Remove the last element from the collection.
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
double sinStereoLocal(const Amg::Vector2D &localPos) const
Angle of strip in local frame with respect to the etaAxis.
AthConfigFlags beamSpot(AthConfigFlags flags, str instanceName, str recoMode)
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
SiLocalPosition localPositionOfCellPC(const SiCellId &cellId) const
This is for debugging only.
virtual std::pair< SiLocalPosition, SiLocalPosition > endsOfStrip(const SiLocalPosition &position) const override=0
give the ends of strips
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
size_type size() const noexcept
Returns the number of elements in the collection.
virtual StatusCode createPixelSPs(xAOD::SpacePointContainer &pixelSPs, xAOD::PixelClusterContainer &clustersCont) const override final
virtual SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements : via Identifier
Identifier strip_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip) const
For an individual strip.