CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
testBug104262.cc File Reference
#include "CLHEP/Matrix/Vector.h"
#include <iostream>

Go to the source code of this file.

Functions

int main (int, char **)
 

Function Documentation

◆ main()

int main ( int  ,
char **   
)

Definition at line 8 of file testBug104262.cc.

8 {
9
10CLHEP::HepVector fXVector;
11fXVector = CLHEP::HepVector(32);
12std::cout << "fXVector, 1, 2 : " << fXVector(1) << ", " << fXVector(2) << std::endl;
13
14fXVector(1)=99;
15fXVector(31)=199;
16
17std::cout << "fXVector, 1, 31 : " << fXVector(1) << ", " << fXVector(31) << std::endl;
18
19return 0;
20}