CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
StMeasurementDetSet Class Reference

#include <TkMeasurementDetSet.h>

Public Types

typedef std::vector
< SiStripCluster >
::const_iterator 
const_iterator
 
typedef edm::LazyGetter
< SiStripCluster
LazyGetter
 
typedef StripDetset::const_iterator new_const_iterator
 
typedef edm::RefGetter
< SiStripCluster
RefGetter
 
typedef edmNew::DetSet
< SiStripCluster
StripDetset
 

Public Member Functions

unsigned int beginClusterI (int i) const
 
const StMeasurementConditionSetconditions () const
 
void defineStrip (int i, std::pair< unsigned int, unsigned int > range)
 
const StripDetsetdetSet (int i) const
 
bool empty (int i) const
 
unsigned int endClusterI (int i) const
 
int find (unsigned int jd, int i=0) const
 
edm::Handle
< edmNew::DetSetVector
< SiStripCluster > > & 
handle ()
 
const edm::Handle
< edmNew::DetSetVector
< SiStripCluster > > & 
handle () const
 
unsigned int id (int i) const
 
bool isActive (int i) const
 
bool isRegional () const
 
int nDet () const
 
std::vector< uint32_t > & rawInactiveStripDetIds ()
 
const std::vector< uint32_t > & rawInactiveStripDetIds () const
 
const edm::RefGetter
< SiStripCluster > & 
refGetter () const
 
edm::Handle< edm::LazyGetter
< SiStripCluster > > & 
regionalHandle ()
 
const edm::Handle
< edm::LazyGetter
< SiStripCluster > > & 
regionalHandle () const
 
const std::pair< unsigned int,
unsigned int > & 
regionRange (int i) const
 
void resetOnDemandStrips ()
 
void setActiveThisEvent (int i, bool active)
 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 (int i)
 
void setEmpty ()
 
void setLazyGetter (edm::Handle< LazyGetter > const &lg)
 
void setRefGetter (const edm::RefGetter< SiStripCluster > &getter)
 
void setUpdated (int i)
 
int size () const
 
 StMeasurementDetSet (const StMeasurementConditionSet &cond)
 
const bool stripDefined (int i) const
 
const bool stripUpdated (int i) const
 
void update (int i, const StripDetset &detSet)
 
void update (int i, int j)
 
void update (int i, std::vector< SiStripCluster >::const_iterator begin, std::vector< SiStripCluster >::const_iterator end)
 
 ~StMeasurementDetSet ()
 

Private Member Functions

void getDetSet (int i)
 

Static Private Member Functions

static void incAct ()
 
static void incReady ()
 
static void incSet ()
 
static void incTot (int)
 
static void printStat ()
 
static void zeroStat ()
 

Private Attributes

std::vector< bool > activeThisEvent_
 
std::vector< unsigned int > clusterI_
 
const StMeasurementConditionSetconditionSet_
 
std::vector< int > detIndex_
 
std::vector< StripDetsetdetSet_
 
std::vector< bool > empty_
 
edm::Handle
< edmNew::DetSetVector
< SiStripCluster > > 
handle_
 
std::vector< bool > ready_
 
const edm::RefGetter
< SiStripCluster > * 
refGetter_
 
edm::Handle< edm::LazyGetter
< SiStripCluster > > 
regionalHandle_
 
std::vector< bool > stripDefined_
 
std::vector< std::pair
< unsigned int, unsigned int > > 
stripRegions_
 
std::vector< bool > stripUpdated_
 
std::vector< uint32_t > theRawInactiveStripDetIds_
 

Friends

class MeasurementTrackerImpl
 
class MeasurementTrackerSiStripRefGetterProducer
 

Detailed Description

Definition at line 142 of file TkMeasurementDetSet.h.

Member Typedef Documentation

Definition at line 148 of file TkMeasurementDetSet.h.

Definition at line 150 of file TkMeasurementDetSet.h.

Definition at line 146 of file TkMeasurementDetSet.h.

Definition at line 151 of file TkMeasurementDetSet.h.

Definition at line 145 of file TkMeasurementDetSet.h.

Constructor & Destructor Documentation

StMeasurementDetSet::StMeasurementDetSet ( const StMeasurementConditionSet cond)
inline

Definition at line 153 of file TkMeasurementDetSet.h.

153  :
154  conditionSet_(&cond),
155  empty_(cond.nDet(), true),
156  activeThisEvent_(cond.nDet(), true),
157  detSet_(!cond.isRegional() ? cond.nDet() : 0),
158  detIndex_(!cond.isRegional() ? cond.nDet() : 0,-1),
159  ready_(!cond.isRegional() ? cond.nDet() : 0,true),
160  clusterI_(cond.isRegional() ? 2*cond.nDet() : 0),
161  refGetter_(0),
163  stripDefined_(cond.isRegional() ? cond.nDet() : 0),
164  stripUpdated_(cond.isRegional() ? cond.nDet() : 0),
165  stripRegions_(cond.isRegional() ? cond.nDet() : 0)
166  {
167  }
std::vector< bool > stripDefined_
std::vector< bool > ready_
const StMeasurementConditionSet * conditionSet_
std::vector< unsigned int > clusterI_
std::vector< uint32_t > theRawInactiveStripDetIds_
std::vector< bool > empty_
std::vector< StripDetset > detSet_
std::vector< bool > activeThisEvent_
std::vector< std::pair< unsigned int, unsigned int > > stripRegions_
std::vector< int > detIndex_
const edm::RefGetter< SiStripCluster > * refGetter_
std::vector< bool > stripUpdated_
StMeasurementDetSet::~StMeasurementDetSet ( )
inline

Definition at line 169 of file TkMeasurementDetSet.h.

References printStat().

169  {
170  printStat();
171  }

Member Function Documentation

unsigned int StMeasurementDetSet::beginClusterI ( int  i) const
inline

Definition at line 232 of file TkMeasurementDetSet.h.

References clusterI_, and i.

Referenced by GCC11_FINAL< T, TOPO >::beginClusterI().

232 {return clusterI_[2*i];}
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned int > clusterI_
const StMeasurementConditionSet& StMeasurementDetSet::conditions ( ) const
inline

Definition at line 173 of file TkMeasurementDetSet.h.

References conditionSet_.

Referenced by find(), id(), isActive(), isRegional(), and size().

173 { return *conditionSet_; }
const StMeasurementConditionSet * conditionSet_
void StMeasurementDetSet::defineStrip ( int  i,
std::pair< unsigned int, unsigned int >  range 
)
inline

Definition at line 245 of file TkMeasurementDetSet.h.

References i, stripDefined_, stripRegions_, and stripUpdated_.

Referenced by OnDemandMeasurementTracker::define().

245  {
246  stripDefined_[i] = true;
247  stripUpdated_[i] = false;
248  stripRegions_[i] = range;
249  }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > stripDefined_
std::vector< std::pair< unsigned int, unsigned int > > stripRegions_
std::vector< bool > stripUpdated_
const StripDetset& StMeasurementDetSet::detSet ( int  i) const
inline

Definition at line 228 of file TkMeasurementDetSet.h.

References detSet_, getDetSet(), i, and ready_.

Referenced by GCC11_FINAL< T, TOPO >::detSet(), GCC11_FINAL< T, TOPO >::theSet(), and update().

228 { if (ready_[i]) const_cast<StMeasurementDetSet*>(this)->getDetSet(i); return detSet_[i]; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > ready_
std::vector< StripDetset > detSet_
bool StMeasurementDetSet::empty ( int  i) const
inline

Definition at line 206 of file TkMeasurementDetSet.h.

References empty_, and i.

Referenced by GCC11_FINAL< T, TOPO >::isEmpty().

206 { return empty_[i];}
int i
Definition: DBlmapReader.cc:9
std::vector< bool > empty_
unsigned int StMeasurementDetSet::endClusterI ( int  i) const
inline

Definition at line 233 of file TkMeasurementDetSet.h.

References clusterI_.

Referenced by GCC11_FINAL< T, TOPO >::endClusterI().

233 {return clusterI_[2*i+1];}
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned int > clusterI_
int StMeasurementDetSet::find ( unsigned int  jd,
int  i = 0 
) const
inline

Definition at line 202 of file TkMeasurementDetSet.h.

References conditions(), StMeasurementConditionSet::find(), and i.

Referenced by MeasurementTrackerEventProducer::updateStrips().

202  {
203  return conditions().find(jd,i);
204  }
int find(unsigned int jd, int i=0) const
int i
Definition: DBlmapReader.cc:9
const StMeasurementConditionSet & conditions() const
void StMeasurementDetSet::getDetSet ( int  i)
inlineprivate

Definition at line 255 of file TkMeasurementDetSet.h.

References detIndex_, detSet_, empty_, handle_, i, incAct(), incSet(), and ready_.

Referenced by detSet().

255  {
256  if(detIndex_[i]>=0) {
257  detSet_[i].set(*handle_,handle_->item(detIndex_[i]));
258  empty_[i]=false; // better be false already
259  incAct();
260  } else { // we should not be here
261  detSet_[i] = StripDetset();
262  empty_[i]=true;
263  }
264  ready_[i]=false;
265  incSet();
266  }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > ready_
edmNew::DetSet< SiStripCluster > StripDetset
std::vector< bool > empty_
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
std::vector< StripDetset > detSet_
std::vector< int > detIndex_
edm::Handle<edmNew::DetSetVector<SiStripCluster> >& StMeasurementDetSet::handle ( )
inline

Definition at line 225 of file TkMeasurementDetSet.h.

References handle_.

Referenced by MeasurementTrackerEvent::MeasurementTrackerEvent(), and MeasurementTrackerEventProducer::updateStrips().

225 { return handle_; }
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
const edm::Handle<edmNew::DetSetVector<SiStripCluster> >& StMeasurementDetSet::handle ( ) const
inline

Definition at line 226 of file TkMeasurementDetSet.h.

References handle_.

226 { return handle_; }
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
unsigned int StMeasurementDetSet::id ( int  i) const
inline

Definition at line 201 of file TkMeasurementDetSet.h.

References conditions(), and StMeasurementConditionSet::id().

Referenced by MeasurementTrackerEventProducer::updateStrips().

201 { return conditions().id(i); }
int i
Definition: DBlmapReader.cc:9
const StMeasurementConditionSet & conditions() const
unsigned int id(int i) const
static void StMeasurementDetSet::incAct ( )
inlinestaticprivate

Definition at line 324 of file TkMeasurementDetSet.h.

Referenced by getDetSet().

324 {}
static void StMeasurementDetSet::incReady ( )
inlinestaticprivate

Definition at line 322 of file TkMeasurementDetSet.h.

Referenced by update().

322 {}
static void StMeasurementDetSet::incSet ( )
inlinestaticprivate

Definition at line 323 of file TkMeasurementDetSet.h.

Referenced by getDetSet().

323 {}
static void StMeasurementDetSet::incTot ( int  )
inlinestaticprivate

Definition at line 321 of file TkMeasurementDetSet.h.

Referenced by setEmpty().

321 {}
bool StMeasurementDetSet::isActive ( int  i) const
inline

Definition at line 207 of file TkMeasurementDetSet.h.

References activeThisEvent_, conditions(), i, and StMeasurementConditionSet::isActiveThisPeriod().

Referenced by GCC11_FINAL< T, TOPO >::isActive(), and MeasurementTrackerEventProducer::updateStrips().

int i
Definition: DBlmapReader.cc:9
const StMeasurementConditionSet & conditions() const
bool isActiveThisPeriod(int i) const
std::vector< bool > activeThisEvent_
bool StMeasurementDetSet::isRegional ( ) const
inline
int StMeasurementDetSet::nDet ( ) const
inline

Definition at line 200 of file TkMeasurementDetSet.h.

References size().

200 { return size();}
static void StMeasurementDetSet::printStat ( )
inlinestaticprivate

Definition at line 325 of file TkMeasurementDetSet.h.

Referenced by setEmpty(), and ~StMeasurementDetSet().

325 {}
std::vector<uint32_t>& StMeasurementDetSet::rawInactiveStripDetIds ( )
inline
const std::vector<uint32_t>& StMeasurementDetSet::rawInactiveStripDetIds ( ) const
inline

Definition at line 240 of file TkMeasurementDetSet.h.

References theRawInactiveStripDetIds_.

240 { return theRawInactiveStripDetIds_; }
std::vector< uint32_t > theRawInactiveStripDetIds_
const edm::RefGetter<SiStripCluster>& StMeasurementDetSet::refGetter ( ) const
inline

Definition at line 235 of file TkMeasurementDetSet.h.

References refGetter_.

Referenced by OnDemandMeasurementTracker::assign().

235 { return *refGetter_; }
const edm::RefGetter< SiStripCluster > * refGetter_
edm::Handle<edm::LazyGetter<SiStripCluster> >& StMeasurementDetSet::regionalHandle ( )
inline

Definition at line 230 of file TkMeasurementDetSet.h.

References regionalHandle_.

Referenced by MeasurementTrackerEvent::MeasurementTrackerEvent(), and MeasurementTrackerEventProducer::updateStrips().

230 { return regionalHandle_; }
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
const edm::Handle<edm::LazyGetter<SiStripCluster> >& StMeasurementDetSet::regionalHandle ( ) const
inline

Definition at line 231 of file TkMeasurementDetSet.h.

References regionalHandle_.

231 { return regionalHandle_; }
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
const std::pair<unsigned int,unsigned int>& StMeasurementDetSet::regionRange ( int  i) const
inline

Definition at line 251 of file TkMeasurementDetSet.h.

References i, and stripRegions_.

Referenced by OnDemandMeasurementTracker::assign().

251 { return stripRegions_[i]; }
int i
Definition: DBlmapReader.cc:9
std::vector< std::pair< unsigned int, unsigned int > > stripRegions_
void StMeasurementDetSet::resetOnDemandStrips ( )
inline

Definition at line 242 of file TkMeasurementDetSet.h.

References lumiContext::fill, stripDefined_, and stripUpdated_.

Referenced by OnDemandMeasurementTracker::define().

242 { std::fill(stripDefined_.begin(), stripDefined_.end(), false); std::fill(stripUpdated_.begin(), stripUpdated_.end(), false); }
string fill
Definition: lumiContext.py:319
std::vector< bool > stripDefined_
std::vector< bool > stripUpdated_
void StMeasurementDetSet::setActiveThisEvent ( int  i,
bool  active 
)
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 223 of file TkMeasurementDetSet.h.

References activeThisEvent_, empty_, and i.

Referenced by GCC11_FINAL< T, TOPO >::setActiveThisEvent(), and MeasurementTrackerEventProducer::updateStrips().

223 { activeThisEvent_[i] = active; if (!active) empty_[i] = true; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > empty_
std::vector< bool > activeThisEvent_
void StMeasurementDetSet::setEmpty ( int  i)
inline

Definition at line 209 of file TkMeasurementDetSet.h.

References activeThisEvent_, empty_, and i.

Referenced by GCC11_FINAL< T, TOPO >::setEmpty(), and MeasurementTrackerEventProducer::updateStrips().

209 {empty_[i] = true; activeThisEvent_[i] = true; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > empty_
std::vector< bool > activeThisEvent_
void StMeasurementDetSet::setEmpty ( )
inline

Definition at line 212 of file TkMeasurementDetSet.h.

References activeThisEvent_, detIndex_, empty_, lumiContext::fill, incTot(), printStat(), ready_, and size().

212  {
213  printStat();
214  std::fill(empty_.begin(),empty_.end(),true);
215  std::fill(ready_.begin(),ready_.end(),true);
216  std::fill(detIndex_.begin(),detIndex_.end(),-1);
217  std::fill(activeThisEvent_.begin(), activeThisEvent_.end(),true);
218  incTot(size());
219  }
string fill
Definition: lumiContext.py:319
std::vector< bool > ready_
std::vector< bool > empty_
static void incTot(int)
std::vector< bool > activeThisEvent_
std::vector< int > detIndex_
void StMeasurementDetSet::setLazyGetter ( edm::Handle< LazyGetter > const &  lg)
inline

Definition at line 175 of file TkMeasurementDetSet.h.

References regionalHandle_.

175 { regionalHandle_=lg;}
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
void StMeasurementDetSet::setRefGetter ( const edm::RefGetter< SiStripCluster > &  getter)
inline

Definition at line 236 of file TkMeasurementDetSet.h.

References refGetter_.

236 { refGetter_ = &getter; }
const edm::RefGetter< SiStripCluster > * refGetter_
void StMeasurementDetSet::setUpdated ( int  i)
inline

Definition at line 210 of file TkMeasurementDetSet.h.

References i, and stripUpdated_.

Referenced by OnDemandMeasurementTracker::assign().

210 { stripUpdated_[i] = true; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > stripUpdated_
int StMeasurementDetSet::size ( void  ) const
inline

Definition at line 199 of file TkMeasurementDetSet.h.

References conditions(), and StMeasurementConditionSet::nDet().

Referenced by nDet(), setEmpty(), and MeasurementTrackerEventProducer::updateStrips().

199 { return conditions().nDet(); }
const StMeasurementConditionSet & conditions() const
const bool StMeasurementDetSet::stripDefined ( int  i) const
inline

Definition at line 243 of file TkMeasurementDetSet.h.

References i, and stripDefined_.

Referenced by OnDemandMeasurementTracker::idToDetBare().

243 { return stripDefined_[i]; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > stripDefined_
const bool StMeasurementDetSet::stripUpdated ( int  i) const
inline

Definition at line 244 of file TkMeasurementDetSet.h.

References i, and stripUpdated_.

Referenced by OnDemandMeasurementTracker::idToDetBare().

244 { return stripUpdated_[i]; }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > stripUpdated_
void StMeasurementDetSet::update ( int  i,
const StripDetset detSet 
)
inline

Definition at line 177 of file TkMeasurementDetSet.h.

References detSet(), detSet_, empty_, and i.

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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(), GCC11_FINAL< T, TOPO >::update(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and MeasurementTrackerEventProducer::updateStrips().

177  {
178  detSet_[i] = detSet;
179  empty_[i] = false;
180  }
int i
Definition: DBlmapReader.cc:9
const StripDetset & detSet(int i) const
std::vector< bool > empty_
std::vector< StripDetset > detSet_
void StMeasurementDetSet::update ( int  i,
int  j 
)
inline

Definition at line 182 of file TkMeasurementDetSet.h.

References detIndex_, empty_, i, incReady(), j, and ready_.

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().

182  {
183  assert(j>=0); assert(empty_[i]); assert(ready_[i]);
184  detIndex_[i] = j;
185  empty_[i] = false;
186  incReady();
187  }
int i
Definition: DBlmapReader.cc:9
std::vector< bool > ready_
int j
Definition: DBlmapReader.cc:9
std::vector< bool > empty_
std::vector< int > detIndex_
void StMeasurementDetSet::update ( int  i,
std::vector< SiStripCluster >::const_iterator  begin,
std::vector< SiStripCluster >::const_iterator  end 
)
inline

Definition at line 189 of file TkMeasurementDetSet.h.

References activeThisEvent_, clusterI_, empty_, i, and regionalHandle_.

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().

189  {
190  clusterI_[2*i] = begin - regionalHandle_->begin_record();
191  clusterI_[2*i+1] = end - regionalHandle_->begin_record();
192 
193  empty_[i] = false;
194  activeThisEvent_[i] = true;
195  }
int i
Definition: DBlmapReader.cc:9
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
std::vector< unsigned int > clusterI_
#define end
Definition: vmac.h:37
std::vector< bool > empty_
#define begin
Definition: vmac.h:30
std::vector< bool > activeThisEvent_
static void StMeasurementDetSet::zeroStat ( )
inlinestaticprivate

Definition at line 320 of file TkMeasurementDetSet.h.

320 {}

Friends And Related Function Documentation

friend class MeasurementTrackerImpl
friend

Definition at line 269 of file TkMeasurementDetSet.h.

Definition at line 270 of file TkMeasurementDetSet.h.

Member Data Documentation

std::vector<bool> StMeasurementDetSet::activeThisEvent_
private

Definition at line 278 of file TkMeasurementDetSet.h.

Referenced by isActive(), setActiveThisEvent(), setEmpty(), and update().

std::vector<unsigned int> StMeasurementDetSet::clusterI_
private

Definition at line 287 of file TkMeasurementDetSet.h.

Referenced by beginClusterI(), endClusterI(), and update().

const StMeasurementConditionSet* StMeasurementDetSet::conditionSet_
private

Definition at line 272 of file TkMeasurementDetSet.h.

Referenced by conditions().

std::vector<int> StMeasurementDetSet::detIndex_
private

Definition at line 282 of file TkMeasurementDetSet.h.

Referenced by getDetSet(), setEmpty(), and update().

std::vector<StripDetset> StMeasurementDetSet::detSet_
private

Definition at line 281 of file TkMeasurementDetSet.h.

Referenced by detSet(), getDetSet(), and update().

std::vector<bool> StMeasurementDetSet::empty_
private

Definition at line 277 of file TkMeasurementDetSet.h.

Referenced by empty(), getDetSet(), setActiveThisEvent(), setEmpty(), and update().

edm::Handle<edmNew::DetSetVector<SiStripCluster> > StMeasurementDetSet::handle_
private

Definition at line 274 of file TkMeasurementDetSet.h.

Referenced by getDetSet(), and handle().

std::vector<bool> StMeasurementDetSet::ready_
private

Definition at line 283 of file TkMeasurementDetSet.h.

Referenced by detSet(), getDetSet(), setEmpty(), and update().

const edm::RefGetter<SiStripCluster>* StMeasurementDetSet::refGetter_
private

Definition at line 290 of file TkMeasurementDetSet.h.

Referenced by refGetter(), and setRefGetter().

edm::Handle<edm::LazyGetter<SiStripCluster> > StMeasurementDetSet::regionalHandle_
private

Definition at line 275 of file TkMeasurementDetSet.h.

Referenced by regionalHandle(), setLazyGetter(), and update().

std::vector<bool> StMeasurementDetSet::stripDefined_
private

Definition at line 294 of file TkMeasurementDetSet.h.

Referenced by defineStrip(), resetOnDemandStrips(), and stripDefined().

std::vector<std::pair<unsigned int, unsigned int> > StMeasurementDetSet::stripRegions_
private

Definition at line 295 of file TkMeasurementDetSet.h.

Referenced by defineStrip(), and regionRange().

std::vector<bool> StMeasurementDetSet::stripUpdated_
private

Definition at line 294 of file TkMeasurementDetSet.h.

Referenced by defineStrip(), resetOnDemandStrips(), setUpdated(), and stripUpdated().

std::vector<uint32_t> StMeasurementDetSet::theRawInactiveStripDetIds_
private

Definition at line 292 of file TkMeasurementDetSet.h.

Referenced by rawInactiveStripDetIds().