CMS 3D CMS Logo

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

#include <TkPhase2OTMeasurementDet.h>

Inheritance diagram for TkPhase2OTMeasurementDet:
MeasurementDet

Public Types

typedef detset::const_iterator const_iterator
 
typedef edmNew::DetSet< Phase2TrackerCluster1Ddetset
 
typedef ClusterParameterEstimator< Phase2TrackerCluster1D >::LocalValues LocalValues
 
typedef edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1DPhase2TrackerCluster1DRef
 
- Public Types inherited from MeasurementDet
typedef TrackingRecHit::ConstRecHitContainer RecHitContainer
 
using SimpleHitContainer = std::vector< BaseTrackerRecHit * >
 
typedef tracking::TempMeasurements TempMeasurements
 

Public Member Functions

TrackingRecHit::RecHitPointer buildRecHit (const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters &ltp) const
 
bool hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override
 
int index () const
 Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame. More...
 
bool isActive (const MeasurementTrackerEvent &data) const override
 Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More...
 
bool isEmpty (const Phase2OTMeasurementDetSet &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 (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data, RecHitContainer &result, std::vector< float > &) 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 (Phase2OTMeasurementDetSet &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 setEmpty (Phase2OTMeasurementDetSet &data)
 
void setIndex (int i)
 
const PixelGeomDetUnitspecificGeomDet () const
 
 TkPhase2OTMeasurementDet (const GeomDet *gdet, Phase2OTMeasurementConditionSet &conditionSet)
 
void update (Phase2OTMeasurementDetSet &data, const detset &detSet)
 
 ~TkPhase2OTMeasurementDet () 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
 
const Surfacesurface () const
 
virtual ~MeasurementDet ()=default
 

Private Member Functions

Phase2OTMeasurementConditionSetconditionSet ()
 
const Phase2OTMeasurementConditionSetconditionSet () const
 
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe () const
 

Private Attributes

unsigned int id_
 
int index_
 
Phase2OTMeasurementConditionSettheDetConditions
 

Additional Inherited Members

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

Detailed Description

Definition at line 16 of file TkPhase2OTMeasurementDet.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 21 of file TkPhase2OTMeasurementDet.h.

◆ detset

Definition at line 20 of file TkPhase2OTMeasurementDet.h.

◆ LocalValues

Definition at line 22 of file TkPhase2OTMeasurementDet.h.

◆ Phase2TrackerCluster1DRef

Definition at line 18 of file TkPhase2OTMeasurementDet.h.

Constructor & Destructor Documentation

◆ TkPhase2OTMeasurementDet()

TkPhase2OTMeasurementDet::TkPhase2OTMeasurementDet ( const GeomDet gdet,
Phase2OTMeasurementConditionSet conditionSet 
)

Definition at line 10 of file TkPhase2OTMeasurementDet.cc.

12  if (dynamic_cast<const PixelGeomDetUnit*>(gdet) == nullptr) {
14  "TkPhase2OTMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
15  }
16 }
MeasurementDet(const GeomDet *gdet)
Phase2OTMeasurementConditionSet * theDetConditions

◆ ~TkPhase2OTMeasurementDet()

TkPhase2OTMeasurementDet::~TkPhase2OTMeasurementDet ( )
inlineoverride

Definition at line 34 of file TkPhase2OTMeasurementDet.h.

34 {}

Member Function Documentation

◆ buildRecHit()

TrackingRecHit::RecHitPointer TkPhase2OTMeasurementDet::buildRecHit ( const Phase2TrackerCluster1DRef cluster,
const LocalTrajectoryParameters ltp 
) const

Definition at line 121 of file TkPhase2OTMeasurementDet.cc.

References cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParameters(), submitPVValidationJobs::params, and specificGeomDet().

Referenced by recHits().

122  {
123  const PixelGeomDetUnit& gdu(specificGeomDet());
124  auto&& params = cpe()->localParameters(*cluster, gdu);
125 
126  return std::make_shared<Phase2TrackerRecHit1D>(params.first, params.second, fastGeomDet(), cluster);
127 }
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe() const
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
const GeomDet & fastGeomDet() const
const PixelGeomDetUnit & specificGeomDet() const

◆ conditionSet() [1/2]

Phase2OTMeasurementConditionSet& TkPhase2OTMeasurementDet::conditionSet ( )
inlineprivate

Definition at line 88 of file TkPhase2OTMeasurementDet.h.

88 { return *theDetConditions; }
Phase2OTMeasurementConditionSet * theDetConditions

◆ conditionSet() [2/2]

const Phase2OTMeasurementConditionSet& TkPhase2OTMeasurementDet::conditionSet ( ) const
inlineprivate

Definition at line 89 of file TkPhase2OTMeasurementDet.h.

89 { return *theDetConditions; }
Phase2OTMeasurementConditionSet * theDetConditions

◆ cpe()

const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkPhase2OTMeasurementDet::cpe ( ) const
inlineprivate

Definition at line 91 of file TkPhase2OTMeasurementDet.h.

Referenced by buildRecHit().

91 { return conditionSet().cpe(); }
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe() const
Phase2OTMeasurementConditionSet & conditionSet()

◆ hasBadComponents()

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

Implements MeasurementDet.

Definition at line 165 of file TkPhase2OTMeasurementDet.cc.

Referenced by measurements().

166  {
167  /*
168  if (badRocPositions_.empty()) return false;
169  LocalPoint lp = tsos.localPosition();
170  LocalError le = tsos.localError().positionError();
171  double dx = 3*std::sqrt(le.xx()) + theRocWidth, dy = 3*std::sqrt(le.yy()) + theRocHeight;
172  for (std::vector<LocalPoint>::const_iterator it = badRocPositions_.begin(), ed = badRocPositions_.end(); it != ed; ++it) {
173  if ( (std::abs(it->x() - lp.x()) < dx) &&
174  (std::abs(it->y() - lp.y()) < dy) ) return true;
175  }
176 */
177  return false;
178 }

◆ index()

int TkPhase2OTMeasurementDet::index ( ) const
inline

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

Clear the list of bad ROCs

Definition at line 79 of file TkPhase2OTMeasurementDet.h.

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

◆ isActive()

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

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

Implements MeasurementDet.

Definition at line 69 of file TkPhase2OTMeasurementDet.h.

References data.

Referenced by TkStackMeasurementDet::isActive(), measurements(), and recHits().

69 { return data.phase2OTData().isActive(index()); }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ isEmpty()

bool TkPhase2OTMeasurementDet::isEmpty ( const Phase2OTMeasurementDetSet data) const
inline

Definition at line 32 of file TkPhase2OTMeasurementDet.h.

References data.

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

32 { return data.empty(index()); }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ measurements()

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

Implements MeasurementDet.

Definition at line 18 of file TkPhase2OTMeasurementDet.cc.

References data, F(), hasBadComponents(), isActive(), recHits(), mps_fire::result, MeasurementDet::theInactiveHit, and MeasurementDet::theMissingHit.

21  {
22  if (!isActive(data)) {
23  result.add(theInactiveHit, 0.F);
24  return true;
25  }
26 
27  if (recHits(stateOnThisDet, est, data, result.hits, result.distances))
28  return true;
29 
30  // create a TrajectoryMeasurement with an invalid RecHit and zero estimate
31  bool inac = hasBadComponents(stateOnThisDet, data);
32  result.add(inac ? theInactiveHit : theMissingHit, 0.F);
33  return inac;
34 }
TrackingRecHit::ConstRecHitPointer theMissingHit
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
TrackingRecHit::ConstRecHitPointer theInactiveHit
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const override

◆ recHits() [1/3]

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

Implements MeasurementDet.

Definition at line 129 of file TkPhase2OTMeasurementDet.cc.

References edmNew::DetSet< T >::begin(), buildRecHit(), data, edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localParameters(), LogDebug, edmNew::DetSet< T >::makeRefTo(), or, DetId::rawId(), mps_fire::result, and edmNew::DetSet< T >::size().

Referenced by measurements().

130  {
132  if (isEmpty(data.phase2OTData()))
133  return result;
134  if (!isActive(data))
135  return result;
136  const Phase2TrackerCluster1D* begin = nullptr;
137  if (!data.phase2OTData().handle()->data().empty()) {
138  begin = &(data.phase2OTData().handle()->data().front());
139  }
140  const detset& detSet = data.phase2OTData().detSet(index());
141  result.reserve(detSet.size());
142  for (const_iterator ci = detSet.begin(); ci != detSet.end(); ++ci) {
143  if (ci < begin) {
144  edm::LogError("IndexMisMatch") << "TkPhase2OTMeasurementDet cannot create hit because of index mismatch.";
145  return result;
146  }
147  unsigned int index = ci - begin;
148  if (!data.phase2OTClustersToSkip().empty() && index >= data.phase2OTClustersToSkip().size()) {
149  edm::LogError("IndexMisMatch") << "TkPhase2OTMeasurementDet cannot create hit because of index mismatch. i.e "
150  << index << " >= " << data.phase2OTClustersToSkip().size();
151  return result;
152  }
153  if (data.phase2OTClustersToSkip().empty() or (not data.phase2OTClustersToSkip()[index])) {
154  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo(data.phase2OTData().handle(), ci);
155  result.push_back(buildRecHit(cluster, ts.localParameters()));
156  } else {
157  LogDebug("TkPhase2OTMeasurementDet") << "skipping this cluster from last iteration on "
158  << fastGeomDet().geographicalId().rawId() << " key: " << index;
159  }
160  }
161  return result;
162 }
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters &ltp) const
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
const LocalTrajectoryParameters & localParameters() const
Log< level::Error, false > LogError
bool isEmpty(const Phase2OTMeasurementDetSet &data) const
edmNew::DetSet< Phase2TrackerCluster1D > detset
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
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
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
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
detset::const_iterator const_iterator
#define LogDebug(id)

◆ recHits() [2/3]

bool TkPhase2OTMeasurementDet::recHits ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
const MeasurementTrackerEvent data,
RecHitContainer result,
std::vector< float > &  diffs 
) const
overridevirtual

use the usual 5 sigma cut from the Traj to identify the column....

Reimplemented from MeasurementDet.

Definition at line 36 of file TkPhase2OTMeasurementDet.cc.

References edmNew::DetSet< T >::begin(), buildRecHit(), cuy::col, runTheMatrix::const, data, edmNew::DetSet< T >::end(), MeasurementEstimator::estimate(), MeasurementDet::fastGeomDet(), index(), createfilelist::int, isActive(), isEmpty(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), edmNew::DetSet< T >::makeRefTo(), MeasurementEstimator::maxSagitta(), Topology::measurementPosition(), LocalTrajectoryError::positionError(), caHitNtupletGeneratorKernels::reject, mps_fire::result, specificGeomDet(), PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), UNLIKELY, LocalError::valid(), L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, and LocalError::yy().

40  {
41  if UNLIKELY ((!isActive(data)) || isEmpty(data.phase2OTData()))
42  return false;
43 
44  auto oldSize = result.size();
45 
46  const detset& detSet = data.phase2OTData().detSet(index());
47  auto begin = &(data.phase2OTData().handle()->data().front());
48  auto reject = [&](auto ci) -> bool {
49  return (!data.phase2OTClustersToSkip().empty()) && data.phase2OTClustersToSkip()[ci - begin];
50  };
51 
53  auto firstCluster = detSet.begin();
54  auto lastCluster = detSet.end();
55 
56  // do not use this as it does not account for APE...
57  // auto xyLimits = est.maximalLocalDisplacement(stateOnThisDet,fastGeomDet().specificSurface());
58  auto le = stateOnThisDet.localError().positionError();
59  LocalError lape = static_cast<TrackerGeomDet const&>(fastGeomDet()).localAlignmentError();
60  auto ye = le.yy();
61  if (lape.valid()) {
62  ye += lape.yy();
63  }
64  // 5 sigma to be on the safe side
65  ye = 5.f * std::sqrt(ye);
66  LocalVector maxD(0, ye, 0);
67  // pixel topology is rectangular: x and y are independent
68  auto ymin = specificGeomDet().specificTopology().measurementPosition(stateOnThisDet.localPosition() - maxD);
69  auto ymax = specificGeomDet().specificTopology().measurementPosition(stateOnThisDet.localPosition() + maxD);
70  int utraj = ymin.x();
71  // do not apply for iteration not cutting on propagation
72  if (est.maxSagitta() >= 0) {
73  int colMin = ymin.y();
74  int colMax = ymax.y();
75  firstCluster = std::find_if(firstCluster, detSet.end(), [colMin](const Phase2TrackerCluster1D& hit) {
76  return int(hit.column()) >= colMin;
77  });
78  lastCluster = std::find_if(
79  firstCluster, detSet.end(), [colMax](const Phase2TrackerCluster1D& hit) { return int(hit.column()) > colMax; });
80  }
81 
82  while (firstCluster != lastCluster) { // loop on each column
83  auto const col = firstCluster->column();
84  auto endCluster = std::find_if(
85  firstCluster, detSet.end(), [col](const Phase2TrackerCluster1D& hit) { return hit.column() != col; });
86  // find trajectory position in this column
87  auto rightCluster = std::find_if(
88  firstCluster, endCluster, [utraj](const Phase2TrackerCluster1D& hit) { return int(hit.firstStrip()) > utraj; });
89  // search for compatible clusters...
90  if (rightCluster != firstCluster) {
91  // there are hits on the left of the utraj
92  auto leftCluster = rightCluster;
93  while (--leftCluster >= firstCluster) {
94  if (reject(leftCluster))
95  continue;
96  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo(data.phase2OTData().handle(), leftCluster);
97  auto hit = buildRecHit(cluster, stateOnThisDet.localParameters());
98  auto diffEst = est.estimate(stateOnThisDet, *hit);
99  if (!diffEst.first)
100  break; // exit loop on first incompatible hit
101  result.push_back(hit);
102  diffs.push_back(diffEst.second);
103  }
104  }
105  for (; rightCluster != endCluster; rightCluster++) {
106  if (reject(rightCluster))
107  continue;
108  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo(data.phase2OTData().handle(), rightCluster);
109  auto hit = buildRecHit(cluster, stateOnThisDet.localParameters());
110  auto diffEst = est.estimate(stateOnThisDet, *hit);
111  if (!diffEst.first)
112  break; // exit loop on first incompatible hit
113  result.push_back(hit);
114  diffs.push_back(diffEst.second);
115  }
116  firstCluster = endCluster;
117  } // loop over columns
118  return result.size() > oldSize;
119 }
size
Write out results.
const LocalTrajectoryError & localError() const
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters &ltp) const
bool valid() const
Definition: LocalError.h:20
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
return((rh ^ lh) &mask)
const LocalTrajectoryParameters & localParameters() const
LocalError positionError() const
bool isEmpty(const Phase2OTMeasurementDetSet &data) const
edmNew::DetSet< Phase2TrackerCluster1D > detset
float yy() const
Definition: LocalError.h:24
T sqrt(T t)
Definition: SSEVec.h:19
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
const GeomDet & fastGeomDet() const
const PixelGeomDetUnit & specificGeomDet() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
col
Definition: cuy.py:1009
#define UNLIKELY(x)
Definition: Likely.h:21

◆ recHits() [3/3]

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

Reimplemented from MeasurementDet.

Definition at line 44 of file TkPhase2OTMeasurementDet.h.

References cms::cuda::assert().

47  {
48  assert("not implemented for Pixel yet" == nullptr);
49  }
assert(be >=bs)

◆ setActive()

void TkPhase2OTMeasurementDet::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 62 of file TkPhase2OTMeasurementDet.h.

62 { conditionSet().setActive(index(), active); }
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
Phase2OTMeasurementConditionSet & conditionSet()

◆ setActiveThisEvent()

void TkPhase2OTMeasurementDet::setActiveThisEvent ( Phase2OTMeasurementDetSet 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 65 of file TkPhase2OTMeasurementDet.h.

References data.

65  {
66  data.setActiveThisEvent(index(), active);
67  }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ setEmpty()

void TkPhase2OTMeasurementDet::setEmpty ( Phase2OTMeasurementDetSet data)
inline

Definition at line 31 of file TkPhase2OTMeasurementDet.h.

References data.

31 { data.setEmpty(index()); }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ setIndex()

void TkPhase2OTMeasurementDet::setIndex ( int  i)
inline

Definition at line 80 of file TkPhase2OTMeasurementDet.h.

References mps_fire::i.

◆ specificGeomDet()

const PixelGeomDetUnit& TkPhase2OTMeasurementDet::specificGeomDet ( ) const
inline

Definition at line 56 of file TkPhase2OTMeasurementDet.h.

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

Referenced by buildRecHit(), and recHits().

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

◆ update()

void TkPhase2OTMeasurementDet::update ( Phase2OTMeasurementDetSet data,
const detset detSet 
)
inline

Definition at line 26 of file TkPhase2OTMeasurementDet.h.

References data.

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

26  {
27  data.update(index(), detSet);
28  data.setActiveThisEvent(index(), true);
29  }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

Member Data Documentation

◆ id_

unsigned int TkPhase2OTMeasurementDet::id_
private

Definition at line 83 of file TkPhase2OTMeasurementDet.h.

◆ index_

int TkPhase2OTMeasurementDet::index_
private

Definition at line 86 of file TkPhase2OTMeasurementDet.h.

◆ theDetConditions

Phase2OTMeasurementConditionSet* TkPhase2OTMeasurementDet::theDetConditions
private

Definition at line 87 of file TkPhase2OTMeasurementDet.h.