26 LogDebug(
"CosmicSeedFinder") <<
"Initialized with " <<
HitPairs.
size() <<
" hit pairs" << std::endl;
35 region(conf.getParameter<double>(
"ptMin"),
36 conf.getParameter<double>(
"originRadius"),
37 conf.getParameter<double>(
"originHalfLength"),
38 conf.getParameter<double>(
"originZPosition")) {
64 LogDebug(
"CosmicSeedFinder") <<
"inner point of the seed " <<
inner <<
" outer point of the seed " <<
outer;
71 for (
int i = 0;
i < 2;
i++) {
73 int predsign = (2 *
i) - 1;
84 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerUpdated;
90 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
95 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
102 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
104 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
115 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << innerState;
121 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
126 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
132 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
134 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTTRHToken
void rescaleError(double factor)
T getParameter(std::string const &) const
const TransientTrackingRecHitBuilder * TTTRHBuilder
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void seeds(TrajectorySeedCollection &output, const edm::EventSetup &c, const TrackingRegion ®ion)
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTTopoToken
TrajectoryStateOnSurface TSOS
T getUntrackedParameter(std::string const &, T const &) const
BaseTrackerRecHit const * ConstRecHitPointer
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
std::vector< TrajectorySeed > TrajectorySeedCollection
PropagatorWithMaterial * thePropagatorAl
edm::ESHandle< MagneticField > magfield
SeedGeneratorForCRack(const edm::ParameterSet &conf, edm::ConsumesCollector)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const TrackerGeomDet * idToDet(DetId) const override
unsigned int size() const override
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theMagfieldToken
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
float multipleScatteringFactor
const Plane & surface() const
The nominal surface of the GeomDet.
PropagatorWithMaterial * thePropagatorOp
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerToken
const edm::ESGetToken< GeometricSearchTracker, TrackerRecoGeometryRecord > theSearchTrackerToken
GlobalTrackingRegion region
void hitPairs(const TrackingRegion ®, OrderedHitPairs &pr)
form base class
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
CosmicHitPairGenerator * thePairGenerator
Vector3DBase unit() const
Log< level::Warning, false > LogWarning
Global3DVector GlobalVector
edm::ESHandle< TrackerGeometry > tracker