ATLAS Offline Software
CustomBenchmark.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 namespace PMonUtils {
8 
10  : m_nmax(nmax),
11  m_data(new Data[nmax]),
12  m_data_current(0)
13  {
14  Data * itE = &(m_data[m_nmax]);
15  for (Data * it = m_data; it!=itE; ++it)
16  it->init();
17  }
18 
20  {
21  delete[] m_data;
22  }
23 
24 }
PMonUtils::CustomBenchmark::~CustomBenchmark
~CustomBenchmark()
Definition: CustomBenchmark.cxx:19
PMonUtils::CustomBenchmark::CustomBenchmark
CustomBenchmark(unsigned nmax)
Definition: CustomBenchmark.cxx:9
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
PMonUtils::CustomBenchmark::m_nmax
const unsigned m_nmax
Definition: CustomBenchmark.h:54
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TruthTest.itE
itE
Definition: TruthTest.py:25
PMonUtils
Definition: SimKernel.h:33
CustomBenchmark.h
PMonUtils::CustomBenchmark::m_data
Data * m_data
Definition: CustomBenchmark.h:55
PMonUtils::CustomBenchmark::Data
Definition: CustomBenchmark.h:46
nmax
const int nmax(200)