4#include "KVQuadMoment.h"
52 for (
int i = 0; i < 3; ++i) {
53 for (
int j = 0; j < 3; ++j) {
84 for (
int i = 0; i < 3; i++)
for (
int j = 0; j < 3; j++)
matrix[i][j] = 0.;
98 for (
int i = 0; i < 3; i++) {
99 for (
int j = i; j < 3; j++) {
100 if (i == j)
matrix[i][j] += 3.*P(i) * P(j) - P2;
Description of properties and kinematics of atomic nuclei.
Quadrupole moment tensor of particle momenta.
KVQuadMoment()
Default constructor.
void Copy(TObject &obj) const
void init_KVQuadMoment(void)
virtual Double_t getvalue_int(Int_t i) const
virtual void fill(const KVNucleus *c)
Add the particle's contribution to the momentum tensor.
Base class for all global variable implementations.
void Copy(TObject &obj) const
void SetNameIndex(const Char_t *name, Int_t index)