|
|
Go to the documentation of this file.
34 std::stringstream&
ss) {
51 const float cotTheta)
const {
62 FastHelix helix(tth2->globalPosition(), tth1->globalPosition(), vertexPos, nomField, &*bfield, vertexPos);
63 kine = helix.stateAtVertex();
69 GlobalVector(kine.momentum().x(), kine.momentum().y(), kine.momentum().perp() * cotTheta),
71 &kine.magneticField());
81 (*pss) <<
"[SeedForPhotonConversion1Leg] initialKinematic tth1 ";
82 detid = tth1->geographicalId().rawId();
84 (*pss) <<
" \t " << detid <<
" " << tth1->localPosition() <<
" " << tth1->globalPosition();
85 detid = tth2->geographicalId().rawId();
86 (*pss) <<
" \n\t tth2 ";
88 (*pss) <<
" \t " << detid <<
" " << tth2->localPosition() <<
" " << tth2->globalPosition() <<
"\nhelix momentum "
92 bool isBOFF = (0 == nomField);
103 float sinTheta)
const {
113 float sin2th =
sqr(sinTheta);
116 float zErr = vertexErr.
czz();
117 float transverseErr = vertexErr.
cxx();
118 C[3][3] = transverseErr;
119 C[4][4] = zErr * sin2th + transverseErr * (1 - sin2th);
142 auto cloner = (*builder).cloner();
153 for (
unsigned int iHit = 0; iHit <
hits.size() && iHit < 1; iHit++) {
158 if (!
state.isValid())
163 std::unique_ptr<BaseTrackerRecHit> newtth(
refitHit(tth,
state, cloner));
174 uint32_t detid =
hit->geographicalId().rawId();
175 (*pss) <<
"\n[SeedForPhotonConversion1Leg] hit " << iHit;
177 (*pss) <<
" " << detid <<
"\t lp " <<
hit->localPosition() <<
" tth " << tth->localPosition() <<
" newtth "
178 << newtth->localPosition() <<
" state " <<
state.globalMomentum().perp();
T const * product() const
std::string thePropagatorLabel
GlobalTrajectoryParameters initialKinematic(const SeedingHitSet &hits, const GlobalPoint &vertexPos, const edm::EventSetup &es, const float cotTheta) const
std::vector< TrajectorySeed > TrajectorySeedCollection
void print(std::stringstream &ss, const SiStripCluster &clus)
GlobalPoint position() const
const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const GlobalPoint &vertex, const GlobalVector &vertexBounds, float ptmin, const edm::EventSetup &es, float cotTheta, std::stringstream &ss)
std::pair< ALIstring, ALIstring > pss
Geom::Theta< T > theta() const
SeedingHitSet::RecHitPointer refitHit(SeedingHitSet::ConstRecHitPointer hit, const TrajectoryStateOnSurface &state, const TkClonerImpl &cloner) const
BaseTrackerRecHit const * ConstRecHitPointer
TrackCharge charge() const
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const
Global3DVector GlobalVector
Sin< T >::type sin(const T &t)
Vector3DBase unit() const
int nominalValue() const
The nominal field value for this map in kGauss.
const TrajectorySeed * buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es) const
GlobalVector momentum() const
float transverseCurvature() const
const MagneticField & magneticField() const
CurvilinearTrajectoryError initialError(const GlobalVector &vertexBounds, float ptMin, float sinTheta) const
static const int cotTheta_Max
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55