CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
CTPPSBeamParameters Class Reference

#include <CondFormats/CTPPSRedoutObjects/src/CTPPSBeamParameters.cc>

Public Member Functions

 CTPPSBeamParameters ()
 
double getBeamDivergenceX45 () const
 
double getBeamDivergenceX56 () const
 
double getBeamDivergenceY45 () const
 
double getBeamDivergenceY56 () const
 
double getBeamMom45 () const
 
double getBeamMom56 () const
 
double getBetaStarX45 () const
 
double getBetaStarX56 () const
 
double getBetaStarY45 () const
 
double getBetaStarY56 () const
 
double getHalfXangleX45 () const
 
double getHalfXangleX56 () const
 
double getHalfXangleY45 () const
 
double getHalfXangleY56 () const
 
double getVtxOffsetT45 () const
 
double getVtxOffsetT56 () const
 
double getVtxOffsetX45 () const
 
double getVtxOffsetX56 () const
 
double getVtxOffsetY45 () const
 
double getVtxOffsetY56 () const
 
double getVtxOffsetZ45 () const
 
double getVtxOffsetZ56 () const
 
double getVtxStddevT () const
 
double getVtxStddevX () const
 
double getVtxStddevY () const
 
double getVtxStddevZ () const
 
void printInfo (std::stringstream &s)
 
void setBeamDivergenceX45 (double div)
 
void setBeamDivergenceX56 (double div)
 
void setBeamDivergenceY45 (double div)
 
void setBeamDivergenceY56 (double div)
 
void setBeamMom45 (double mom)
 
void setBeamMom56 (double mom)
 
void setBetaStarX45 (double beta)
 
void setBetaStarX56 (double beta)
 
void setBetaStarY45 (double beta)
 
void setBetaStarY56 (double beta)
 
void setHalfXangleX45 (double angle)
 
void setHalfXangleX56 (double angle)
 
void setHalfXangleY45 (double angle)
 
void setHalfXangleY56 (double angle)
 
void setVtxOffsetT45 (double offset)
 
void setVtxOffsetT56 (double offset)
 
void setVtxOffsetX45 (double offset)
 
void setVtxOffsetX56 (double offset)
 
void setVtxOffsetY45 (double offset)
 
void setVtxOffsetY56 (double offset)
 
void setVtxOffsetZ45 (double offset)
 
void setVtxOffsetZ56 (double offset)
 
void setVtxStddevT (double stddev)
 
void setVtxStddevX (double stddev)
 
void setVtxStddevY (double stddev)
 
void setVtxStddevZ (double stddev)
 
 ~CTPPSBeamParameters ()
 

Private Member Functions

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

Private Attributes

double beam_divergence_x_45_
 
double beam_divergence_x_56_
 
double beam_divergence_y_45_
 
double beam_divergence_y_56_
 
double beam_momentum_45_
 
double beam_momentum_56_
 
double beta_star_x_45_
 
double beta_star_x_56_
 
double beta_star_y_45_
 
double beta_star_y_56_
 
double half_crossing_angle_x_45_
 
double half_crossing_angle_x_56_
 
double half_crossing_angle_y_45_
 
double half_crossing_angle_y_56_
 
double vtx_offset_t_45_
 
double vtx_offset_t_56_
 
double vtx_offset_x_45_
 
double vtx_offset_x_56_
 
double vtx_offset_y_45_
 
double vtx_offset_y_56_
 
double vtx_offset_z_45_
 
double vtx_offset_z_56_
 
double vtx_stddev_t_
 
double vtx_stddev_x_
 
double vtx_stddev_y_
 
double vtx_stddev_z_
 

Friends

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

Detailed Description

Description: Beam parameters for proton reconstruction

Implementation: <Notes on="" implementation>="">

Definition at line 22 of file CTPPSBeamParameters.h.

Constructor & Destructor Documentation

CTPPSBeamParameters::CTPPSBeamParameters ( )

Definition at line 22 of file CTPPSBeamParameters.cc.

23  : beam_momentum_45_(0.),
25  beta_star_x_45_(0.),
26  beta_star_x_56_(0.),
27  beta_star_y_45_(0.),
28  beta_star_y_56_(0.),
37  vtx_offset_x_45_(0.),
38  vtx_offset_x_56_(0.),
39  vtx_offset_y_45_(0.),
40  vtx_offset_y_56_(0.),
41  vtx_offset_z_45_(0.),
42  vtx_offset_z_56_(0.),
43  vtx_offset_t_45_(0.),
44  vtx_offset_t_56_(0.),
45  vtx_stddev_x_(0.),
46  vtx_stddev_y_(0.),
47  vtx_stddev_z_(0.),
48  vtx_stddev_t_(0.) {}
CTPPSBeamParameters::~CTPPSBeamParameters ( )

Definition at line 51 of file CTPPSBeamParameters.cc.

51 {}

Member Function Documentation

double CTPPSBeamParameters::getBeamDivergenceX45 ( ) const

Definition at line 63 of file CTPPSBeamParameters.cc.

References beam_divergence_x_45_.

63 { return beam_divergence_x_45_; }
double CTPPSBeamParameters::getBeamDivergenceX56 ( ) const

Definition at line 65 of file CTPPSBeamParameters.cc.

References beam_divergence_x_56_.

65 { return beam_divergence_x_56_; }
double CTPPSBeamParameters::getBeamDivergenceY45 ( ) const

Definition at line 64 of file CTPPSBeamParameters.cc.

References beam_divergence_y_45_.

64 { return beam_divergence_y_45_; }
double CTPPSBeamParameters::getBeamDivergenceY56 ( ) const

Definition at line 66 of file CTPPSBeamParameters.cc.

References beam_divergence_y_56_.

66 { return beam_divergence_y_56_; }
double CTPPSBeamParameters::getBeamMom45 ( ) const
double CTPPSBeamParameters::getBeamMom56 ( ) const
double CTPPSBeamParameters::getBetaStarX45 ( ) const

Definition at line 58 of file CTPPSBeamParameters.cc.

References beta_star_x_45_.

58 { return beta_star_x_45_; }
double CTPPSBeamParameters::getBetaStarX56 ( ) const

Definition at line 60 of file CTPPSBeamParameters.cc.

References beta_star_x_56_.

60 { return beta_star_x_56_; }
double CTPPSBeamParameters::getBetaStarY45 ( ) const

Definition at line 59 of file CTPPSBeamParameters.cc.

References beta_star_y_45_.

59 { return beta_star_y_45_; }
double CTPPSBeamParameters::getBetaStarY56 ( ) const

Definition at line 61 of file CTPPSBeamParameters.cc.

References beta_star_y_56_.

61 { return beta_star_y_56_; }
double CTPPSBeamParameters::getHalfXangleX45 ( ) const
double CTPPSBeamParameters::getHalfXangleX56 ( ) const
double CTPPSBeamParameters::getHalfXangleY45 ( ) const

Definition at line 69 of file CTPPSBeamParameters.cc.

References half_crossing_angle_y_45_.

double CTPPSBeamParameters::getHalfXangleY56 ( ) const

Definition at line 71 of file CTPPSBeamParameters.cc.

References half_crossing_angle_y_56_.

double CTPPSBeamParameters::getVtxOffsetT45 ( ) const

Definition at line 76 of file CTPPSBeamParameters.cc.

References vtx_offset_t_45_.

76 { return vtx_offset_t_45_; }
double CTPPSBeamParameters::getVtxOffsetT56 ( ) const

Definition at line 80 of file CTPPSBeamParameters.cc.

References vtx_offset_t_56_.

80 { return vtx_offset_t_56_; }
double CTPPSBeamParameters::getVtxOffsetX45 ( ) const
double CTPPSBeamParameters::getVtxOffsetX56 ( ) const

Definition at line 77 of file CTPPSBeamParameters.cc.

References vtx_offset_x_56_.

77 { return vtx_offset_x_56_; }
double CTPPSBeamParameters::getVtxOffsetY45 ( ) const
double CTPPSBeamParameters::getVtxOffsetY56 ( ) const

Definition at line 78 of file CTPPSBeamParameters.cc.

References vtx_offset_y_56_.

78 { return vtx_offset_y_56_; }
double CTPPSBeamParameters::getVtxOffsetZ45 ( ) const
double CTPPSBeamParameters::getVtxOffsetZ56 ( ) const

Definition at line 79 of file CTPPSBeamParameters.cc.

References vtx_offset_z_56_.

79 { return vtx_offset_z_56_; }
double CTPPSBeamParameters::getVtxStddevT ( ) const

Definition at line 85 of file CTPPSBeamParameters.cc.

References vtx_stddev_t_.

85 { return vtx_stddev_t_; }
double CTPPSBeamParameters::getVtxStddevX ( ) const

Definition at line 82 of file CTPPSBeamParameters.cc.

References vtx_stddev_x_.

82 { return vtx_stddev_x_; }
double CTPPSBeamParameters::getVtxStddevY ( ) const

Definition at line 83 of file CTPPSBeamParameters.cc.

References vtx_stddev_y_.

83 { return vtx_stddev_y_; }
double CTPPSBeamParameters::getVtxStddevZ ( ) const

Definition at line 84 of file CTPPSBeamParameters.cc.

References vtx_stddev_z_.

84 { return vtx_stddev_z_; }
void CTPPSBeamParameters::printInfo ( std::stringstream &  s)

Definition at line 121 of file CTPPSBeamParameters.cc.

References beam_divergence_x_45_, beam_divergence_x_56_, beam_divergence_y_45_, beam_divergence_y_56_, beam_momentum_45_, beam_momentum_56_, beta_star_x_45_, beta_star_x_56_, beta_star_y_45_, beta_star_y_56_, half_crossing_angle_x_45_, half_crossing_angle_x_56_, half_crossing_angle_y_45_, half_crossing_angle_y_56_, vtx_offset_t_45_, vtx_offset_t_56_, vtx_offset_x_45_, vtx_offset_x_56_, vtx_offset_y_45_, vtx_offset_y_56_, vtx_offset_z_45_, vtx_offset_z_56_, vtx_stddev_t_, vtx_stddev_x_, vtx_stddev_y_, and vtx_stddev_z_.

Referenced by operator<<().

121  {
122  s << "\n Beam parameters : \n"
123  << "\n beam_momentum_45 = " << beam_momentum_45_ << " GeV"
124  << "\n beam_momentum_56 = " << beam_momentum_56_ << " GeV"
125  << "\n beta_star_x_45 = " << beta_star_x_45_ << " cm"
126  << "\n beta_star_y_45 = " << beta_star_y_45_ << " cm"
127  << "\n beta_star_x_56 = " << beta_star_x_56_ << " cm"
128  << "\n beta_star_y_56 = " << beta_star_y_56_ << " cm"
129  << "\n beam_divergence_x_45 = " << beam_divergence_x_45_ << " rad"
130  << "\n beam_divergence_y_45 = " << beam_divergence_y_45_ << " rad"
131  << "\n beam_divergence_x_56 = " << beam_divergence_x_56_ << " rad"
132  << "\n beam_divergence_y_56 = " << beam_divergence_y_56_ << " rad"
133  << "\n half_crossing_angle_x_45 = " << half_crossing_angle_x_45_ << " rad"
134  << "\n half_crossing_angle_y_45 = " << half_crossing_angle_y_45_ << " rad"
135  << "\n half_crossing_angle_x_56 = " << half_crossing_angle_x_56_ << " rad"
136  << "\n half_crossing_angle_y_56 = " << half_crossing_angle_y_56_ << " rad"
137  << "\n vtx_offset_x_45 = " << vtx_offset_x_45_ << " cm"
138  << "\n vtx_offset_y_45 = " << vtx_offset_y_45_ << " cm"
139  << "\n vtx_offset_z_45 = " << vtx_offset_z_45_ << " cm"
140  << "\n vtx_offset_t_45 = " << vtx_offset_t_45_ << " cm"
141  << "\n vtx_offset_x_56 = " << vtx_offset_x_56_ << " cm"
142  << "\n vtx_offset_y_56 = " << vtx_offset_y_56_ << " cm"
143  << "\n vtx_offset_z_56 = " << vtx_offset_z_56_ << " cm"
144  << "\n vtx_offset_t_56 = " << vtx_offset_t_56_ << " cm"
145  << "\n vtx_stddev_x = " << vtx_stddev_x_ << " cm"
146  << "\n vtx_stddev_y = " << vtx_stddev_y_ << " cm"
147  << "\n vtx_stddev_z = " << vtx_stddev_z_ << " cm"
148  << "\n vtx_stddev_t = " << vtx_stddev_t_ << " cm" << std::endl;
149 }
template<class Archive >
void CTPPSBeamParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void CTPPSBeamParameters::setBeamDivergenceX45 ( double  div)
void CTPPSBeamParameters::setBeamDivergenceX56 ( double  div)
void CTPPSBeamParameters::setBeamDivergenceY45 ( double  div)
void CTPPSBeamParameters::setBeamDivergenceY56 ( double  div)
void CTPPSBeamParameters::setBeamMom45 ( double  mom)

Definition at line 89 of file CTPPSBeamParameters.cc.

References beam_momentum_45_.

89 { beam_momentum_45_ = mom; }
void CTPPSBeamParameters::setBeamMom56 ( double  mom)

Definition at line 90 of file CTPPSBeamParameters.cc.

References beam_momentum_56_.

90 { beam_momentum_56_ = mom; }
void CTPPSBeamParameters::setBetaStarX45 ( double  beta)

Definition at line 92 of file CTPPSBeamParameters.cc.

References HLT_FULL_cff::beta, and beta_star_x_45_.

void CTPPSBeamParameters::setBetaStarX56 ( double  beta)

Definition at line 94 of file CTPPSBeamParameters.cc.

References HLT_FULL_cff::beta, and beta_star_x_56_.

void CTPPSBeamParameters::setBetaStarY45 ( double  beta)

Definition at line 93 of file CTPPSBeamParameters.cc.

References HLT_FULL_cff::beta, and beta_star_y_45_.

void CTPPSBeamParameters::setBetaStarY56 ( double  beta)

Definition at line 95 of file CTPPSBeamParameters.cc.

References HLT_FULL_cff::beta, and beta_star_y_56_.

void CTPPSBeamParameters::setHalfXangleX45 ( double  angle)

Definition at line 102 of file CTPPSBeamParameters.cc.

References angle(), and half_crossing_angle_x_45_.

T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
void CTPPSBeamParameters::setHalfXangleX56 ( double  angle)

Definition at line 104 of file CTPPSBeamParameters.cc.

References angle(), and half_crossing_angle_x_56_.

T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
void CTPPSBeamParameters::setHalfXangleY45 ( double  angle)

Definition at line 103 of file CTPPSBeamParameters.cc.

References angle(), and half_crossing_angle_y_45_.

T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
void CTPPSBeamParameters::setHalfXangleY56 ( double  angle)

Definition at line 105 of file CTPPSBeamParameters.cc.

References angle(), and half_crossing_angle_y_56_.

T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
void CTPPSBeamParameters::setVtxOffsetT45 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetT56 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetX45 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetX56 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetY45 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetY56 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetZ45 ( double  offset)
void CTPPSBeamParameters::setVtxOffsetZ56 ( double  offset)
void CTPPSBeamParameters::setVtxStddevT ( double  stddev)

Definition at line 119 of file CTPPSBeamParameters.cc.

References vtx_stddev_t_.

119 { vtx_stddev_t_ = stddev; }
void CTPPSBeamParameters::setVtxStddevX ( double  stddev)
void CTPPSBeamParameters::setVtxStddevY ( double  stddev)
void CTPPSBeamParameters::setVtxStddevZ ( double  stddev)

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 126 of file CTPPSBeamParameters.h.

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

Definition at line 126 of file CTPPSBeamParameters.h.

Member Data Documentation

double CTPPSBeamParameters::beam_divergence_x_45_
private

Definition at line 107 of file CTPPSBeamParameters.h.

Referenced by getBeamDivergenceX45(), printInfo(), and setBeamDivergenceX45().

double CTPPSBeamParameters::beam_divergence_x_56_
private

Definition at line 107 of file CTPPSBeamParameters.h.

Referenced by getBeamDivergenceX56(), printInfo(), and setBeamDivergenceX56().

double CTPPSBeamParameters::beam_divergence_y_45_
private

Definition at line 108 of file CTPPSBeamParameters.h.

Referenced by getBeamDivergenceY45(), printInfo(), and setBeamDivergenceY45().

double CTPPSBeamParameters::beam_divergence_y_56_
private

Definition at line 108 of file CTPPSBeamParameters.h.

Referenced by getBeamDivergenceY56(), printInfo(), and setBeamDivergenceY56().

double CTPPSBeamParameters::beam_momentum_45_
private

Definition at line 101 of file CTPPSBeamParameters.h.

Referenced by getBeamMom45(), printInfo(), and setBeamMom45().

double CTPPSBeamParameters::beam_momentum_56_
private

Definition at line 102 of file CTPPSBeamParameters.h.

Referenced by getBeamMom56(), printInfo(), and setBeamMom56().

double CTPPSBeamParameters::beta_star_x_45_
private

Definition at line 104 of file CTPPSBeamParameters.h.

Referenced by getBetaStarX45(), printInfo(), and setBetaStarX45().

double CTPPSBeamParameters::beta_star_x_56_
private

Definition at line 104 of file CTPPSBeamParameters.h.

Referenced by getBetaStarX56(), printInfo(), and setBetaStarX56().

double CTPPSBeamParameters::beta_star_y_45_
private

Definition at line 105 of file CTPPSBeamParameters.h.

Referenced by getBetaStarY45(), printInfo(), and setBetaStarY45().

double CTPPSBeamParameters::beta_star_y_56_
private

Definition at line 105 of file CTPPSBeamParameters.h.

Referenced by getBetaStarY56(), printInfo(), and setBetaStarY56().

double CTPPSBeamParameters::half_crossing_angle_x_45_
private

Definition at line 110 of file CTPPSBeamParameters.h.

Referenced by getHalfXangleX45(), printInfo(), and setHalfXangleX45().

double CTPPSBeamParameters::half_crossing_angle_x_56_
private

Definition at line 110 of file CTPPSBeamParameters.h.

Referenced by getHalfXangleX56(), printInfo(), and setHalfXangleX56().

double CTPPSBeamParameters::half_crossing_angle_y_45_
private

Definition at line 111 of file CTPPSBeamParameters.h.

Referenced by getHalfXangleY45(), printInfo(), and setHalfXangleY45().

double CTPPSBeamParameters::half_crossing_angle_y_56_
private

Definition at line 111 of file CTPPSBeamParameters.h.

Referenced by getHalfXangleY56(), printInfo(), and setHalfXangleY56().

double CTPPSBeamParameters::vtx_offset_t_45_
private

Definition at line 117 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetT45(), printInfo(), and setVtxOffsetT45().

double CTPPSBeamParameters::vtx_offset_t_56_
private

Definition at line 117 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetT56(), printInfo(), and setVtxOffsetT56().

double CTPPSBeamParameters::vtx_offset_x_45_
private

Definition at line 114 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetX45(), printInfo(), and setVtxOffsetX45().

double CTPPSBeamParameters::vtx_offset_x_56_
private

Definition at line 114 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetX56(), printInfo(), and setVtxOffsetX56().

double CTPPSBeamParameters::vtx_offset_y_45_
private

Definition at line 115 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetY45(), printInfo(), and setVtxOffsetY45().

double CTPPSBeamParameters::vtx_offset_y_56_
private

Definition at line 115 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetY56(), printInfo(), and setVtxOffsetY56().

double CTPPSBeamParameters::vtx_offset_z_45_
private

Definition at line 116 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetZ45(), printInfo(), and setVtxOffsetZ45().

double CTPPSBeamParameters::vtx_offset_z_56_
private

Definition at line 116 of file CTPPSBeamParameters.h.

Referenced by getVtxOffsetZ56(), printInfo(), and setVtxOffsetZ56().

double CTPPSBeamParameters::vtx_stddev_t_
private

Definition at line 124 of file CTPPSBeamParameters.h.

Referenced by getVtxStddevT(), printInfo(), and setVtxStddevT().

double CTPPSBeamParameters::vtx_stddev_x_
private

Definition at line 121 of file CTPPSBeamParameters.h.

Referenced by getVtxStddevX(), printInfo(), and setVtxStddevX().

double CTPPSBeamParameters::vtx_stddev_y_
private

Definition at line 122 of file CTPPSBeamParameters.h.

Referenced by getVtxStddevY(), printInfo(), and setVtxStddevY().

double CTPPSBeamParameters::vtx_stddev_z_
private

Definition at line 123 of file CTPPSBeamParameters.h.

Referenced by getVtxStddevZ(), printInfo(), and setVtxStddevZ().