Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v36r16 (ea80daf8)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HistoTimingAlg.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef HISTOGRAMS_HistoTimingAlg_H
12 #define HISTOGRAMS_HistoTimingAlg_H 1
13 
14 #include <map>
15 #include <sstream>
16 
17 // GaudiKernel
20 
21 // from Gaudi
22 #include "GaudiAlg/GaudiHistoAlg.h"
23 
32 class HistoTimingAlg : public GaudiHistoAlg {
33 
34 public:
36  using GaudiHistoAlg::GaudiHistoAlg;
37 
38  StatusCode initialize() override;
39  StatusCode execute() override;
40 
41 private:
43 
45 
47 
48  Gaudi::Property<bool> m_useGaudiAlg{ this, "UseLookup", false, "" };
49  Gaudi::Property<unsigned int> m_nHistos{ this, "NumHistos", 20, "" };
50  Gaudi::Property<unsigned int> m_nTracks{ this, "NumTracks", 30, "" };
51 };
52 
53 #endif // HISTOGRAMS_HistoTimingAlg_H
RndmGenerators.h
HistoTimingAlg::HistoMap
std::map< IHistogram1D *, std::string > HistoMap
Definition: HistoTimingAlg.h:44
IRndmGenSvc.h
HistoTimingAlg::m_nHistos
Gaudi::Property< unsigned int > m_nHistos
Definition: HistoTimingAlg.h:49
HistoTimingAlg::m_nTracks
Gaudi::Property< unsigned int > m_nTracks
Definition: HistoTimingAlg.h:50
GaudiHistoAlg.h
HistoTimingAlg::m_histos
HistoMap m_histos
Definition: HistoTimingAlg.h:46
HistoTimingAlg
Definition: HistoTimingAlg.h:32
StatusCode
Definition: StatusCode.h:65
Rndm::Numbers
Random number accessor This small class encapsulates the use of the random number generator.
Definition: RndmGenerators.h:359
std::map< IHistogram1D *, std::string >
HistoTimingAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition: HistoTimingAlg.cpp:31
GaudiHistoAlg
Definition: GaudiHistoAlg.h:47
HistoTimingAlg::m_useGaudiAlg
Gaudi::Property< bool > m_useGaudiAlg
Definition: HistoTimingAlg.h:48
HistoTimingAlg::execute
StatusCode execute() override
Algorithm execution.
Definition: HistoTimingAlg.cpp:55
Gaudi::Property< bool >
HistoTimingAlg::m_rand
Rndm::Numbers m_rand
Definition: HistoTimingAlg.h:42