CMS 3D CMS Logo

LHCOpticalFunctionsSet.h
Go to the documentation of this file.
1 // Original Author: Jan Kašpar
2 
3 #ifndef CondFormats_CTPPSReadoutObjects_LHCOpticalFunctionsSet_h
4 #define CondFormats_CTPPSReadoutObjects_LHCOpticalFunctionsSet_h
5 
7 
8 #include <vector>
9 #include <string>
10 #include <memory>
11 
14 {
15  public:
17  enum { evx, eLx, e14, exd, evpx, eLpx, e24, expd, e32, evy, eLy, eyd, e42, evpy, eLpy, eypd, nFunctions };
18 
19  LHCOpticalFunctionsSet() = default;
20 
22  LHCOpticalFunctionsSet(const std::string &fileName, const std::string &directoryName, double z);
23 
24  ~LHCOpticalFunctionsSet() = default;
25 
27  double getScoringPlaneZ() const { return m_z; }
28 
29  const std::vector<double>& getXiValues() const { return m_xi_values; }
30  const std::vector<std::vector<double>>& getFcnValues() const { return m_fcn_values; }
31 
32  protected:
34  double m_z;
35 
36  std::vector<double> m_xi_values;
37  std::vector<std::vector<double>> m_fcn_values;
38 
40 };
41 
42 #endif
double getScoringPlaneZ() const
returns the position of the scoring plane (LHC/TOTEM convention)
const std::vector< double > & getXiValues() const
LHCOpticalFunctionsSet()=default
std::vector< double > m_xi_values
Set of optical functions corresponding to one scoring plane along LHC.
std::vector< std::vector< double > > m_fcn_values
length unit cm
#define COND_SERIALIZABLE
Definition: Serializable.h:38
~LHCOpticalFunctionsSet()=default
double m_z
position of the scoring plane, in LHC/TOTEM convention, cm
const std::vector< std::vector< double > > & getFcnValues() const