EVector




A EVector is a class representing a vector of doubles of variable dimension. The “E” stands for “external” since a external library is used for that. The class HepVector of CLHEP has been chosen in this case (EVector is just a typedef of HepVector). The EVector can be built as follows:

// builds a vector v of dimension n (int)
EVector v(n);

// Build a vector v of dimension n and initialise all elements with the value ini (double)
EVector v(n, ini);


Refer to the HepVector page of the CLHEP web site to learn about the EVector functionality