ATLAS Offline Software
Loading...
Searching...
No Matches
RandomRoISeedTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// (c) ATLAS Detector software
8// Class for Z-window RoI from random position (excluding the HS).
10
11#ifndef SiSpacePointsSeedTool_xk_RandomRoISeedTool_h
12#define SiSpacePointsSeedTool_xk_RandomRoISeedTool_h
13
16#include "GaudiKernel/EventContext.h"
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/EventContext.h"
21
22
23#include <vector>
24
25namespace CLHEP {
26 class RandGauss;
27}
28
29namespace InDet {
30
31 class RandomRoISeedTool final:
32 public extends<AthAlgTool, IZWindowRoISeedTool>
33 {
34
36 // Public methods:
38
39 public:
40
42 // Standard tool methods
44
45 RandomRoISeedTool(const std::string&,const std::string&,const IInterface*);
46 virtual ~RandomRoISeedTool() = default;
47 virtual StatusCode initialize() override;
48
50 virtual std::vector<ZWindow> getRoIs(const EventContext& ctx) const override;
51
52 protected:
53
58
60 // Protected data and methods
62
63 FloatProperty m_z0Window{this, "TrackZ0Window", 1.0, "width of z0 window"};
64 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey{this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"};
65 ServiceHandle<IAthRNGSvc> m_atRndmSvc{this, "RndmGenSvc", "AthRNGSvc", "multi-thread safe random number generator"};
66
67 std::string m_rndmEngineName{"SINGLE"};// name of random engine
68
69 }; // RandomRoISeedTool
70} //InDet namespace
71
72#endif // SiSpacePointsSeedMaker_RandomRoISeedTool
73
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
RandomRoISeedTool(const std::string &, const std::string &, const IInterface *)
ServiceHandle< IAthRNGSvc > m_atRndmSvc
virtual StatusCode initialize() override
virtual std::vector< ZWindow > getRoIs(const EventContext &ctx) const override
Compute RoI.
virtual ~RandomRoISeedTool()=default
RandomRoISeedTool(const RandomRoISeedTool &)=delete
RandomRoISeedTool & operator=(const RandomRoISeedTool &)=delete
Primary Vertex Finder.