ROOT  6.06/09
Reference Guide
Macros | Typedefs | Functions | Variables
vectorOperation.cxx File Reference
#include <cassert>
#include "TRandom2.h"
#include "TStopwatch.h"
#include <vector>
#include <iostream>
#include <iomanip>
#include "Math/Vector4D.h"
#include "Math/VectorUtil.h"
+ Include dependency graph for vectorOperation.cxx:

Go to the source code of this file.

Macros

#define ZERO   0
 
#define VSUM(v)   v.x() + v.y() + v.z()
 
#define VLISTSIZE   100
 

Typedefs

typedef double Double_type
 
typedef ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< Double_type > > VecType
 

Functions

template<class Vector , class Vector_V , int Size>
void MakeVcVector (const Vector *vlist, Vector_V &vret)
 
int main ()
 

Variables

const int N = VLISTSIZE
 
const int NLOOP = 5000000
 
const int NOP = NLOOP*VLISTSIZE
 
const double TSCALE = 1.E9/double(NOP)
 

Macro Definition Documentation

#define VLISTSIZE   100

Definition at line 95 of file vectorOperation.cxx.

#define VSUM (   v)    v.x() + v.y() + v.z()

Definition at line 85 of file vectorOperation.cxx.

#define ZERO   0

Definition at line 19 of file vectorOperation.cxx.

Typedef Documentation

Definition at line 18 of file vectorOperation.cxx.

Definition at line 76 of file vectorOperation.cxx.

Function Documentation

int main ( )

Definition at line 864 of file vectorOperation.cxx.

template<class Vector , class Vector_V , int Size>
void MakeVcVector ( const Vector *  vlist,
Vector_V &  vret 
)

Definition at line 152 of file vectorOperation.cxx.

Variable Documentation

const int N = VLISTSIZE

Definition at line 100 of file vectorOperation.cxx.

const int NLOOP = 5000000

Definition at line 103 of file vectorOperation.cxx.

const int NOP = NLOOP*VLISTSIZE

Definition at line 106 of file vectorOperation.cxx.

const double TSCALE = 1.E9/double(NOP)

Definition at line 107 of file vectorOperation.cxx.