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 7 of file AlignPCLThreshold.h.

Constructor & Destructor Documentation

◆ ~AlignPCLThreshold()

virtual AlignPCLThreshold::~AlignPCLThreshold ( )
inlinevirtual

Definition at line 36 of file AlignPCLThreshold.h.

36 {}

◆ AlignPCLThreshold()

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, BeamSpotPI::Y, and BeamSpotPI::Z.

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

Member Function Documentation

◆ extraDOFSize()

unsigned int AlignPCLThreshold::extraDOFSize ( ) const
inline

Definition at line 75 of file AlignPCLThreshold.h.

References m_extraDOF.

75 { return m_extraDOF.size(); }
std::vector< coordThresholds > m_extraDOF

◆ getErrorThetaXcut()

float AlignPCLThreshold::getErrorThetaXcut ( ) const
inline

◆ getErrorThetaYcut()

float AlignPCLThreshold::getErrorThetaYcut ( ) const
inline

◆ getErrorThetaZcut()

float AlignPCLThreshold::getErrorThetaZcut ( ) const
inline

◆ getErrorXcut()

float AlignPCLThreshold::getErrorXcut ( ) const
inline

◆ getErrorYcut()

float AlignPCLThreshold::getErrorYcut ( ) const
inline

◆ getErrorZcut()

float AlignPCLThreshold::getErrorZcut ( ) const
inline

◆ getExtraDOFCuts()

std::array< float, 4 > AlignPCLThreshold::getExtraDOFCuts ( const unsigned int  i) const

Definition at line 21 of file AlignPCLThreshold.cc.

References Exception, mps_fire::i, and m_extraDOF.

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

◆ getExtraDOFLabel()

std::string AlignPCLThreshold::getExtraDOFLabel ( const unsigned int  i) const

Definition at line 30 of file AlignPCLThreshold.cc.

References Exception, mps_fire::i, and m_extraDOF.

30  {
31  if (i < m_extraDOF.size()) {
32  return m_extraDOF[i].m_label;
33  } else {
34  throw cms::Exception("AlignPCLThreshold") << "No extra DOF label defined for index" << i << "\n";
35  }
36 }
std::vector< coordThresholds > m_extraDOF

◆ getMaxMoveThetaXcut()

float AlignPCLThreshold::getMaxMoveThetaXcut ( ) const
inline

◆ getMaxMoveThetaYcut()

float AlignPCLThreshold::getMaxMoveThetaYcut ( ) const
inline

◆ getMaxMoveThetaZcut()

float AlignPCLThreshold::getMaxMoveThetaZcut ( ) const
inline

◆ getMaxMoveXcut()

float AlignPCLThreshold::getMaxMoveXcut ( ) const
inline

◆ getMaxMoveYcut()

float AlignPCLThreshold::getMaxMoveYcut ( ) const
inline

◆ getMaxMoveZcut()

float AlignPCLThreshold::getMaxMoveZcut ( ) const
inline

◆ getSigThetaXcut()

float AlignPCLThreshold::getSigThetaXcut ( ) const
inline

◆ getSigThetaYcut()

float AlignPCLThreshold::getSigThetaYcut ( ) const
inline

◆ getSigThetaZcut()

float AlignPCLThreshold::getSigThetaZcut ( ) const
inline

◆ getSigXcut()

float AlignPCLThreshold::getSigXcut ( ) const
inline

◆ getSigYcut()

float AlignPCLThreshold::getSigYcut ( ) const
inline

◆ getSigZcut()

float AlignPCLThreshold::getSigZcut ( ) const
inline

◆ getThetaXcut()

float AlignPCLThreshold::getThetaXcut ( ) const
inline

◆ getThetaYcut()

float AlignPCLThreshold::getThetaYcut ( ) const
inline

◆ getThetaZcut()

float AlignPCLThreshold::getThetaZcut ( ) const
inline

◆ getXcut()

float AlignPCLThreshold::getXcut ( ) const
inline

◆ getYcut()

float AlignPCLThreshold::getYcut ( ) const
inline

◆ getZcut()

float AlignPCLThreshold::getZcut ( ) const
inline

◆ hasExtraDOF()

bool AlignPCLThreshold::hasExtraDOF ( ) const
inline

Definition at line 74 of file AlignPCLThreshold.h.

References m_extraDOF.

74 { return (!m_extraDOF.empty()); }
std::vector< coordThresholds > m_extraDOF

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 88 of file AlignPCLThreshold.h.

◆ cond::serialization::access

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

Definition at line 88 of file AlignPCLThreshold.h.

Member Data Documentation

◆ m_extraDOF

std::vector<coordThresholds> AlignPCLThreshold::m_extraDOF
private

◆ m_thetaXCoord

coordThresholds AlignPCLThreshold::m_thetaXCoord
private

◆ m_thetaYCoord

coordThresholds AlignPCLThreshold::m_thetaYCoord
private

◆ m_thetaZCoord

coordThresholds AlignPCLThreshold::m_thetaZCoord
private

◆ m_xCoord

coordThresholds AlignPCLThreshold::m_xCoord
private

◆ m_yCoord

coordThresholds AlignPCLThreshold::m_yCoord
private

◆ m_zCoord

coordThresholds AlignPCLThreshold::m_zCoord
private