31 const Eigen::Vector3d& delta_R)
32 : id_(id), R_(delta_R) {
39 const Eigen::Vector3d& r2 =
segments_.second->getPos();
42 if ((r2 - r1 -
R_).norm() > 1
e-8) {
54 table.
addCol<
double>(
"delta_Rx", HOFFSET(
data, RX));
55 table.
addCol<
double>(
"delta_Ry", HOFFSET(
data, RY));
56 table.
addCol<
double>(
"delta_Rz", HOFFSET(
data, RZ));
57 table.
addCol<std::string>(
"pair_type", HOFFSET(
data, pair_type));
59 table.
addCol<
double>(
"lambda0e", HOFFSET(
data, lambda0e));
60 table.
addCol<
double>(
"lambda0h", HOFFSET(
data, lambda0h));
61 table.
addCol<
double>(
"lambda0s", HOFFSET(
data, lambda0s));
62 table.
addCol<
double>(
"lambda0t", HOFFSET(
data, lambda0t));
64 table.
addCol<
double>(
"jeff2e", HOFFSET(
data, jeff2e));
65 table.
addCol<
double>(
"jeff2h", HOFFSET(
data, jeff2h));
66 table.
addCol<
double>(
"jeff2s", HOFFSET(
data, jeff2s));
67 table.
addCol<
double>(
"jeff2t", HOFFSET(
data, jeff2t));
78 d.
pair_type =
new char[ptype.length() + 1];
98 std::string type_enum = std::string(d.
pair_type);
const Eigen::Vector3d & getPos() const
void Translate(const Eigen::Vector3d &shift)
void addCol(const std::string &name, const size_t &offset)
static PairType get_Enum(std::string type)
static std::string get_name(PairType type)
QMPair(Index id, const Segment *seg1, const Segment *seg2, const Eigen::Vector3d &delta_R)
Segment Seg2PbCopy() const
std::pair< const Segment *, const Segment * > segments_
void WriteData(data &d) const
static void SetupCptTable(CptTable &table)
QMStateCarrierStorage< double > lambda0_
void ReadData(const data &d, const std::vector< Segment > &segments)
QMStateCarrierStorage< double > Jeff2_
T getValue(QMStateType t) const
void setValue(T value, QMStateType t)
base class for all analysis tools