CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends
AlignPCLThreshold Class Reference

#include <AlignPCLThreshold.h>

Classes

struct  coordThresholds
 

Public Member Functions

 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 >())
 
unsigned int extraDOFSize () const
 
float getErrorThetaXcut () const
 
float getErrorThetaYcut () const
 
float getErrorThetaZcut () const
 
float getErrorXcut () const
 
float getErrorYcut () const
 
float getErrorZcut () const
 
std::array< float, 4 > getExtraDOFCuts (const unsigned int i) const
 
std::string getExtraDOFLabel (const unsigned int i) const
 
float getMaxMoveThetaXcut () const
 
float getMaxMoveThetaYcut () const
 
float getMaxMoveThetaZcut () const
 
float getMaxMoveXcut () const
 
float getMaxMoveYcut () const
 
float getMaxMoveZcut () const
 
float getSigThetaXcut () const
 
float getSigThetaYcut () const
 
float getSigThetaZcut () const
 
float getSigXcut () const
 
float getSigYcut () const
 
float getSigZcut () const
 
float getThetaXcut () const
 
float getThetaYcut () const
 
float getThetaZcut () const
 
float getXcut () const
 
float getYcut () const
 
float getZcut () const
 
bool hasExtraDOF () const
 
virtual ~AlignPCLThreshold ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< coordThresholdsm_extraDOF
 
coordThresholds m_thetaXCoord
 
coordThresholds m_thetaYCoord
 
coordThresholds m_thetaZCoord
 
coordThresholds m_xCoord
 
coordThresholds m_yCoord
 
coordThresholds m_zCoord
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 6 of file AlignPCLThreshold.h.

Constructor & Destructor Documentation

virtual AlignPCLThreshold::~AlignPCLThreshold ( )
inlinevirtual
AlignPCLThreshold::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 >() 
)

Definition at line 4 of file AlignPCLThreshold.cc.

References DOFs::extraDOF, m_extraDOF, m_thetaXCoord, m_thetaYCoord, m_thetaZCoord, m_xCoord, m_yCoord, m_zCoord, X, DOFs::Y, and DOFs::Z.

Referenced by ~AlignPCLThreshold().

11  {
12  m_xCoord = X;
13  m_yCoord = Y;
14  m_zCoord = Z;
15  m_thetaXCoord = tX;
16  m_thetaYCoord = tY;
17  m_thetaZCoord = tZ;
19 
20 };
coordThresholds m_thetaYCoord
coordThresholds m_thetaXCoord
#define X(str)
Definition: MuonsGrabber.cc:48
coordThresholds m_xCoord
coordThresholds m_thetaZCoord
coordThresholds m_zCoord
std::vector< coordThresholds > m_extraDOF
coordThresholds m_yCoord

Member Function Documentation

unsigned int AlignPCLThreshold::extraDOFSize ( ) const
inline

Definition at line 74 of file AlignPCLThreshold.h.

References getExtraDOFCuts(), getExtraDOFLabel(), mps_fire::i, m_extraDOF, and AlCaHLTBitMon_QueryRunRegistry::string.

74 {return m_extraDOF.size();}
std::vector< coordThresholds > m_extraDOF
float AlignPCLThreshold::getErrorThetaXcut ( ) const
inline
float AlignPCLThreshold::getErrorThetaYcut ( ) const
inline
float AlignPCLThreshold::getErrorThetaZcut ( ) const
inline
float AlignPCLThreshold::getErrorXcut ( ) const
inline
float AlignPCLThreshold::getErrorYcut ( ) const
inline
float AlignPCLThreshold::getErrorZcut ( ) const
inline
std::array< float, 4 > AlignPCLThreshold::getExtraDOFCuts ( const unsigned int  i) const

Definition at line 23 of file AlignPCLThreshold.cc.

References Exception, mps_fire::i, and m_extraDOF.

Referenced by extraDOFSize(), and AlignPCLThresholds::getExtraDOFCutsForAlignable().

23  {
24 
25  if(i<m_extraDOF.size()){
26  return {{m_extraDOF[i].m_Cut,m_extraDOF[i].m_sigCut,m_extraDOF[i].m_errorCut,m_extraDOF[i].m_maxMoveCut}};
27  } else {
28  throw cms::Exception("AlignPCLThreshold")<< "No extra DOF thresholds defined for index" << i << "\n";
29  }
30 }
std::vector< coordThresholds > m_extraDOF
std::string AlignPCLThreshold::getExtraDOFLabel ( const unsigned int  i) const

Definition at line 33 of file AlignPCLThreshold.cc.

References Exception, mps_fire::i, and m_extraDOF.

Referenced by extraDOFSize(), and AlignPCLThresholds::getExtraDOFLabelForAlignable().

33  {
34 
35  if(i<m_extraDOF.size()){
36  return m_extraDOF[i].m_label;
37  } else {
38  throw cms::Exception("AlignPCLThreshold")<< "No extra DOF label defined for index" << i << "\n";
39  }
40 }
std::vector< coordThresholds > m_extraDOF
float AlignPCLThreshold::getMaxMoveThetaXcut ( ) const
inline
float AlignPCLThreshold::getMaxMoveThetaYcut ( ) const
inline
float AlignPCLThreshold::getMaxMoveThetaZcut ( ) const
inline
float AlignPCLThreshold::getMaxMoveXcut ( ) const
inline
float AlignPCLThreshold::getMaxMoveYcut ( ) const
inline
float AlignPCLThreshold::getMaxMoveZcut ( ) const
inline
float AlignPCLThreshold::getSigThetaXcut ( ) const
inline
float AlignPCLThreshold::getSigThetaYcut ( ) const
inline
float AlignPCLThreshold::getSigThetaZcut ( ) const
inline
float AlignPCLThreshold::getSigXcut ( ) const
inline
float AlignPCLThreshold::getSigYcut ( ) const
inline
float AlignPCLThreshold::getSigZcut ( ) const
inline
float AlignPCLThreshold::getThetaXcut ( ) const
inline
float AlignPCLThreshold::getThetaYcut ( ) const
inline
float AlignPCLThreshold::getThetaZcut ( ) const
inline
float AlignPCLThreshold::getXcut ( ) const
inline
float AlignPCLThreshold::getYcut ( ) const
inline
float AlignPCLThreshold::getZcut ( ) const
inline
bool AlignPCLThreshold::hasExtraDOF ( ) const
inline

Definition at line 73 of file AlignPCLThreshold.h.

References m_extraDOF.

73 {return (!m_extraDOF.empty());}
std::vector< coordThresholds > m_extraDOF
template<class Archive >
void AlignPCLThreshold::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 88 of file AlignPCLThreshold.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 88 of file AlignPCLThreshold.h.

Member Data Documentation

std::vector< coordThresholds > AlignPCLThreshold::m_extraDOF
private
coordThresholds AlignPCLThreshold::m_thetaXCoord
private
coordThresholds AlignPCLThreshold::m_thetaYCoord
private
coordThresholds AlignPCLThreshold::m_thetaZCoord
private
coordThresholds AlignPCLThreshold::m_xCoord
private
coordThresholds AlignPCLThreshold::m_yCoord
private
coordThresholds AlignPCLThreshold::m_zCoord
private