CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
TkPixelMeasurementDet Class Referencefinal

#include <TkPixelMeasurementDet.h>

Inheritance diagram for TkPixelMeasurementDet:
MeasurementDet

Public Types

typedef detset::const_iterator const_iterator
 
typedef edmNew::DetSet< SiPixelClusterdetset
 
typedef PixelClusterParameterEstimator::LocalValues LocalValues
 
typedef edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelClusterSiPixelClusterRef
 
- Public Types inherited from MeasurementDet
typedef TrackingRecHit::ConstRecHitContainer RecHitContainer
 
using SimpleHitContainer = std::vector< BaseTrackerRecHit * >
 
typedef tracking::TempMeasurements TempMeasurements
 

Public Member Functions

bool accept (SiPixelClusterRefNew &r, const std::vector< bool > skipClusters) const
 
TrackingRecHit::RecHitPointer buildRecHit (const SiPixelClusterRef &cluster, const LocalTrajectoryParameters &ltp) const
 
void clearBadRocPositions ()
 Clear the list of bad ROCs. More...
 
RecHitContainer compHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat, float xl, float yl) const
 
const PxMeasurementDetSet::BadFEDChannelPositionsgetBadFEDChannelPositions (const MeasurementTrackerEvent &data) const
 
bool hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override
 
int index () const
 
bool isActive (const MeasurementTrackerEvent &data) const override
 Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More...
 
bool isEmpty (const PxMeasurementDetSet &data) const
 
bool measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const override
 
RecHitContainer recHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const override
 
bool recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const override
 
void setActive (bool active)
 Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually). More...
 
void setActiveThisEvent (PxMeasurementDetSet &data, bool active) const
 Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call to 'update' or 'setEmpty'. More...
 
void setBadRocPositions (std::vector< LocalPoint > &positions)
 Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame. More...
 
void setEmpty (PxMeasurementDetSet &data)
 
void setIndex (int i)
 
const PixelGeomDetUnitspecificGeomDet () const
 
 TkPixelMeasurementDet (const GeomDet *gdet, PxMeasurementConditionSet &conditionSet)
 
void update (PxMeasurementDetSet &data, const detset &detSet)
 
 ~TkPixelMeasurementDet () override
 
- Public Member Functions inherited from MeasurementDet
const GeomDetfastGeomDet () const
 
std::vector< TrajectoryMeasurementfastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &est, const MeasurementTrackerEvent &data) const
 
virtual const GeomDetgeomDet () const
 
 MeasurementDet (const GeomDet *gdet)
 
const Surface::PositionTypeposition () const
 
virtual bool recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data, RecHitContainer &result, std::vector< float > &) const
 
const Surfacesurface () const
 
virtual ~MeasurementDet ()=default
 

Private Member Functions

PxMeasurementConditionSetconditionSet ()
 
const PxMeasurementConditionSetconditionSet () const
 
const PixelClusterParameterEstimatorcpe () const
 

Private Attributes

std::vector< LocalPointbadRocPositions_
 
unsigned int id_
 
int index_
 
PxMeasurementConditionSettheDetConditions
 

Additional Inherited Members

- Protected Attributes inherited from MeasurementDet
TrackingRecHit::ConstRecHitPointer theInactiveHit
 
TrackingRecHit::ConstRecHitPointer theMissingHit
 

Detailed Description

Definition at line 17 of file TkPixelMeasurementDet.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 22 of file TkPixelMeasurementDet.h.

◆ detset

Definition at line 21 of file TkPixelMeasurementDet.h.

◆ LocalValues

Definition at line 23 of file TkPixelMeasurementDet.h.

◆ SiPixelClusterRef

Definition at line 19 of file TkPixelMeasurementDet.h.

Constructor & Destructor Documentation

◆ TkPixelMeasurementDet()

TkPixelMeasurementDet::TkPixelMeasurementDet ( const GeomDet gdet,
PxMeasurementConditionSet conditionSet 
)

Definition at line 17 of file TkPixelMeasurementDet.cc.

19  if (dynamic_cast<const PixelGeomDetUnit*>(gdet) == nullptr) {
20  throw MeasurementDetException("TkPixelMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
21  }
22 }
MeasurementDet(const GeomDet *gdet)
PxMeasurementConditionSet * theDetConditions

◆ ~TkPixelMeasurementDet()

TkPixelMeasurementDet::~TkPixelMeasurementDet ( )
inlineoverride

Definition at line 35 of file TkPixelMeasurementDet.h.

35 {}

Member Function Documentation

◆ accept()

bool TkPixelMeasurementDet::accept ( SiPixelClusterRefNew r,
const std::vector< bool >  skipClusters 
) const
inline

Definition at line 99 of file TkPixelMeasurementDet.h.

References alignCSCRings::r, and HLTSiStripMonitoring_cff::skipClusters.

Referenced by esMonitoring.FDJsonServer::handle_accept().

99  {
100  if (skipClusters.empty())
101  return true;
102  if (r.key() >= skipClusters.size()) {
103  edm::LogError("IndexMisMatch") << r.key() << " is larger than: " << skipClusters.size() << " no skipping done";
104  return true;
105  }
106  return not skipClusters[r.key()];
107  }
Log< level::Error, false > LogError

◆ buildRecHit()

TrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit ( const SiPixelClusterRef cluster,
const LocalTrajectoryParameters ltp 
) const

Definition at line 69 of file TkPixelMeasurementDet.cc.

References cpe(), MeasurementDet::fastGeomDet(), PixelClusterParameterEstimator::getParameters(), submitPVValidationJobs::params, and specificGeomDet().

Referenced by compHits().

70  {
71  const GeomDetUnit& gdu(specificGeomDet());
72 
73  auto&& params = cpe()->getParameters(*cluster, gdu, ltp);
74  return std::make_shared<SiPixelRecHit>(
75  std::get<0>(params), std::get<1>(params), std::get<2>(params), fastGeomDet(), cluster);
76 }
const PixelClusterParameterEstimator * cpe() const
const PixelGeomDetUnit & specificGeomDet() const
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
const GeomDet & fastGeomDet() const

◆ clearBadRocPositions()

void TkPixelMeasurementDet::clearBadRocPositions ( )
inline

Clear the list of bad ROCs.

Definition at line 77 of file TkPixelMeasurementDet.h.

77 { badRocPositions_.clear(); }
std::vector< LocalPoint > badRocPositions_

◆ compHits()

TkPixelMeasurementDet::RecHitContainer TkPixelMeasurementDet::compHits ( const TrajectoryStateOnSurface ts,
const MeasurementTrackerEvent dat,
float  xl,
float  yl 
) const

Definition at line 85 of file TkPixelMeasurementDet.cc.

References edmNew::DetSet< T >::begin(), buildRecHit(), haddnano::cl, data, edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), LogDebug, edmNew::DetSet< T >::makeRefTo(), Topology::measurementPosition(), or, DetId::rawId(), mps_fire::result, edmNew::DetSet< T >::size(), specificGeomDet(), PixelGeomDetUnit::specificTopology(), and PV2DBase< T, PVType, FrameType >::x().

Referenced by measurements(), and recHits().

88  {
90  if (isEmpty(data.pixelData()) == true)
91  return result;
92  if (isActive(data) == false)
93  return result;
94  const SiPixelCluster* begin = nullptr;
95  if (!data.pixelData().handle()->data().empty()) {
96  begin = &(data.pixelData().handle()->data().front());
97  }
98  const detset& detSet = data.pixelData().detSet(index());
99  result.reserve(detSet.size());
100 
101  // pixel topology is rectangular, all positions are independent
102  LocalVector maxD(xl, yl, 0);
103  auto PMinus = specificGeomDet().specificTopology().measurementPosition(ts.localPosition() - maxD);
105 
106  int xminus = PMinus.x();
107  int yminus = PMinus.y();
108  int xplus = PPlus.x() + 0.5f;
109  int yplus = PPlus.y() + 0.5f;
110 
111  // rechits are sorted in x...
112  auto rightCluster = std::find_if(
113  detSet.begin(), detSet.end(), [xplus](const SiPixelCluster& cl) { return cl.minPixelRow() > xplus; });
114 
115  // std::cout << "px xlim " << xl << ' ' << xminus << '/' << xplus << ' ' << rightCluster-detSet.begin() << ',' << detSet.end()-rightCluster << std::endl;
116 
117  // consider only compatible clusters
118  for (auto ci = detSet.begin(); ci != rightCluster; ++ci) {
119  if (ci < begin) {
120  edm::LogError("IndexMisMatch") << "TkPixelMeasurementDet cannot create hit because of index mismatch.";
121  return result;
122  }
123  unsigned int index = ci - begin;
124  if (!data.pixelClustersToSkip().empty() && index >= data.pixelClustersToSkip().size()) {
125  edm::LogError("IndexMisMatch") << "TkPixelMeasurementDet cannot create hit because of index mismatch. i.e "
126  << index << " >= " << data.pixelClustersToSkip().size();
127  return result;
128  }
129 
130  if (ci->maxPixelRow() < xminus)
131  continue;
132  // also check compatibility in y... (does not add much)
133  if (ci->minPixelCol() > yplus)
134  continue;
135  if (ci->maxPixelCol() < yminus)
136  continue;
137 
138  if (data.pixelClustersToSkip().empty() or (not data.pixelClustersToSkip()[index])) {
139  SiPixelClusterRef cluster = detSet.makeRefTo(data.pixelData().handle(), ci);
140  result.push_back(buildRecHit(cluster, ts.localParameters()));
141  } else {
142  LogDebug("TkPixelMeasurementDet") << "skipping this cluster from last iteration on "
143  << fastGeomDet().geographicalId().rawId() << " key: " << index;
144  }
145  }
146  return result;
147 }
bool isEmpty(const PxMeasurementDetSet &data) const
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
const PixelGeomDetUnit & specificGeomDet() const
const LocalTrajectoryParameters & localParameters() const
T x() const
Definition: PV2DBase.h:43
Log< level::Error, false > LogError
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:64
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
const GeomDet & fastGeomDet() const
TrackingRecHit::ConstRecHitContainer RecHitContainer
Pixel cluster – collection of neighboring pixels above threshold.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
edmNew::DetSet< SiPixelCluster > detset
TrackingRecHit::RecHitPointer buildRecHit(const SiPixelClusterRef &cluster, const LocalTrajectoryParameters &ltp) const
#define LogDebug(id)

◆ conditionSet() [1/2]

PxMeasurementConditionSet& TkPixelMeasurementDet::conditionSet ( )
inlineprivate

Definition at line 93 of file TkPixelMeasurementDet.h.

93 { return *theDetConditions; }
PxMeasurementConditionSet * theDetConditions

◆ conditionSet() [2/2]

const PxMeasurementConditionSet& TkPixelMeasurementDet::conditionSet ( ) const
inlineprivate

Definition at line 94 of file TkPixelMeasurementDet.h.

94 { return *theDetConditions; }
PxMeasurementConditionSet * theDetConditions

◆ cpe()

const PixelClusterParameterEstimator* TkPixelMeasurementDet::cpe ( ) const
inlineprivate

Definition at line 96 of file TkPixelMeasurementDet.h.

Referenced by buildRecHit().

96 { return conditionSet().pixelCPE(); }
PxMeasurementConditionSet & conditionSet()
const PixelClusterParameterEstimator * pixelCPE() const

◆ getBadFEDChannelPositions()

const PxMeasurementDetSet::BadFEDChannelPositions* TkPixelMeasurementDet::getBadFEDChannelPositions ( const MeasurementTrackerEvent data) const
inline

Definition at line 79 of file TkPixelMeasurementDet.h.

References data.

Referenced by hasBadComponents().

80  {
81  return data.pixelData().getBadFEDChannelPositions(index());
82  }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ hasBadComponents()

bool TkPixelMeasurementDet::hasBadComponents ( const TrajectoryStateOnSurface tsos,
const MeasurementTrackerEvent dat 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 149 of file TkPixelMeasurementDet.cc.

References funct::abs(), badRocPositions_, data, PVValHelper::dx, PVValHelper::dy, f, getBadFEDChannelPositions(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), AlCaHLTBitMon_ParallelJobs::p, LocalTrajectoryError::positionError(), and mathSSE::sqrt().

Referenced by measurements().

150  {
151  auto badFEDChannelPositions = getBadFEDChannelPositions(data);
152  if (badRocPositions_.empty() && badFEDChannelPositions == nullptr)
153  return false;
154 
155  auto lp = tsos.localPosition();
156  auto le = tsos.localError().positionError();
157  for (auto const& broc : badRocPositions_) {
158  auto dx = std::abs(broc.x() - lp.x()) - theRocWidth;
159  auto dy = std::abs(broc.y() - lp.y()) - theRocHeight;
160  if ((dx <= 0.f) & (dy <= 0.f))
161  return true;
162  if ((dx * dx < 9.f * le.xx()) && (dy * dy < 9.f * le.yy()))
163  return true;
164  }
165 
166  if (badFEDChannelPositions == nullptr)
167  return false;
168  float dx = 3.f * std::sqrt(le.xx()) + theRocWidth, dy = 3.f * std::sqrt(le.yy()) + theRocHeight;
169  for (auto const& p : *badFEDChannelPositions) {
170  if (lp.x() > (p.first.x() - dx) && lp.x() < (p.second.x() + dx) && lp.y() > (p.first.y() - dy) &&
171  lp.y() < (p.second.y() + dy)) {
172  return true;
173  }
174  }
175 
176  return false;
177 }
const LocalTrajectoryError & localError() const
std::vector< LocalPoint > badRocPositions_
const PxMeasurementDetSet::BadFEDChannelPositions * getBadFEDChannelPositions(const MeasurementTrackerEvent &data) const
LocalError positionError() const
T sqrt(T t)
Definition: SSEVec.h:19
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double f[11][100]
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ index()

int TkPixelMeasurementDet::index ( ) const
inline

Definition at line 84 of file TkPixelMeasurementDet.h.

Referenced by compHits(), and BeautifulSoup.PageElement::insert().

◆ isActive()

bool TkPixelMeasurementDet::isActive ( const MeasurementTrackerEvent data) const
inlineoverridevirtual

Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.

Implements MeasurementDet.

Definition at line 70 of file TkPixelMeasurementDet.h.

References data.

Referenced by compHits(), and measurements().

70 { return data.pixelData().isActive(index()); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ isEmpty()

bool TkPixelMeasurementDet::isEmpty ( const PxMeasurementDetSet data) const
inline

Definition at line 33 of file TkPixelMeasurementDet.h.

References data.

Referenced by plotting.Plot::clone(), and compHits().

33 { return data.empty(index()); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ measurements()

bool TkPixelMeasurementDet::measurements ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
const MeasurementTrackerEvent dat,
TempMeasurements result 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 24 of file TkPixelMeasurementDet.cc.

References compHits(), runTheMatrix::const, data, MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), hasBadComponents(), isActive(), TrajectoryStateOnSurface::localError(), MeasurementEstimator::maxSagitta(), eostools::move(), LocalTrajectoryError::positionError(), mps_fire::result, mathSSE::sqrt(), MeasurementDet::theInactiveHit, MeasurementDet::theMissingHit, LocalError::valid(), LocalError::xx(), and LocalError::yy().

27  {
28  if (!isActive(data)) {
29  result.add(theInactiveHit, 0.F);
30  return true;
31  }
32 
33  auto xl = 100.f;
34  auto yl = 100.f;
35  // do not apply for iteration not cutting on propagation
36  if (est.maxSagitta() >= 0) {
37  // do not use this as it does not account for APE...
38  // auto xyLimits = est.maximalLocalDisplacement(stateOnThisDet,fastGeomDet().specificSurface());
39  auto le = stateOnThisDet.localError().positionError();
40  LocalError lape = static_cast<TrackerGeomDet const&>(fastGeomDet()).localAlignmentError();
41  xl = le.xx();
42  yl = le.yy();
43  if (lape.valid()) {
44  xl += lape.xx();
45  yl += lape.yy();
46  }
47  // 5 sigma to be on the safe side
48  xl = 5.f * std::sqrt(xl);
49  yl = 5.f * std::sqrt(yl);
50  }
51 
52  auto oldSize = result.size();
53  MeasurementDet::RecHitContainer&& allHits = compHits(stateOnThisDet, data, xl, yl);
54  for (auto&& hit : allHits) {
55  std::pair<bool, double> diffEst = est.estimate(stateOnThisDet, *hit);
56  if (diffEst.first)
57  result.add(std::move(hit), diffEst.second);
58  }
59 
60  if (result.size() > oldSize)
61  return true;
62 
63  // create a TrajectoryMeasurement with an invalid RecHit and zero estimate
64  bool inac = hasBadComponents(stateOnThisDet, data);
65  result.add(inac ? theInactiveHit : theMissingHit, 0.F);
66  return inac;
67 }
const LocalTrajectoryError & localError() const
bool valid() const
Definition: LocalError.h:20
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
LocalError positionError() const
TrackingRecHit::ConstRecHitPointer theMissingHit
float yy() const
Definition: LocalError.h:24
T sqrt(T t)
Definition: SSEVec.h:19
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
TrackingRecHit::ConstRecHitPointer theInactiveHit
const GeomDet & fastGeomDet() const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
RecHitContainer compHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat, float xl, float yl) const
float xx() const
Definition: LocalError.h:22
def move(src, dest)
Definition: eostools.py:511

◆ recHits() [1/2]

TkPixelMeasurementDet::RecHitContainer TkPixelMeasurementDet::recHits ( const TrajectoryStateOnSurface ts,
const MeasurementTrackerEvent dat 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 78 of file TkPixelMeasurementDet.cc.

References compHits(), and data.

79  {
80  float xl = 100.f; // larger than any detector
81  float yl = 100.f;
82  return compHits(ts, data, xl, yl);
83 }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
RecHitContainer compHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat, float xl, float yl) const

◆ recHits() [2/2]

bool TkPixelMeasurementDet::recHits ( SimpleHitContainer result,
const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator ,
const MeasurementTrackerEvent data 
) const
inlineoverridevirtual

Reimplemented from MeasurementDet.

Definition at line 47 of file TkPixelMeasurementDet.h.

References cms::cuda::assert().

50  {
51  assert("not implemented for Pixel yet" == nullptr);
52  }
assert(be >=bs)

◆ setActive()

void TkPixelMeasurementDet::setActive ( bool  active)
inline

Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually).

Definition at line 65 of file TkPixelMeasurementDet.h.

65 { conditionSet().setActive(index(), active); }
PxMeasurementConditionSet & conditionSet()
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...

◆ setActiveThisEvent()

void TkPixelMeasurementDet::setActiveThisEvent ( PxMeasurementDetSet data,
bool  active 
) const
inline

Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call to 'update' or 'setEmpty'.

Definition at line 68 of file TkPixelMeasurementDet.h.

References data.

68 { data.setActiveThisEvent(index(), active); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ setBadRocPositions()

void TkPixelMeasurementDet::setBadRocPositions ( std::vector< LocalPoint > &  positions)
inline

Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame.

Definition at line 75 of file TkPixelMeasurementDet.h.

75 { badRocPositions_.swap(positions); }
std::vector< LocalPoint > badRocPositions_

◆ setEmpty()

void TkPixelMeasurementDet::setEmpty ( PxMeasurementDetSet data)
inline

Definition at line 32 of file TkPixelMeasurementDet.h.

References data.

32 { data.setEmpty(index()); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ setIndex()

void TkPixelMeasurementDet::setIndex ( int  i)
inline

Definition at line 85 of file TkPixelMeasurementDet.h.

References mps_fire::i.

◆ specificGeomDet()

const PixelGeomDetUnit& TkPixelMeasurementDet::specificGeomDet ( ) const
inline

Definition at line 59 of file TkPixelMeasurementDet.h.

References runTheMatrix::const, and MeasurementDet::fastGeomDet().

Referenced by buildRecHit(), and compHits().

59 { return static_cast<PixelGeomDetUnit const&>(fastGeomDet()); }
const GeomDet & fastGeomDet() const

◆ update()

void TkPixelMeasurementDet::update ( PxMeasurementDetSet data,
const detset detSet 
)
inline

Definition at line 27 of file TkPixelMeasurementDet.h.

References data.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

27  {
28  data.update(index(), detSet);
29  data.setActiveThisEvent(index(), true);
30  }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

Member Data Documentation

◆ badRocPositions_

std::vector<LocalPoint> TkPixelMeasurementDet::badRocPositions_
private

Definition at line 89 of file TkPixelMeasurementDet.h.

Referenced by hasBadComponents().

◆ id_

unsigned int TkPixelMeasurementDet::id_
private

Definition at line 88 of file TkPixelMeasurementDet.h.

◆ index_

int TkPixelMeasurementDet::index_
private

Definition at line 91 of file TkPixelMeasurementDet.h.

◆ theDetConditions

PxMeasurementConditionSet* TkPixelMeasurementDet::theDetConditions
private

Definition at line 92 of file TkPixelMeasurementDet.h.