CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TSiTrackerMultiRecHit.cc
Go to the documentation of this file.
2 
3 /*
4 TSiTrackerMultiRecHit::TSiTrackerMultiRecHit(const GeomDet * geom, const std::vector<const TrackingRecHit*>& rhs, const SiTrackerMultiRecHitUpdator* updator, const TrajectoryStateOnSurface& tsos):
5 TValidTrackingRecHit(geom), theUpdator(updator){
6  theHitData = theUpdator->buildMultiRecHit(tsos, rhs, theComponents);
7  setAnnealingFactor(theUpdator->getCurrentAnnealingValue());
8 }
9 */
10 
11 const GeomDetUnit* TSiTrackerMultiRecHit::detUnit() const{
12  return dynamic_cast<const GeomDetUnit*>(det());
13 }
14 
16 /*
17  std::vector<TransientTrackingRecHit::RecHitPointer> updatedcomponents = theComponents;
18  SiTrackerMultiRecHit better = theUpdator->update(ts,&theHitData, updatedcomponents);
19  RecHitPointer result = TSiTrackerMultiRecHit::build( det(), &better, theUpdator, updatedcomponents );
20  return result;
21 */
22  return this->clone();
23 }
24 
25 /*
26 
27 std::vector<const TrackingRecHit*> TSiTrackerMultiRecHit::recHits() const {
28  std::vector<const TrackingRecHit*> components;
29  std::vector<TransientTrackingRecHit::RecHitPointer>::const_iterator iter;
30  for (iter = theComponents.begin(); iter != theComponents.end(); iter++){
31  components.push_back(iter->get());
32  }
33  return components;
34 }
35 
36 */
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135