CMS 3D CMS Logo

AlignPCLThreshold.h
Go to the documentation of this file.
1 #ifndef CondFormats_PCLConfig_AlignPCLThreshold_h
2 #define CondFormats_PCLConfig_AlignPCLThreshold_h
3 
5 
7 {
8 public:
9 
12  m_Cut=5.;
13  m_sigCut=2.5;
14  m_errorCut=10.;
15  m_maxMoveCut=200;
16  m_label="default";
17  }
19  void setThresholds(float theCut,float theSigCut,float theErrorCut,float theMaxMoveCut,const std::string &theLabel){
20  m_Cut=theCut;
21  m_sigCut=theSigCut;
22  m_errorCut=theErrorCut;
23  m_maxMoveCut=theMaxMoveCut;
24  m_label=theLabel;
25  }
26 
27  float m_Cut;
28  float m_sigCut;
29  float m_errorCut;
30  float m_maxMoveCut;
32 
34 
35  };
36 
37  virtual ~AlignPCLThreshold(){}
38 
42  std::vector< coordThresholds > extraDOF=std::vector< coordThresholds >()
43  );
44 
45  float getXcut() const {return m_xCoord.m_Cut;}
46  float getYcut() const {return m_yCoord.m_Cut;}
47  float getZcut() const {return m_zCoord.m_Cut;}
48  float getThetaXcut() const {return m_thetaXCoord.m_Cut;}
49  float getThetaYcut() const {return m_thetaYCoord.m_Cut;}
50  float getThetaZcut() const {return m_thetaZCoord.m_Cut;}
51 
52  float getSigXcut() const {return m_xCoord.m_sigCut;}
53  float getSigYcut() const {return m_yCoord.m_sigCut;}
54  float getSigZcut() const {return m_zCoord.m_sigCut;}
55  float getSigThetaXcut() const {return m_thetaXCoord.m_sigCut;}
56  float getSigThetaYcut() const {return m_thetaYCoord.m_sigCut;}
57  float getSigThetaZcut() const {return m_thetaZCoord.m_sigCut;}
58 
59  float getErrorXcut() const {return m_xCoord.m_errorCut;}
60  float getErrorYcut() const {return m_yCoord.m_errorCut;}
61  float getErrorZcut() const {return m_zCoord.m_errorCut;}
62  float getErrorThetaXcut() const {return m_thetaXCoord.m_errorCut;}
63  float getErrorThetaYcut() const {return m_thetaYCoord.m_errorCut;}
64  float getErrorThetaZcut() const {return m_thetaZCoord.m_errorCut;}
65 
66  float getMaxMoveXcut() const {return m_xCoord.m_maxMoveCut;}
67  float getMaxMoveYcut() const {return m_yCoord.m_maxMoveCut;}
68  float getMaxMoveZcut() const {return m_zCoord.m_maxMoveCut;}
72 
73  bool hasExtraDOF() const {return (m_extraDOF.size()>0);}
74  unsigned int extraDOFSize() const {return m_extraDOF.size();}
75  std::array<float,4> getExtraDOFCuts(const unsigned int i) const;
76  std::string getExtraDOFLabel(const unsigned int i) const;
77 
78 private:
79 
86  std::vector< coordThresholds > m_extraDOF;
87 
89 
90 };
91 
92 #endif
float getErrorThetaZcut() const
float getMaxMoveThetaXcut() const
float getMaxMoveZcut() const
coordThresholds m_thetaYCoord
coordThresholds m_thetaXCoord
float getSigXcut() const
float getMaxMoveThetaZcut() const
std::array< float, 4 > getExtraDOFCuts(const unsigned int i) const
float getXcut() const
#define X(str)
Definition: MuonsGrabber.cc:48
float getSigThetaXcut() const
bool hasExtraDOF() const
float getMaxMoveYcut() const
float getErrorYcut() const
AlignPCLThreshold(coordThresholds X=coordThresholds(), coordThresholds tX=coordThresholds(), coordThresholds Y=coordThresholds(), coordThresholds tY=coordThresholds(), coordThresholds Z=coordThresholds(), coordThresholds tZ=coordThresholds(), std::vector< coordThresholds > extraDOF=std::vector< coordThresholds >())
virtual ~AlignPCLThreshold()
float getSigThetaYcut() const
unsigned int extraDOFSize() const
float getZcut() const
float getThetaXcut() const
float getThetaZcut() const
coordThresholds m_xCoord
float getErrorZcut() const
coordThresholds m_thetaZCoord
coordThresholds m_zCoord
float getSigYcut() const
std::vector< coordThresholds > m_extraDOF
float getYcut() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float getErrorThetaYcut() const
float getSigZcut() const
float getMaxMoveThetaYcut() const
float getErrorXcut() const
float getMaxMoveXcut() const
void setThresholds(float theCut, float theSigCut, float theErrorCut, float theMaxMoveCut, const std::string &theLabel)
float getErrorThetaXcut() const
float getThetaYcut() const
std::string getExtraDOFLabel(const unsigned int i) const
float getSigThetaZcut() const
coordThresholds m_yCoord