File indexing completed on 2024-04-06 12:02:28
0001
0002
0003 #ifndef CondFormats_PPSObjects_LHCOpticalFunctionsSet_h
0004 #define CondFormats_PPSObjects_LHCOpticalFunctionsSet_h
0005
0006 #include "CondFormats/Serialization/interface/Serializable.h"
0007
0008 #include <vector>
0009 #include <string>
0010 #include <memory>
0011
0012
0013 class LHCOpticalFunctionsSet {
0014 public:
0015
0016 enum { evx, eLx, e14, exd, evpx, eLpx, e24, expd, e32, evy, eLy, eyd, e42, evpy, eLpy, eypd, nFunctions };
0017
0018 LHCOpticalFunctionsSet() = default;
0019
0020
0021 LHCOpticalFunctionsSet(const std::string& fileName, const std::string& directoryName, double z);
0022
0023 ~LHCOpticalFunctionsSet() = default;
0024
0025
0026 double getScoringPlaneZ() const { return m_z; }
0027
0028 const std::vector<double>& getXiValues() const { return m_xi_values; }
0029 const std::vector<std::vector<double>>& getFcnValues() const { return m_fcn_values; }
0030
0031 protected:
0032
0033 double m_z;
0034
0035 std::vector<double> m_xi_values;
0036 std::vector<std::vector<double>> m_fcn_values;
0037
0038 COND_SERIALIZABLE;
0039 };
0040
0041 #endif