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

Definition at line 23 of file TkPixelMeasurementDet.h.

Definition at line 22 of file TkPixelMeasurementDet.h.

Definition at line 24 of file TkPixelMeasurementDet.h.

Definition at line 20 of file TkPixelMeasurementDet.h.

Constructor & Destructor Documentation

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

Definition at line 18 of file TkPixelMeasurementDet.cc.

19  :
20  MeasurementDet (gdet),
21  theDetConditions(&conditions)
22  {
23  if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) == nullptr) {
24  throw MeasurementDetException( "TkPixelMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
25  }
26  }
MeasurementDet(const GeomDet *gdet)
PxMeasurementConditionSet * theDetConditions
TkPixelMeasurementDet::~TkPixelMeasurementDet ( )
inlineoverride

Definition at line 37 of file TkPixelMeasurementDet.h.

References MeasurementDet::recHits().

37 { }

Member Function Documentation

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

Definition at line 101 of file TkPixelMeasurementDet.h.

References edm::Ref< C, T, F >::key().

Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().

101  {
102 
103  if(skipClusters.empty()) return true;
104  if (r.key()>=skipClusters.size()){
105  edm::LogError("IndexMisMatch")<<r.key()<<" is larger than: "<<skipClusters.size()<<" no skipping done";
106  return true;
107  }
108  return not skipClusters[r.key()];
109  }
key_type key() const
Accessor for product key.
Definition: Ref.h:265
TrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit ( const SiPixelClusterRef cluster,
const LocalTrajectoryParameters ltp 
) const

Definition at line 75 of file TkPixelMeasurementDet.cc.

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

Referenced by compHits().

77 {
78  const GeomDetUnit& gdu(specificGeomDet());
79 
80  auto && params = cpe()->getParameters( * cluster, gdu, ltp );
81  return std::make_shared<SiPixelRecHit>( std::get<0>(params), std::get<1>(params), std::get<2>(params), fastGeomDet(), cluster);
82 }
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
const PixelClusterParameterEstimator * cpe() const
const GeomDet & fastGeomDet() const
const PixelGeomDetUnit & specificGeomDet() const
void TkPixelMeasurementDet::clearBadRocPositions ( )
inline

Clear the list of bad ROCs.

Definition at line 79 of file TkPixelMeasurementDet.h.

79 { badRocPositions_.clear(); }
std::vector< LocalPoint > badRocPositions_
TkPixelMeasurementDet::RecHitContainer TkPixelMeasurementDet::compHits ( const TrajectoryStateOnSurface ts,
const MeasurementTrackerEvent dat,
float  xl,
float  yl 
) const

Definition at line 94 of file TkPixelMeasurementDet.cc.

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

Referenced by measurements(), and recHits().

95 {
97  if (isEmpty(data.pixelData())== true ) return result;
98  if (isActive(data) == false) return result;
99  const SiPixelCluster* begin=nullptr;
100  if (!data.pixelData().handle()->data().empty()) {
101  begin = &(data.pixelData().handle()->data().front());
102  }
103  const detset & detSet = data.pixelData().detSet(index());
104  result.reserve(detSet.size());
105 
106  // pixel topology is rectangular, all positions are independent
107  LocalVector maxD(xl,yl,0);
110 
111  int xminus = PMinus.x();
112  int yminus = PMinus.y();
113  int xplus = PPlus.x()+0.5f;
114  int yplus = PPlus.y()+0.5f;
115 
116 
117  // rechits are sorted in x...
118  auto rightCluster =
119  std::find_if( detSet.begin(), detSet.end(), [xplus](const SiPixelCluster& cl) { return cl.minPixelRow() > xplus; });
120 
121  // std::cout << "px xlim " << xl << ' ' << xminus << '/' << xplus << ' ' << rightCluster-detSet.begin() << ',' << detSet.end()-rightCluster << std::endl;
122 
123 
124  // consider only compatible clusters
125  for (auto ci = detSet.begin(); ci != rightCluster; ++ci ) {
126 
127  if (ci < begin){
128  edm::LogError("IndexMisMatch")<<"TkPixelMeasurementDet cannot create hit because of index mismatch.";
129  return result;
130  }
131  unsigned int index = ci-begin;
132  if (!data.pixelClustersToSkip().empty() && index>=data.pixelClustersToSkip().size()){
133  edm::LogError("IndexMisMatch")<<"TkPixelMeasurementDet cannot create hit because of index mismatch. i.e "<<index<<" >= "<<data.pixelClustersToSkip().size();
134  return result;
135  }
136 
137  if (ci->maxPixelRow()<xminus) continue;
138  // also check compatibility in y... (does not add much)
139  if (ci->minPixelCol()>yplus) continue;
140  if (ci->maxPixelCol()<yminus) continue;
141 
142  if(data.pixelClustersToSkip().empty() or (not data.pixelClustersToSkip()[index]) ) {
143  SiPixelClusterRef cluster = detSet.makeRefTo( data.pixelData().handle(), ci );
144  result.push_back( buildRecHit( cluster, ts.localParameters() ) );
145  }else{
146  LogDebug("TkPixelMeasurementDet")<<"skipping this cluster from last iteration on "<<fastGeomDet().geographicalId().rawId()<<" key: "<<index;
147  }
148  }
149  return result;
150 }
#define LogDebug(id)
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 LocalTrajectoryParameters & localParameters() const
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
TrackingRecHit::RecHitPointer buildRecHit(const SiPixelClusterRef &cluster, const LocalTrajectoryParameters &ltp) const
const GeomDet & fastGeomDet() const
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:79
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
TrackingRecHit::ConstRecHitContainer RecHitContainer
Pixel cluster – collection of neighboring pixels above threshold.
#define begin
Definition: vmac.h:32
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const PixelGeomDetUnit & specificGeomDet() const
edmNew::DetSet< SiPixelCluster > detset
T x() const
Definition: PV2DBase.h:45
bool isEmpty(const PxMeasurementDetSet &data) const
PxMeasurementConditionSet& TkPixelMeasurementDet::conditionSet ( )
inlineprivate

Definition at line 94 of file TkPixelMeasurementDet.h.

94 { return *theDetConditions; }
PxMeasurementConditionSet * theDetConditions
const PxMeasurementConditionSet& TkPixelMeasurementDet::conditionSet ( ) const
inlineprivate

Definition at line 95 of file TkPixelMeasurementDet.h.

95 { return *theDetConditions; }
PxMeasurementConditionSet * theDetConditions
const PixelClusterParameterEstimator* TkPixelMeasurementDet::cpe ( ) const
inlineprivate

Definition at line 97 of file TkPixelMeasurementDet.h.

Referenced by buildRecHit().

97 { return conditionSet().pixelCPE(); }
PxMeasurementConditionSet & conditionSet()
const PixelClusterParameterEstimator * pixelCPE() const
const PxMeasurementDetSet::BadFEDChannelPositions* TkPixelMeasurementDet::getBadFEDChannelPositions ( const MeasurementTrackerEvent data) const
inline

Definition at line 81 of file TkPixelMeasurementDet.h.

References PxMeasurementDetSet::getBadFEDChannelPositions(), and MeasurementTrackerEvent::pixelData().

Referenced by hasBadComponents().

81  {
82  return data.pixelData().getBadFEDChannelPositions(index());
83  }
const BadFEDChannelPositions * getBadFEDChannelPositions(int i) const
const PxMeasurementDetSet & pixelData() const
bool TkPixelMeasurementDet::hasBadComponents ( const TrajectoryStateOnSurface tsos,
const MeasurementTrackerEvent dat 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 153 of file TkPixelMeasurementDet.cc.

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

Referenced by measurements().

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

Definition at line 85 of file TkPixelMeasurementDet.h.

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

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 72 of file TkPixelMeasurementDet.h.

References MeasurementDet::hasBadComponents(), PxMeasurementDetSet::isActive(), and MeasurementTrackerEvent::pixelData().

Referenced by compHits(), and measurements().

72 { return data.pixelData().isActive(index()); }
const PxMeasurementDetSet & pixelData() const
bool isActive(int i) const
bool TkPixelMeasurementDet::isEmpty ( const PxMeasurementDetSet data) const
inline

Definition at line 35 of file TkPixelMeasurementDet.h.

References PxMeasurementDetSet::empty().

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

35 {return data.empty(index());}
bool empty(int i) const
bool TkPixelMeasurementDet::measurements ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
const MeasurementTrackerEvent dat,
TempMeasurements result 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 28 of file TkPixelMeasurementDet.cc.

References tracking::TempMeasurements::add(), compHits(), MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), hasBadComponents(), isActive(), TrajectoryStateOnSurface::localError(), MeasurementEstimator::maxSagitta(), eostools::move(), LocalTrajectoryError::positionError(), tracking::TempMeasurements::size(), mathSSE::sqrt(), MeasurementDet::theInactiveHit, MeasurementDet::theMissingHit, LocalError::valid(), LocalError::xx(), and LocalError::yy().

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

Implements MeasurementDet.

Definition at line 86 of file TkPixelMeasurementDet.cc.

References compHits().

86  {
87  float xl = 100.f; // larger than any detector
88  float yl = 100.f;
89  return compHits(ts,data,xl,yl);
90 }
RecHitContainer compHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat, float xl, float yl) const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
bool TkPixelMeasurementDet::recHits ( SimpleHitContainer result,
const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator ,
const MeasurementTrackerEvent data 
) const
inlineoverridevirtual

Reimplemented from MeasurementDet.

Definition at line 48 of file TkPixelMeasurementDet.h.

References MeasurementDet::measurements(), and mps_fire::result.

49  {
50  assert("not implemented for Pixel yet"==nullptr);
51  }
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 67 of file TkPixelMeasurementDet.h.

67 { 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...
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 70 of file TkPixelMeasurementDet.h.

References PxMeasurementDetSet::setActiveThisEvent().

70 { data.setActiveThisEvent(index(), active); }
void setActiveThisEvent(bool active)
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 77 of file TkPixelMeasurementDet.h.

77 { badRocPositions_.swap(positions); }
std::vector< LocalPoint > badRocPositions_
void TkPixelMeasurementDet::setEmpty ( PxMeasurementDetSet data)
inline

Definition at line 34 of file TkPixelMeasurementDet.h.

References PxMeasurementDetSet::setEmpty().

34 { data.setEmpty(index()); }
void TkPixelMeasurementDet::setIndex ( int  i)
inline

Definition at line 86 of file TkPixelMeasurementDet.h.

References mps_fire::i.

const PixelGeomDetUnit& TkPixelMeasurementDet::specificGeomDet ( ) const
inline

Definition at line 60 of file TkPixelMeasurementDet.h.

References MeasurementDet::fastGeomDet().

Referenced by buildRecHit(), and compHits().

60 {return static_cast<PixelGeomDetUnit const &>(fastGeomDet());}
const GeomDet & fastGeomDet() const
void TkPixelMeasurementDet::update ( PxMeasurementDetSet data,
const detset detSet 
)
inline

Definition at line 29 of file TkPixelMeasurementDet.h.

References PxMeasurementDetSet::setActiveThisEvent(), and PxMeasurementDetSet::update().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

29  {
30  data.update(index(), detSet);
31  data.setActiveThisEvent(index(), true);
32  }
void update(int i, const PixelDetSet &detSet)
void setActiveThisEvent(bool active)

Member Data Documentation

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

Definition at line 90 of file TkPixelMeasurementDet.h.

Referenced by hasBadComponents().

unsigned int TkPixelMeasurementDet::id_
private

Definition at line 89 of file TkPixelMeasurementDet.h.

int TkPixelMeasurementDet::index_
private

Definition at line 92 of file TkPixelMeasurementDet.h.

PxMeasurementConditionSet* TkPixelMeasurementDet::theDetConditions
private

Definition at line 93 of file TkPixelMeasurementDet.h.