Logo ROOT  
Reference Guide
runvector.cxx
Go to the documentation of this file.
1 #include "runvector.h"
2 
3 std::vector<int> global_vector;
4 double global_effect = 0.;
5 
6 static const int N = 100000000; // 10^8
7 
8 namespace {
9  struct Initializer {
10  Initializer() {
11  global_vector.reserve(N);
12  for (int i=0; i < N; ++i) global_vector.push_back(i);
13  }
14  } _init_global_vector;
15 }
runvector.h
N
static const int N
Definition: runvector.cxx:6
global_effect
double global_effect
Definition: runvector.cxx:4
global_vector
std::vector< int > global_vector
Definition: runvector.cxx:3