ATLAS Offline Software
Loading...
Searching...
No Matches
TrackRecordFilter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MCTRUTHALGS_TRACKRECORDFILTER_H
6#define MCTRUTHALGS_TRACKRECORDFILTER_H
7
9
10
11// the TrackRecordCollection
13#include "CLHEP/Units/SystemOfUnits.h"
14
15#include <string>
16
18
19
20public:
21 TrackRecordFilter (const std::string& name, ISvcLocator* pSvcLocator);
22 virtual ~TrackRecordFilter(){};
23
24 StatusCode initialize() override;
25 StatusCode finalize() override;
26 StatusCode execute(const EventContext& ctx) const override;
27
28private:
29 SG::ReadHandleKey<TrackRecordCollection> m_inputKey{this, "inputName", "MuonEntryLayer"};
30 SG::WriteHandleKey<TrackRecordCollection> m_outputKey{this, "outputName", "MuonEntryLayerFilter"};
31 DoubleProperty m_cutOff{this, "threshold", 100.*CLHEP::MeV};
32};
33
34#endif
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackRecordFilter(const std::string &name, ISvcLocator *pSvcLocator)
DoubleProperty m_cutOff
SG::ReadHandleKey< TrackRecordCollection > m_inputKey
SG::WriteHandleKey< TrackRecordCollection > m_outputKey
StatusCode execute(const EventContext &ctx) const override
StatusCode initialize() override
StatusCode finalize() override