1 #ifndef OMTF_GoldenPattern_H 2 #define OMTF_GoldenPattern_H 17 Key(
int iEta=99,
unsigned int iPt=0,
int iCharge= 0,
unsigned int iNumber=999):
60 void setMeanDistPhi(
const vector2D & aMeanDistPhi){ meanDistPhi = aMeanDistPhi; }
64 const vector3D &
getPdf()
const {
return pdfAllRef;}
66 void setPdf(
const vector3D & aPdf){ pdfAllRef = aPdf; }
68 int meanDistPhiValue(
unsigned int iLayer,
unsigned int iRefLayer)
const {
return meanDistPhi[iLayer][iRefLayer];}
70 int pdfValue(
unsigned int iLayer,
unsigned int iRefLayer,
unsigned int iBin)
const {
return pdfAllRef[iLayer][iRefLayer][iBin];}
82 void addCount(
unsigned int iRefLayer,
94 void normalise(
unsigned int nPdfAddrBits);
99 int propagateRefPhi(
int phiRef,
int etaRef,
unsigned int iRefLayer);
unsigned int number() const
Key(int iEta=99, unsigned int iPt=0, int iCharge=0, unsigned int iNumber=999)
vector2D meanDistPhiCounts
std::vector< int > vector1D
const vector2D & getMeanDistPhi() const
bool operator==(const Key &o) const
const OMTFConfiguration * myOmtfConfig
std::vector< vector1D > vector2D
std::vector< vector2D > vector3D
void setPdf(const vector3D &aPdf)
Key theKey
Pattern kinematical identification (iEta,iPt,iCharge)
std::pair< int, bool > layerResult
GoldenPattern(const Key &aKey, const OMTFConfiguration *omtfConfig)
int pdfValue(unsigned int iLayer, unsigned int iRefLayer, unsigned int iBin) const
void setMeanDistPhi(const vector2D &aMeanDistPhi)
friend std::ostream & operator<<(std::ostream &out, const Key &o)
int meanDistPhiValue(unsigned int iLayer, unsigned int iRefLayer) const
void reset(double vett[256])
bool operator<(const Key &o) const
const vector3D & getPdf() const