|
|
#include <StripCPE.h>
|
LocalVector | driftDirection (const StripGeomDetUnit *det) const override |
|
AlgoParam | getAlgoParam (const GeomDetUnit &det, const LocalTrajectoryParameters <p) const |
|
virtual void | localParameters (AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters <p) const |
|
virtual LocalValues | localParameters (const SiStripCluster &, const GeomDetUnit &) const |
|
virtual StripClusterParameterEstimator::LocalValues | localParameters (const SiStripCluster &cl, AlgoParam const &ap) const |
|
StripClusterParameterEstimator::LocalValues | localParameters (const SiStripCluster &cl, const GeomDetUnit &) const override |
|
virtual LocalValues | localParameters (const SiStripCluster &cluster, const GeomDetUnit &gd, const LocalTrajectoryParameters &) const |
|
virtual LocalValues | localParameters (const SiStripCluster &cluster, const GeomDetUnit &gd, const TrajectoryStateOnSurface &tsos) const |
|
| StripCPE (edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiStripLorentzAngle &, const SiStripBackPlaneCorrection &, const SiStripConfObject &, const SiStripLatency &) |
|
virtual void | localParameters (AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters <p) const |
|
virtual LocalValues | localParameters (const SiStripCluster &cluster, const GeomDetUnit &gd, const LocalTrajectoryParameters &) const |
|
virtual LocalValues | localParameters (const SiStripCluster &cluster, const GeomDetUnit &gd, const TrajectoryStateOnSurface &tsos) const |
|
virtual VLocalValues | localParametersV (const SiStripCluster &cluster, const GeomDetUnit &gd) const |
|
virtual VLocalValues | localParametersV (const SiStripCluster &cluster, const GeomDetUnit &gd, const TrajectoryStateOnSurface &tsos) const |
|
virtual | ~StripClusterParameterEstimator () |
|
Definition at line 17 of file StripCPE.h.
◆ Params
◆ StripCPE()
Definition at line 11 of file StripCPE.cc.
23 typedef std::map<std::string, SiStripModuleGeometry> map_t;
41 static_cast<unsigned int>(max_element(
modules.begin(),
50 for (map_t::const_iterator it =
modules.begin(); it !=
modules.end(); it++) {
52 xtalk2S(
"xtalk2_" + it->first + modeS);
55 throw cms::Exception(
"SiStripConfObject does not contain: ") << xtalk1S;
57 throw cms::Exception(
"SiStripConfObject does not contain: ") << xtalk2S;
59 xtalk1[static_cast<int>(it->second)] = confObj.
get<
double>(xtalk1S);
60 xtalk2[static_cast<int>(it->second)] = confObj.
get<
double>(xtalk2S);
References fillParams(), SiStripConfObject::get(), IB1, IB2, SiStripConfObject::isParameter(), LogMessageMonitor_cff::modules, OB1, OB2, peakMode_, edm::second(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, W1A, W1B, W2A, W2B, W3A, W3B, W4, W5, W6, W7, xtalk1, and xtalk2.
◆ driftDirection()
Implements StripClusterParameterEstimator.
Definition at line 81 of file StripCPE.cc.
86 float dir_x = -tanLorentzAnglePerTesla * lbfield.
y();
87 float dir_y = tanLorentzAnglePerTesla * lbfield.
x();
References GeomDet::geographicalId(), SiStripLorentzAngle::getLorentzAngle(), MagneticField::inTesla(), LorentzAngleMap_, magfield_, GloballyPositioned< T >::position(), DetId::rawId(), GeomDet::surface(), toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by fillParams().
◆ fillParams()
void StripCPE::fillParams |
( |
| ) |
|
|
private |
Definition at line 93 of file StripCPE.cc.
96 for (
unsigned int i = 1;
i < 7; ++
i) {
109 LogDebug(
"LookingForFirstStrip") <<
" Chosen offset: " <<
m_off;
111 for (
auto i =
m_off;
i != dus.size(); ++
i) {
120 p.thickness = bounds.thickness();
121 p.invThickness = 1.f /
p.thickness;
124 p.nstrips =
p.topology->nstrips();
References TkRadialStripTopology::angularWidth(), cms::cuda::assert(), BackPlaneCorrectionMap_, Surface::bounds(), TrackerGeometry::detUnits(), driftDirection(), f, GeomDet::geographicalId(), geom_, SiStripBackPlaneCorrection::getBackPlaneCorrection(), mps_fire::i, GeomDet::index(), createfilelist::int, GeomDetType::isTrackerStrip(), TkRadialStripTopology::localPitch(), LogDebug, m_off, m_Params, TrackerGeometry::offsetDU(), AlCaHLTBitMon_ParallelJobs::p, funct::pow(), DetId::rawId(), GeomDet::specificSurface(), StripGeomDetType::specificTopology(), StripGeomDetUnit::specificType(), mathSSE::sqrt(), TkRadialStripTopology::stripLength(), GeomDetEnumerators::tkDetEnum, StripGeomDetUnit::topology(), and StripGeomDetUnit::type().
Referenced by StripCPE().
◆ getAlgoParam()
Definition at line 57 of file StripCPE.h.
64 const float fullProjection =
p.coveredStrips(
track +
p.drift, ltp.
position());
67 -0.5f * (1.f -
p.backplanecorrection) * fullProjection + 0.5
f *
p.coveredStrips(
track, ltp.
position());
69 return AlgoParam{
p, ltp, loc,
std::abs(fullProjection),
corr};
References funct::abs(), alignCSCRings::corr, LocalTrajectoryParameters::directionNotNormalized(), f, GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, param(), LocalTrajectoryParameters::position(), and HLT_2018_cff::track.
Referenced by StripCPEfromTrackAngle::localParameters(), TkStripMeasurementDet::recHits(), and TkStripMeasurementDet::simpleRecHits().
◆ localParameters() [1/6]
virtual void StripClusterParameterEstimator::localParameters |
|
inline |
◆ localParameters() [2/6]
virtual LocalValues StripClusterParameterEstimator::localParameters |
|
inline |
◆ localParameters() [3/6]
◆ localParameters() [4/6]
◆ localParameters() [5/6]
virtual LocalValues StripClusterParameterEstimator::localParameters |
|
inline |
◆ localParameters() [6/6]
virtual LocalValues StripClusterParameterEstimator::localParameters |
|
inline |
◆ param()
◆ BackPlaneCorrectionMap_
◆ geom_
◆ LorentzAngleMap_
◆ m_off
unsigned int StripCPE::m_off |
|
private |
◆ m_Params
◆ magfield_
◆ peakMode_
const bool StripCPE::peakMode_ |
|
protected |
◆ xtalk1
std::vector<float> StripCPE::xtalk1 |
|
protected |
◆ xtalk2
std::vector<float> StripCPE::xtalk2 |
|
protected |
std::vector< float > xtalk2
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
LocalVector driftDirection(const StripGeomDetUnit *det) const override
const Topology & topology() const override
Returns a reference to the strip proxy topology.
float localPitch(const LocalPoint &) const override
const GeomDetType & type() const override
U second(std::pair< T, U > const &p)
bool isParameter(const std::string &name) const
Param const & param(const GeomDetUnit &det) const
Point3DBase< Scalar, LocalTag > LocalPoint
float getBackPlaneCorrection(const uint32_t &) const
std::vector< float > xtalk1
const TrackerGeometry & geom_
const Plane & surface() const
The nominal surface of the GeomDet.
LocalPoint position() const
Local x and y position coordinates.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
constexpr SubDetector tkDetEnum[8]
const Bounds & bounds() const
const SiStripBackPlaneCorrection & BackPlaneCorrectionMap_
const SiStripLorentzAngle & LorentzAngleMap_
DetId geographicalId() const
The label of this GeomDet.
LocalVector directionNotNormalized() const
Momentum vector unit in the local frame.
Local3DVector LocalVector
const MagneticField & magfield_
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const override
bool isTrackerStrip() const
float getLorentzAngle(const uint32_t &) const
valueType get(const std::string &name) const
const PositionType & position() const
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
constexpr uint32_t rawId() const
get the raw id
virtual StripGeomDetType const & specificType() const
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
virtual const TopologyType & specificTopology() const
Power< A, B >::type pow(const A &a, const B &b)
Abs< T >::type abs(const T &t)
Detector identifier class for the strip tracker.
float stripLength() const override
float angularWidth() const override
unsigned int offsetDU(SubDetector sid) const