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

Definition at line 22 of file TkPhase2OTMeasurementDet.h.

Definition at line 21 of file TkPhase2OTMeasurementDet.h.

Definition at line 23 of file TkPhase2OTMeasurementDet.h.

Definition at line 19 of file TkPhase2OTMeasurementDet.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file TkPhase2OTMeasurementDet.cc.

11  :
12  MeasurementDet (gdet),
13  theDetConditions(&conditions)
14  {
15  if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) == nullptr) {
16  throw MeasurementDetException( "TkPhase2OTMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
17  }
18  }
MeasurementDet(const GeomDet *gdet)
Phase2OTMeasurementConditionSet * theDetConditions
TkPhase2OTMeasurementDet::~TkPhase2OTMeasurementDet ( )
inlineoverride

Definition at line 36 of file TkPhase2OTMeasurementDet.h.

References data, MeasurementDet::recHits(), and mps_fire::result.

36 { }

Member Function Documentation

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

Definition at line 120 of file TkPhase2OTMeasurementDet.cc.

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

Referenced by recHits().

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

Definition at line 88 of file TkPhase2OTMeasurementDet.h.

88 { return *theDetConditions; }
Phase2OTMeasurementConditionSet * theDetConditions
const Phase2OTMeasurementConditionSet& TkPhase2OTMeasurementDet::conditionSet ( ) const
inlineprivate

Definition at line 89 of file TkPhase2OTMeasurementDet.h.

89 { return *theDetConditions; }
Phase2OTMeasurementConditionSet * theDetConditions
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()
bool TkPhase2OTMeasurementDet::hasBadComponents ( const TrajectoryStateOnSurface tsos,
const MeasurementTrackerEvent dat 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 166 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 }
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().

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 MeasurementDet::hasBadComponents(), Phase2OTMeasurementDetSet::isActive(), and MeasurementTrackerEvent::phase2OTData().

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

69 { return data.phase2OTData().isActive(index()); }
const Phase2OTMeasurementDetSet & phase2OTData() const
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
bool TkPhase2OTMeasurementDet::isEmpty ( const Phase2OTMeasurementDetSet data) const
inline

Definition at line 34 of file TkPhase2OTMeasurementDet.h.

References Phase2OTMeasurementDetSet::empty().

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

34 {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...
bool TkPhase2OTMeasurementDet::measurements ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
const MeasurementTrackerEvent dat,
TempMeasurements result 
) const
overridevirtual

Implements MeasurementDet.

Definition at line 20 of file TkPhase2OTMeasurementDet.cc.

References tracking::TempMeasurements::add(), tracking::TempMeasurements::distances, F(), hasBadComponents(), tracking::TempMeasurements::hits, isActive(), recHits(), MeasurementDet::theInactiveHit, and MeasurementDet::theMissingHit.

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

Implements MeasurementDet.

Definition at line 132 of file TkPhase2OTMeasurementDet.cc.

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

Referenced by measurements().

133 {
135  if (isEmpty(data.phase2OTData())) return result;
136  if (!isActive(data)) return result;
137  const Phase2TrackerCluster1D* begin=nullptr;
138  if (!data.phase2OTData().handle()->data().empty()) {
139  begin = &(data.phase2OTData().handle()->data().front());
140  }
141  const detset & detSet = data.phase2OTData().detSet(index());
142  result.reserve(detSet.size());
143  for ( const_iterator ci = detSet.begin(); ci != detSet.end(); ++ ci ) {
144 
145  if (ci < begin){
146  edm::LogError("IndexMisMatch")<<"TkPhase2OTMeasurementDet cannot create hit because of index mismatch.";
147  return result;
148  }
149  unsigned int index = ci-begin;
150  if (!data.phase2OTClustersToSkip().empty() && index>=data.phase2OTClustersToSkip().size()){
151  edm::LogError("IndexMisMatch")<<"TkPhase2OTMeasurementDet cannot create hit because of index mismatch. i.e "<<index<<" >= "<<data.phase2OTClustersToSkip().size();
152  return result;
153  }
154  if(data.phase2OTClustersToSkip().empty() or (not data.phase2OTClustersToSkip()[index]) ) {
155  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo( data.phase2OTData().handle(), ci );
156  result.push_back( buildRecHit( cluster, ts.localParameters() ) );
157  }else{
158  LogDebug("TkPhase2OTMeasurementDet")<<"skipping this cluster from last iteration on "<<fastGeomDet().geographicalId().rawId()<<" key: "<<index;
159  }
160  }
161  return result;
162 }
#define LogDebug(id)
bool isEmpty(const Phase2OTMeasurementDetSet &data) const
const LocalTrajectoryParameters & localParameters() const
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:47
edmNew::DetSet< Phase2TrackerCluster1D > detset
const GeomDet & fastGeomDet() const
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
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
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:79
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::ConstRecHitContainer RecHitContainer
#define begin
Definition: vmac.h:32
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
detset::const_iterator const_iterator
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters &ltp) const
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 39 of file TkPhase2OTMeasurementDet.cc.

References begin, edmNew::DetSet< T >::begin(), buildRecHit(), cuy::col, Phase2OTMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), MeasurementEstimator::estimate(), MeasurementDet::fastGeomDet(), Phase2TrackerCluster1D::firstStrip(), Phase2OTMeasurementDetSet::handle(), index(), createfilelist::int, isActive(), isEmpty(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), edmNew::DetSet< T >::makeRefTo(), MeasurementEstimator::maxSagitta(), Topology::measurementPosition(), MeasurementTrackerEvent::phase2OTClustersToSkip(), MeasurementTrackerEvent::phase2OTData(), LocalTrajectoryError::positionError(), specificGeomDet(), PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), UNLIKELY, LocalError::valid(), Phase2TrackerMonitorDigi_cff::ymax, Phase2TrackerMonitorDigi_cff::ymin, and LocalError::yy().

40  {
41 
42  if UNLIKELY( (!isActive(data)) || isEmpty(data.phase2OTData()) ) return false;
43 
44  auto oldSize = result.size();
45 
46 
47 
48  const detset & detSet = data.phase2OTData().detSet(index());
49  auto begin = &(data.phase2OTData().handle()->data().front());
50  auto reject = [&](auto ci)-> bool { return (!data.phase2OTClustersToSkip().empty()) && data.phase2OTClustersToSkip()[ci-begin];};
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 =
76  std::find_if(firstCluster, detSet.end(), [colMin](const Phase2TrackerCluster1D& hit) { return int(hit.column()) >= colMin; });
77  lastCluster =
78  std::find_if(firstCluster, detSet.end(), [colMax](const Phase2TrackerCluster1D& hit) { return int(hit.column()) > colMax; });
79  }
80 
81  while (firstCluster!=lastCluster) { // loop on each column
82  auto const col = firstCluster->column();
83  auto endCluster =
84  std::find_if(firstCluster, detSet.end(), [col](const Phase2TrackerCluster1D& hit) { return hit.column() != col; });
85  // find trajectory position in this column
86  auto rightCluster =
87  std::find_if(firstCluster, endCluster, [utraj](const Phase2TrackerCluster1D& hit) { return int(hit.firstStrip()) > utraj; });
88  // search for compatible clusters...
89  if ( rightCluster != firstCluster) {
90  // there are hits on the left of the utraj
91  auto leftCluster = rightCluster;
92  while ( --leftCluster >= firstCluster) {
93  if(reject(leftCluster)) continue;
94  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo( data.phase2OTData().handle(), leftCluster);
95  auto hit = buildRecHit( cluster, stateOnThisDet.localParameters() );
96  auto diffEst = est.estimate( stateOnThisDet, *hit);
97  if ( !diffEst.first ) break; // exit loop on first incompatible hit
98  result.push_back(hit);
99  diffs.push_back(diffEst.second);
100  }
101  }
102  for ( ; rightCluster != endCluster; rightCluster++) {
103  if(reject(rightCluster)) continue;
104  Phase2TrackerCluster1DRef cluster = detSet.makeRefTo( data.phase2OTData().handle(), rightCluster);
105  auto hit = buildRecHit( cluster, stateOnThisDet.localParameters() );
106  auto diffEst = est.estimate( stateOnThisDet, *hit);
107  if ( !diffEst.first ) break; // exit loop on first incompatible hit
108  result.push_back(hit);
109  diffs.push_back(diffEst.second);
110  }
111  firstCluster = endCluster;
112  } // loop over columns
113  return result.size()>oldSize;
114 }
size
Write out results.
const std::vector< bool > & phase2OTClustersToSkip() const
bool valid() const
Definition: LocalError.h:21
bool isEmpty(const Phase2OTMeasurementDetSet &data) const
const LocalTrajectoryParameters & localParameters() const
const Phase2OTMeasurementDetSet & phase2OTData() const
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
unsigned int firstStrip() const
const PixelGeomDetUnit & specificGeomDet() const
LocalError positionError() const
edmNew::DetSet< Phase2TrackerCluster1D > detset
return((rh^lh)&mask)
const GeomDet & fastGeomDet() const
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
float yy() const
Definition: LocalError.h:26
T sqrt(T t)
Definition: SSEVec.h:18
const edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > & handle() const
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
const LocalTrajectoryError & localError() const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
#define begin
Definition: vmac.h:32
col
Definition: cuy.py:1009
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters &ltp) const
#define UNLIKELY(x)
bool TkPhase2OTMeasurementDet::recHits ( SimpleHitContainer result,
const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator ,
const MeasurementTrackerEvent data 
) const
inlineoverridevirtual

Reimplemented from MeasurementDet.

Definition at line 45 of file TkPhase2OTMeasurementDet.h.

References MeasurementDet::measurements().

46  {
47  assert("not implemented for Pixel yet"==nullptr);
48  }
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 64 of file TkPhase2OTMeasurementDet.h.

64 { 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()
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 67 of file TkPhase2OTMeasurementDet.h.

References Phase2OTMeasurementDetSet::setActiveThisEvent().

67 { data.setActiveThisEvent(index(), active); }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
void setActiveThisEvent(bool active)
void TkPhase2OTMeasurementDet::setEmpty ( Phase2OTMeasurementDetSet data)
inline

Definition at line 33 of file TkPhase2OTMeasurementDet.h.

References Phase2OTMeasurementDetSet::setEmpty().

33 { data.setEmpty(index()); }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
void TkPhase2OTMeasurementDet::setIndex ( int  i)
inline

Definition at line 80 of file TkPhase2OTMeasurementDet.h.

References mps_fire::i.

const PixelGeomDetUnit& TkPhase2OTMeasurementDet::specificGeomDet ( ) const
inline

Definition at line 57 of file TkPhase2OTMeasurementDet.h.

References MeasurementDet::fastGeomDet().

Referenced by buildRecHit(), and recHits().

57 {return static_cast<PixelGeomDetUnit const &>(fastGeomDet());}
const GeomDet & fastGeomDet() const
void TkPhase2OTMeasurementDet::update ( Phase2OTMeasurementDetSet data,
const detset detSet 
)
inline

Definition at line 28 of file TkPhase2OTMeasurementDet.h.

References Phase2OTMeasurementDetSet::setActiveThisEvent(), and Phase2OTMeasurementDetSet::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().

28  {
29  data.update(index(), detSet);
30  data.setActiveThisEvent(index(), true);
31  }
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
void setActiveThisEvent(bool active)
void update(int i, const Phase2DetSet &detSet)

Member Data Documentation

unsigned int TkPhase2OTMeasurementDet::id_
private

Definition at line 83 of file TkPhase2OTMeasurementDet.h.

int TkPhase2OTMeasurementDet::index_
private

Definition at line 86 of file TkPhase2OTMeasurementDet.h.

Phase2OTMeasurementConditionSet* TkPhase2OTMeasurementDet::theDetConditions
private

Definition at line 87 of file TkPhase2OTMeasurementDet.h.