CMS 3D CMS Logo

StripCPEfromTrackAngle.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
2 #define RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
3 
5 
7 private:
9 
10  //Error parameterization, low cluster width function
11  float mLC_P[3];
12  float mHC_P[4][2];
13 
14  //High cluster width is broken down by sub-det
15  std::map<SiStripDetId::SubDetector, float> mHC_P0;
16  std::map<SiStripDetId::SubDetector, float> mHC_P1;
17 
18  //Set to true if we are using the old error parameterization
19  const bool useLegacyError;
20 
21  //Clusters with charge/path > this cut will use old error parameterization
22  // (overridden by useLegacyError; negative value disables the cut)
23  const float maxChgOneMIP;
24 
25  enum class Algo { legacy, mergeCK, chargeCK };
26 
28 
29 public:
33 
35  ALocalValues& retValues,
36  const GeomDetUnit& gd,
37  const LocalTrajectoryParameters& ltp) const override;
38 
40  AlgoParam const& ap) const override;
41 
43  const GeomDetUnit&,
44  const LocalTrajectoryParameters&) const override;
45 
46  float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const;
47  float legacyStripErrorSquared(const unsigned N, const float uProj) const;
48 
50  const MagneticField& mag,
51  const TrackerGeometry& geom,
52  const SiStripLorentzAngle& lorentz,
53  const SiStripBackPlaneCorrection& backPlaneCorrection,
54  const SiStripConfObject& confObj,
55  const SiStripLatency& latency);
56 };
57 #endif
StripCPEfromTrackAngle::mLC_P
float mLC_P[3]
Definition: StripCPEfromTrackAngle.h:11
StripCPE
Definition: StripCPE.h:17
StripCPEfromTrackAngle::localParameters
void localParameters(AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters &ltp) const override
Definition: StripCPEfromTrackAngle.cc:53
GeomDet
Definition: GeomDet.h:27
config_102169_raw_cff.latency
latency
Definition: config_102169_raw_cff.py:29
StripCPEfromTrackAngle
Definition: StripCPEfromTrackAngle.h:6
StripCPE::AlgoParam
Definition: StripCPE.h:44
LocalTrajectoryParameters
Definition: LocalTrajectoryParameters.h:25
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
StripCPEfromTrackAngle::mHC_P1
std::map< SiStripDetId::SubDetector, float > mHC_P1
Definition: StripCPEfromTrackAngle.h:16
SiStripLorentzAngle
Definition: SiStripLorentzAngle.h:26
StripClusterParameterEstimator::AClusters
DynArray< SiStripCluster const * > AClusters
Definition: StripClusterParameterEstimator.h:29
DynArray
Definition: DynArray.h:5
StripCPEfromTrackAngle::maxChgOneMIP
const float maxChgOneMIP
Definition: StripCPEfromTrackAngle.h:23
N
#define N
Definition: blowfish.cc:9
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
Algo
Definition: fakeMenu.h:6
StripClusterParameterEstimator::ALocalValues
DynArray< LocalValues > ALocalValues
Definition: StripClusterParameterEstimator.h:28
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
StripCPEfromTrackAngle::Algo::mergeCK
edm::ParameterSet
Definition: ParameterSet.h:47
StripCPEfromTrackAngle::stripErrorSquared
float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const
Definition: StripCPEfromTrackAngle.cc:32
StripCPEfromTrackAngle::legacyStripErrorSquared
float legacyStripErrorSquared(const unsigned N, const float uProj) const
Definition: StripCPEfromTrackAngle.cc:40
StripCPEfromTrackAngle::m_algo
Algo m_algo
Definition: StripCPEfromTrackAngle.h:27
StripCPE::localParameters
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const override
Definition: StripCPE.cc:62
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition: Basic3DVectorLD.h:127
StripCPEfromTrackAngle::mHC_P0
std::map< SiStripDetId::SubDetector, float > mHC_P0
Definition: StripCPEfromTrackAngle.h:15
StripCPEfromTrackAngle::StripCPEfromTrackAngle
StripCPEfromTrackAngle(edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripBackPlaneCorrection &backPlaneCorrection, const SiStripConfObject &confObj, const SiStripLatency &latency)
Definition: StripCPEfromTrackAngle.cc:7
StripCPEfromTrackAngle::Algo::chargeCK
StripCPEfromTrackAngle::Algo::legacy
StripClusterParameterEstimator::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition: StripClusterParameterEstimator.h:27
StripCPEfromTrackAngle::mHC_P
float mHC_P[4][2]
Definition: StripCPEfromTrackAngle.h:12
StripCPE.h
SiStripSubdetector::Subdetector
Subdetector
Definition: SiStripEnums.h:5
SiStripLatency
Definition: SiStripLatency.h:59
MagneticField
Definition: MagneticField.h:19
SiStripCluster
Definition: SiStripCluster.h:9
SiStripBackPlaneCorrection
Definition: SiStripBackPlaneCorrection.h:27
TrackerGeometry
Definition: TrackerGeometry.h:14
StripCPEfromTrackAngle::useLegacyError
const bool useLegacyError
Definition: StripCPEfromTrackAngle.h:19
SiStripConfObject
Definition: SiStripConfObject.h:31