CMS 3D CMS Logo

CTPPSBeamParameters.h
Go to the documentation of this file.
1 #ifndef CondFormats_PPSObjects_CTPPSBeamParameters_h
2 #define CondFormats_PPSObjects_CTPPSBeamParameters_h
3 // -*- C++ -*-
4 //
5 // Package: PPSObjects
6 // Class: CTPPSBeamParameters
7 //
15 // Original Author: Wagner Carvalho
16 // Created: 20 Nov 2018
17 //
18 
21 
23 public:
24  // Constructor
26  // Destructor
28 
29  // Getters
30 
31  double getBeamMom45() const;
32  double getBeamMom56() const;
33 
34  double getBetaStarX45() const;
35  double getBetaStarY45() const;
36  double getBetaStarX56() const;
37  double getBetaStarY56() const;
38 
39  double getBeamDivergenceX45() const;
40  double getBeamDivergenceY45() const;
41  double getBeamDivergenceX56() const;
42  double getBeamDivergenceY56() const;
43 
44  double getHalfXangleX45() const;
45  double getHalfXangleY45() const;
46  double getHalfXangleX56() const;
47  double getHalfXangleY56() const;
48 
49  double getVtxOffsetX45() const;
50  double getVtxOffsetY45() const;
51  double getVtxOffsetZ45() const;
52  double getVtxOffsetX56() const;
53  double getVtxOffsetY56() const;
54  double getVtxOffsetZ56() const;
55 
56  double getVtxStddevX() const;
57  double getVtxStddevY() const;
58  double getVtxStddevZ() const;
59 
60  // Setters
61 
62  void setBeamMom45(double mom);
63  void setBeamMom56(double mom);
64 
65  void setBetaStarX45(double beta);
66  void setBetaStarY45(double beta);
67  void setBetaStarX56(double beta);
68  void setBetaStarY56(double beta);
69 
70  void setBeamDivergenceX45(double div);
71  void setBeamDivergenceY45(double div);
72  void setBeamDivergenceX56(double div);
73  void setBeamDivergenceY56(double div);
74 
75  void setHalfXangleX45(double angle);
76  void setHalfXangleY45(double angle);
77  void setHalfXangleX56(double angle);
78  void setHalfXangleY56(double angle);
79 
80  void setVtxOffsetX45(double offset);
81  void setVtxOffsetY45(double offset);
82  void setVtxOffsetZ45(double offset);
83  void setVtxOffsetX56(double offset);
84  void setVtxOffsetY56(double offset);
85  void setVtxOffsetZ56(double offset);
86 
87  void setVtxStddevX(double stddev);
88  void setVtxStddevY(double stddev);
89  void setVtxStddevZ(double stddev);
90 
91  void printInfo(std::stringstream &s);
92 
93 private:
94  // LHC sector 45 corresponds to beam 2, sector 56 to beam 1
95  double beam_momentum_45_; // GeV
96  double beam_momentum_56_; // GeV
97 
100 
103 
106 
107  // splitting between 45 and 56 may effectively account for magnet misalignment
111 
112  // the following variables might possibly be in another CMS record already,
113  // but we might want to keep them for completeness/independence
114  double vtx_stddev_x_; // cm
115  double vtx_stddev_y_; // cm
116  double vtx_stddev_z_; // cm
117 
119 };
120 
121 std::ostream &operator<<(std::ostream &, CTPPSBeamParameters);
122 
123 #endif
CTPPSBeamParameters
Definition: CTPPSBeamParameters.h:22
CTPPSBeamParameters::setHalfXangleX56
void setHalfXangleX56(double angle)
Definition: CTPPSBeamParameters.cc:98
CTPPSBeamParameters::beam_divergence_x_45_
double beam_divergence_x_45_
Definition: CTPPSBeamParameters.h:101
CTPPSBeamParameters::getVtxStddevY
double getVtxStddevY() const
Definition: CTPPSBeamParameters.cc:78
CTPPSBeamParameters::setVtxOffsetY56
void setVtxOffsetY56(double offset)
Definition: CTPPSBeamParameters.cc:105
CTPPSBeamParameters::half_crossing_angle_y_56_
double half_crossing_angle_y_56_
Definition: CTPPSBeamParameters.h:105
CTPPSBeamParameters::setVtxStddevX
void setVtxStddevX(double stddev)
Definition: CTPPSBeamParameters.cc:108
MessageLogger.h
CTPPSBeamParameters::setBetaStarX45
void setBetaStarX45(double beta)
Definition: CTPPSBeamParameters.cc:86
CTPPSBeamParameters::printInfo
void printInfo(std::stringstream &s)
Definition: CTPPSBeamParameters.cc:112
CTPPSBeamParameters::beam_divergence_y_45_
double beam_divergence_y_45_
Definition: CTPPSBeamParameters.h:102
CTPPSBeamParameters::getHalfXangleY45
double getHalfXangleY45() const
Definition: CTPPSBeamParameters.cc:66
CTPPSBeamParameters::vtx_stddev_z_
double vtx_stddev_z_
Definition: CTPPSBeamParameters.h:116
CTPPSBeamParameters::vtx_stddev_x_
double vtx_stddev_x_
Definition: CTPPSBeamParameters.h:114
zMuMuMuonUserData.beta
beta
Definition: zMuMuMuonUserData.py:10
CTPPSBeamParameters::vtx_stddev_y_
double vtx_stddev_y_
Definition: CTPPSBeamParameters.h:115
CTPPSBeamParameters::getHalfXangleX56
double getHalfXangleX56() const
Definition: CTPPSBeamParameters.cc:67
CTPPSBeamParameters::vtx_offset_y_45_
double vtx_offset_y_45_
Definition: CTPPSBeamParameters.h:109
CTPPSBeamParameters::setHalfXangleY56
void setHalfXangleY56(double angle)
Definition: CTPPSBeamParameters.cc:99
CTPPSBeamParameters::beam_momentum_56_
double beam_momentum_56_
Definition: CTPPSBeamParameters.h:96
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
CTPPSBeamParameters::getBeamMom56
double getBeamMom56() const
Definition: CTPPSBeamParameters.cc:53
CTPPSBeamParameters::beam_divergence_y_56_
double beam_divergence_y_56_
Definition: CTPPSBeamParameters.h:102
CTPPSBeamParameters::getBetaStarX56
double getBetaStarX56() const
Definition: CTPPSBeamParameters.cc:57
CTPPSBeamParameters::setVtxOffsetZ45
void setVtxOffsetZ45(double offset)
Definition: CTPPSBeamParameters.cc:103
CTPPSBeamParameters::getHalfXangleX45
double getHalfXangleX45() const
Definition: CTPPSBeamParameters.cc:65
CTPPSBeamParameters::setVtxOffsetY45
void setVtxOffsetY45(double offset)
Definition: CTPPSBeamParameters.cc:102
operator<<
std::ostream & operator<<(std::ostream &, CTPPSBeamParameters)
Definition: CTPPSBeamParameters.cc:139
CTPPSBeamParameters::setVtxStddevY
void setVtxStddevY(double stddev)
Definition: CTPPSBeamParameters.cc:109
CTPPSBeamParameters::~CTPPSBeamParameters
~CTPPSBeamParameters()
Definition: CTPPSBeamParameters.cc:48
CTPPSBeamParameters::getBetaStarY45
double getBetaStarY45() const
Definition: CTPPSBeamParameters.cc:56
CTPPSBeamParameters::getVtxOffsetX56
double getVtxOffsetX56() const
Definition: CTPPSBeamParameters.cc:73
CTPPSBeamParameters::CTPPSBeamParameters
CTPPSBeamParameters()
Definition: CTPPSBeamParameters.cc:22
CTPPSBeamParameters::getVtxOffsetZ56
double getVtxOffsetZ56() const
Definition: CTPPSBeamParameters.cc:75
CTPPSBeamParameters::setBeamDivergenceY56
void setBeamDivergenceY56(double div)
Definition: CTPPSBeamParameters.cc:94
CTPPSBeamParameters::getBeamDivergenceY45
double getBeamDivergenceY45() const
Definition: CTPPSBeamParameters.cc:61
CTPPSBeamParameters::setBeamMom56
void setBeamMom56(double mom)
Definition: CTPPSBeamParameters.cc:84
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CTPPSBeamParameters::getVtxOffsetZ45
double getVtxOffsetZ45() const
Definition: CTPPSBeamParameters.cc:72
CTPPSBeamParameters::getHalfXangleY56
double getHalfXangleY56() const
Definition: CTPPSBeamParameters.cc:68
CTPPSBeamParameters::getBeamDivergenceY56
double getBeamDivergenceY56() const
Definition: CTPPSBeamParameters.cc:63
CTPPSBeamParameters::beta_star_x_45_
double beta_star_x_45_
Definition: CTPPSBeamParameters.h:98
CTPPSBeamParameters::getBeamDivergenceX45
double getBeamDivergenceX45() const
Definition: CTPPSBeamParameters.cc:60
CTPPSBeamParameters::beta_star_y_56_
double beta_star_y_56_
Definition: CTPPSBeamParameters.h:99
CTPPSBeamParameters::vtx_offset_z_45_
double vtx_offset_z_45_
Definition: CTPPSBeamParameters.h:110
CTPPSBeamParameters::setBetaStarY56
void setBetaStarY56(double beta)
Definition: CTPPSBeamParameters.cc:89
CTPPSBeamParameters::setHalfXangleY45
void setHalfXangleY45(double angle)
Definition: CTPPSBeamParameters.cc:97
CTPPSBeamParameters::getVtxOffsetY56
double getVtxOffsetY56() const
Definition: CTPPSBeamParameters.cc:74
CTPPSBeamParameters::getBeamDivergenceX56
double getBeamDivergenceX56() const
Definition: CTPPSBeamParameters.cc:62
CTPPSBeamParameters::half_crossing_angle_x_45_
double half_crossing_angle_x_45_
Definition: CTPPSBeamParameters.h:104
CTPPSBeamParameters::getVtxOffsetY45
double getVtxOffsetY45() const
Definition: CTPPSBeamParameters.cc:71
CTPPSBeamParameters::vtx_offset_x_45_
double vtx_offset_x_45_
Definition: CTPPSBeamParameters.h:108
Serializable.h
CTPPSBeamParameters::half_crossing_angle_y_45_
double half_crossing_angle_y_45_
Definition: CTPPSBeamParameters.h:105
CTPPSBeamParameters::setBeamMom45
void setBeamMom45(double mom)
Definition: CTPPSBeamParameters.cc:83
CTPPSBeamParameters::getBeamMom45
double getBeamMom45() const
Definition: CTPPSBeamParameters.cc:52
CTPPSBeamParameters::setBeamDivergenceX56
void setBeamDivergenceX56(double div)
Definition: CTPPSBeamParameters.cc:93
CTPPSBeamParameters::getVtxOffsetX45
double getVtxOffsetX45() const
Definition: CTPPSBeamParameters.cc:70
CTPPSBeamParameters::vtx_offset_x_56_
double vtx_offset_x_56_
Definition: CTPPSBeamParameters.h:108
CTPPSBeamParameters::setVtxOffsetX56
void setVtxOffsetX56(double offset)
Definition: CTPPSBeamParameters.cc:104
CTPPSBeamParameters::getBetaStarY56
double getBetaStarY56() const
Definition: CTPPSBeamParameters.cc:58
CTPPSBeamParameters::setBeamDivergenceY45
void setBeamDivergenceY45(double div)
Definition: CTPPSBeamParameters.cc:92
CTPPSBeamParameters::half_crossing_angle_x_56_
double half_crossing_angle_x_56_
Definition: CTPPSBeamParameters.h:104
CTPPSBeamParameters::setVtxOffsetZ56
void setVtxOffsetZ56(double offset)
Definition: CTPPSBeamParameters.cc:106
CTPPSBeamParameters::beta_star_x_56_
double beta_star_x_56_
Definition: CTPPSBeamParameters.h:98
CTPPSBeamParameters::getVtxStddevZ
double getVtxStddevZ() const
Definition: CTPPSBeamParameters.cc:79
CTPPSBeamParameters::setVtxOffsetX45
void setVtxOffsetX45(double offset)
Definition: CTPPSBeamParameters.cc:101
CTPPSBeamParameters::vtx_offset_z_56_
double vtx_offset_z_56_
Definition: CTPPSBeamParameters.h:110
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
CTPPSBeamParameters::beta_star_y_45_
double beta_star_y_45_
Definition: CTPPSBeamParameters.h:99
CTPPSBeamParameters::beam_divergence_x_56_
double beam_divergence_x_56_
Definition: CTPPSBeamParameters.h:101
CTPPSBeamParameters::setBetaStarY45
void setBetaStarY45(double beta)
Definition: CTPPSBeamParameters.cc:87
CTPPSBeamParameters::getVtxStddevX
double getVtxStddevX() const
Definition: CTPPSBeamParameters.cc:77
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:78
CTPPSBeamParameters::beam_momentum_45_
double beam_momentum_45_
Definition: CTPPSBeamParameters.h:95
CTPPSBeamParameters::setHalfXangleX45
void setHalfXangleX45(double angle)
Definition: CTPPSBeamParameters.cc:96
CTPPSBeamParameters::setBeamDivergenceX45
void setBeamDivergenceX45(double div)
Definition: CTPPSBeamParameters.cc:91
CTPPSBeamParameters::setBetaStarX56
void setBetaStarX56(double beta)
Definition: CTPPSBeamParameters.cc:88
CTPPSBeamParameters::setVtxStddevZ
void setVtxStddevZ(double stddev)
Definition: CTPPSBeamParameters.cc:110
CTPPSBeamParameters::vtx_offset_y_56_
double vtx_offset_y_56_
Definition: CTPPSBeamParameters.h:109
CTPPSBeamParameters::getBetaStarX45
double getBetaStarX45() const
Definition: CTPPSBeamParameters.cc:55