24 cosmiclayers.
init(collstereo,collrphi,collmatched,iSetup);
28 LogDebug(
"CosmicSeedFinder") <<
"Initialized with " <<
HitPairs.
size() <<
" hit pairs" << std::endl;
32 conf_(conf),
region(conf.getParameter<double>(
"ptMin")
33 ,conf.getParameter<double>(
"originRadius")
34 ,conf.getParameter<double>(
"originHalfLength")
35 ,conf.getParameter<double>(
"originZPosition")
61 LogDebug(
"CosmicSeedFinder") <<
"inner point of the seed "<<inner <<
" outer point of the seed "<<
outer;
68 for (
int i=0;
i<2;
i++){
71 if((outer.y()-inner.
y())>0){
82 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerUpdated;
85 const TSOS outerState =
89 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
94 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
100 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
101 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
115 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS "<< innerState;
118 const TSOS outerState =
123 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
128 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
133 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
134 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
void rescaleError(double factor)
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const TransientTrackingRecHitBuilder * TTTRHBuilder
void seeds(TrajectorySeedCollection &output, const edm::EventSetup &c, const TrackingRegion ®ion)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
virtual unsigned int size() const
SeedGeneratorForCRack(const edm::ParameterSet &conf)
TrajectoryStateOnSurface TSOS
const Plane & surface() const
The nominal surface of the GeomDet.
void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &iSetup)
form base class
BaseTrackerRecHit const * ConstRecHitPointer
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const
std::vector< TrajectorySeed > TrajectorySeedCollection
PropagatorWithMaterial * thePropagatorAl
edm::ESHandle< MagneticField > magfield
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &iSetup)
Vector3DBase unit() const
float multipleScatteringFactor
PropagatorWithMaterial * thePropagatorOp
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)
GlobalTrackingRegion region
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
CosmicHitPairGenerator * thePairGenerator
T const * product() const
Global3DVector GlobalVector
const TrackerGeomDet * idToDet(DetId) const
edm::ESHandle< TrackerGeometry > tracker