1 #ifndef GEMSegment_ME0SegFit_h
2 #define GEMSegment_ME0SegFit_h
31 #include <Math/Functions.h>
32 #include <Math/SVector.h>
33 #include <Math/SMatrix.h>
46 typedef ROOT::Math::SMatrix<double,12,12,ROOT::Math::MatRepSym<double,12> >
SMatrixSym12;
52 typedef ROOT::Math::SMatrix<double, 4 >
SMatrix4;
53 typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> >
SMatrixSym4;
56 typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> >
SMatrixSym2;
59 typedef ROOT::Math::SVector<double,4>
SVector4;
69 edm::LogVerbatim(
"ME0SegFit") <<
"[ME0SegFit::ctor] cached the me0etapartmap";
72 std::stringstream gemetapartmapss; gemetapartmapss<<
"[ME0SegFit::ctor] :: me0etapartmap :: elements ["<<std::endl;
75 gemetapartmapss<<
"[ME0 DetId "<<mapIt->first<<
" ="<<
ME0DetId(mapIt->first)<<
", ME0 EtaPart "<<mapIt->second<<
"],"<<std::endl;
77 gemetapartmapss<<
"]"<<std::endl;
78 std::string gemetapartmapstr = gemetapartmapss.str();
95 float xfit(
float z )
const;
96 float yfit(
float z )
const;
99 float xdev(
float x,
float z )
const;
100 float ydev (
float y,
float z )
const;
101 float Rdev(
float x,
float y,
float z )
const;
ROOT::Math::SVector< double, 4 > SVector4
float ydev(float y, float z) const
LocalPoint intercept() const
std::map< uint32_t, const ME0EtaPartition * > me0etapartmap_
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > SMatrixSym4
ROOT::Math::SMatrix< double, 4 > SMatrix4
ROOT::Math::SMatrix< double, 12, 12, ROOT::Math::MatRepSym< double, 12 > > SMatrixSym12
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > SMatrixSym2
float Rdev(float x, float y, float z) const
AlgebraicSymMatrix flipErrors(const SMatrixSym4 &)
const ME0EtaPartition * me0etapartition(uint32_t id) const
AlgebraicSymMatrix covarianceMatrix(void)
std::vector< const ME0RecHit * > ME0SetOfHits
const ME0EtaPartition * refme0etapart() const
ROOT::Math::SMatrix< double, 12, 4 > SMatrix12by4
SMatrix12by4 derivativeMatrix(void)
double scaleXError(void) const
void setScaleXError(double factor)
float xfit(float z) const
SMatrixSym12 weightMatrix(void)
LocalVector localdir() const
ME0SetOfHits hits(void) const
CLHEP::HepSymMatrix AlgebraicSymMatrix
ME0SegFit(std::map< uint32_t, const ME0EtaPartition * > me0etapartmap, ME0SetOfHits hits)
volatile std::atomic< bool > shutdown_flag false
float yfit(float z) const
float xdev(float x, float z) const