ATLAS Offline Software
TBPreScalerStreamerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TBREC_TBPRESCALERSTREAMERTOOL_H
6 #define TBREC_TBPRESCALERSTREAMERTOOL_H
7 
8 #include "TBEventStreamerTool.h"
9 
10 // This is needed for migration to CLHEP 1.9
11 // (Forward declarations of CLHEP classes will give rise to an error...)
12 // instead of ...
13 //class RanluxEngine;
14  // use this:
15 #include "CLHEP/Random/RanluxEngine.h"
16 
17 #include <string>
18 #include <map>
19 #include <vector>
20 
22 {
23  public:
24 
25  TBPreScalerStreamerTool(const std::string& type,
26  const std::string& name,
27  const IInterface* parent);
28  virtual ~TBPreScalerStreamerTool();
29 
30  virtual StatusCode initializeTool() override;
31 
32  virtual StatusCode accept() override;
33 
34  protected:
35 
37  // Properties //
39 
41 
43  // Internal Stores //
45 
46  CLHEP::RanluxEngine* m_randomizer;
47 
49  // Internal Helpers //
51 
52 };
53 #endif
TBPreScalerStreamerTool::TBPreScalerStreamerTool
TBPreScalerStreamerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TBPreScalerStreamerTool.cxx:15
TBPreScalerStreamerTool::m_acceptFraction
double m_acceptFraction
Definition: TBPreScalerStreamerTool.h:40
TBPreScalerStreamerTool::~TBPreScalerStreamerTool
virtual ~TBPreScalerStreamerTool()
Definition: TBPreScalerStreamerTool.cxx:26
TBEventStreamerTool.h
TBPreScalerStreamerTool::initializeTool
virtual StatusCode initializeTool() override
Definition: TBPreScalerStreamerTool.cxx:29
TBPreScalerStreamerTool
Definition: TBPreScalerStreamerTool.h:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TBPreScalerStreamerTool::accept
virtual StatusCode accept() override
Definition: TBPreScalerStreamerTool.cxx:47
TBEventStreamerTool
Definition: TBEventStreamerTool.h:15
TBPreScalerStreamerTool::m_randomizer
CLHEP::RanluxEngine * m_randomizer
Definition: TBPreScalerStreamerTool.h:46
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78