24 cosmiclayers.
init(collstereo,collrphi,collmatched,iSetup);
28 LogDebug(
"CosmicSeedFinder") <<
"Initialized with " <<
HitPairs.
size() <<
" hit pairs" << std::endl;
46 edm::LogInfo(
"SeedGeneratorForCRack")<<
" PtMin of track is "<<ptmin<<
47 " The Radius of the cylinder for seeds is "<<originradius <<
"cm" <<
" The set Seed Momentum" <<
seedpt;
66 LogDebug(
"CosmicSeedFinder") <<
"inner point of the seed "<<inner <<
" outer point of the seed "<<
outer;
73 for (
int i=0;
i<2;
i++){
76 if((outer.y()-inner.
y())>0){
87 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerUpdated;
90 const TSOS outerState =
92 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
94 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
99 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
105 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
106 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
120 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS "<< innerState;
123 const TSOS outerState =
125 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
128 LogDebug(
"CosmicSeedFinder") <<
"outerState "<<outerState;
133 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated "<<outerUpdated;
138 }
else edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
139 }
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)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
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
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
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
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)
CosmicHitPairGenerator * thePairGenerator
Global3DVector GlobalVector
edm::ESHandle< TrackerGeometry > tracker