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 =
87 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
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 =
120 tracker->idToDet((*(
HitPairs[is].outer())).geographicalId())->surface());
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)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
virtual FreeTrajectoryState propagate(const FreeTrajectoryState &ftsStart, const GlobalPoint &pDest) const final
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
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
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
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
CosmicHitPairGenerator * thePairGenerator
Global3DVector GlobalVector
edm::ESHandle< TrackerGeometry > tracker