Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TransientTrackingRecHit
src
TSiTrackerMultiRecHit.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TransientTrackingRecHit/interface/TSiTrackerMultiRecHit.h
"
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
15
TransientTrackingRecHit::RecHitPointer
TSiTrackerMultiRecHit::clone
(
const
TrajectoryStateOnSurface
& ts)
const
{
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
RecHitPointer
(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
*/
TSiTrackerMultiRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TSiTrackerMultiRecHit.cc:11
TSiTrackerMultiRecHit::clone
virtual TSiTrackerMultiRecHit * clone() const
Definition:
TSiTrackerMultiRecHit.h:87
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
TrackingRecHit::det
const GeomDet * det() const
Definition:
TrackingRecHit.h:122
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition:
TrackingRecHit.h:32
TSiTrackerMultiRecHit.h
GeomDetUnit
Definition:
GeomDetUnit.h:13
Generated for CMSSW Reference Manual by
1.8.5