30 cosmiclayers.
init(collstereo,collrphi,collmatched,iSetup);
34 LogDebug(
"CosmicSeedFinder") <<
"Initialized with " <<
HitPairs.
size() <<
" hit pairs" << std::endl;
52 edm::LogInfo(
"SeedGeneratorForCRack")<<
" PtMin of track is "<<ptmin<<
53 " The Radius of the cylinder for seeds is "<<originradius <<
"cm" <<
" The set Seed Momentum" <<
seedpt;
72 LogDebug(
"CosmicSeedFinder") <<
"inner point of the seed "<<inner <<
" outer point of the seed "<<
outer;
79 for (
int i=0;
i<2;
i++){
82 if((outer.y()-inner.
y())>0){
93 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerUpdated;
96 const TSOS outerState =
98 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
100 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
105 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
112 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
113 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
127 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS "<< innerState;
130 const TSOS outerState =
132 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
135 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
140 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
146 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
147 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
void rescaleError(double factor)
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)
virtual unsigned int size() const
SeedGeneratorForCRack(const edm::ParameterSet &conf)
TrajectoryStateOnSurface TSOS
virtual void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &iSetup)
form base class
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
PropagatorWithMaterial * thePropagatorAl
edm::ESHandle< MagneticField > magfield
TrajectoryStateTransform transformer
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &iSetup)
virtual TrajectoryStateOnSurface propagate(const TrajectoryStateOnSurface &tsos, const Plane &plane) const
Vector3DBase unit() const
float multipleScatteringFactor
PropagatorWithMaterial * thePropagatorOp
T const * product() const
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)
GlobalTrackingRegion region
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
CLHEP::HepSymMatrix AlgebraicSymMatrix
CosmicHitPairGenerator * thePairGenerator
Global3DVector GlobalVector
edm::ESHandle< TrackerGeometry > tracker