ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellRandomizer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOCELLCORRECTION_CALOCELLRANDOMIZER_H
6#define CALOCELLCORRECTION_CALOCELLRANDOMIZER_H
7
9
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
15
16//class CaloCell;
17
19
20{
21
22public:
23
24 CaloCellRandomizer(const std::string& type,
25 const std::string& name,
26 const IInterface* parent);
27
28 virtual ~CaloCellRandomizer() {};
29
30 virtual StatusCode initialize() override;
31
32 virtual void MakeCorrection (CaloCell* theCell,
33 const EventContext& ctx) const override;
34
35
36private:
37
38
40 "electronicNoise",
41 "CaloNoise object to read."};
42
57
59 std::string m_randomStream;
61};
62
63#endif
A wrapper class for event-slot-local random engines.
Definition RNGWrapper.h:56
ServiceHandle< IAthRNGSvc > m_athRNGSvc
virtual void MakeCorrection(CaloCell *theCell, const EventContext &ctx) const override
virtual StatusCode initialize() override
ATHRNG::RNGWrapper * m_randomEngine
CaloCellRandomizer(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadCondHandleKey< CaloNoise > m_caloNoiseKey
Data object for each calorimeter readout cell.
Definition CaloCell.h:57