|
|
Go to the documentation of this file.
22 cosmiclayers.
init(collstereo, collrphi, collmatched, iSetup);
26 LogDebug(
"CosmicSeedFinder") <<
"Initialized with " <<
HitPairs.
size() <<
" hit pairs" << std::endl;
31 region(conf.getParameter<double>(
"ptMin"),
32 conf.getParameter<double>(
"originRadius"),
33 conf.getParameter<double>(
"originHalfLength"),
34 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++) {
70 int predsign = (2 *
i) - 1;
81 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerUpdated;
87 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
92 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
95 outerUpdated, (*(
HitPairs[is].
outer())).geographicalId().rawId());
99 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
101 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
112 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerState;
118 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
123 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
125 outerUpdated, (*(
HitPairs[is].
outer())).geographicalId().rawId());
129 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
131 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
const TrackerGeomDet * idToDet(DetId) const override
T const * product() const
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
std::vector< TrajectorySeed > TrajectorySeedCollection
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
BaseTrackerRecHit const * ConstRecHitPointer
PropagatorWithMaterial * thePropagatorAl
T getUntrackedParameter(std::string const &, T const &) const
Global3DVector GlobalVector
CosmicHitPairGenerator * thePairGenerator
Log< level::Warning, false > LogWarning
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)
edm::ESHandle< TrackerGeometry > tracker
const Plane & surface() const
The nominal surface of the GeomDet.
float multipleScatteringFactor
Vector3DBase unit() const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
SeedGeneratorForCRack(const edm::ParameterSet &conf)
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &iSetup)
edm::ESHandle< MagneticField > magfield
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
void rescaleError(double factor)
const TransientTrackingRecHitBuilder * TTTRHBuilder
T getParameter(std::string const &) const
unsigned int size() const override
GlobalTrackingRegion region
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &iSetup)
form base class
PropagatorWithMaterial * thePropagatorOp
TrajectoryStateOnSurface TSOS
void seeds(TrajectorySeedCollection &output, const edm::EventSetup &c, const TrackingRegion ®ion)