CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LHCOpticalFunctionsSet.h
Go to the documentation of this file.
1 // Original Author: Jan Kašpar
2 
3 #ifndef CondFormats_PPSObjects_LHCOpticalFunctionsSet_h
4 #define CondFormats_PPSObjects_LHCOpticalFunctionsSet_h
5 
7 
8 #include <vector>
9 #include <string>
10 #include <memory>
11 
14 public:
16  enum { evx, eLx, e14, exd, evpx, eLpx, e24, expd, e32, evy, eLy, eyd, e42, evpy, eLpy, eypd, nFunctions };
17 
18  LHCOpticalFunctionsSet() = default;
19 
21  LHCOpticalFunctionsSet(const std::string& fileName, const std::string& directoryName, double z);
22 
23  ~LHCOpticalFunctionsSet() = default;
24 
26  double getScoringPlaneZ() const { return m_z; }
27 
28  const std::vector<double>& getXiValues() const { return m_xi_values; }
29  const std::vector<std::vector<double>>& getFcnValues() const { return m_fcn_values; }
30 
31 protected:
33  double m_z;
34 
35  std::vector<double> m_xi_values;
36  std::vector<std::vector<double>> m_fcn_values;
37 
39 };
40 
41 #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:39
~LHCOpticalFunctionsSet()=default
double m_z
position of the scoring plane, in LHC/TOTEM convention, cm
const std::vector< std::vector< double > > & getFcnValues() const