ATLAS Offline Software
Loading...
Searching...
No Matches
DESDM_EXOTHIP_SkimmingTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// DESDM_EXOTHIP_SkimmingTool.h, (c) ATLAS Detector software
8// Author: Priyanka Kumari (pkumari@cern.ch)
9// follows closely DerivationFrameworkExamples
10
11
12#ifndef DERIVATIONFRAMEWORK_DESDM_EXOTHIP_SkimmingTool_H
13#define DERIVATIONFRAMEWORK_DESDM_EXOTHIP_SkimmingTool_H
14
15#include <string>
16#include <vector>
17
19
20#include "GaudiKernel/ToolHandle.h"
21#include "Gaudi/Property.h"
22
24
26
28
29namespace DerivationFramework {
30
31 class DESDM_EXOTHIP_SkimmingTool : public extends<AthAlgTool, ISkimmingTool> {
32
33 public:
34 /* Constructor with parameter */
35 DESDM_EXOTHIP_SkimmingTool( const std::string& CPP_exothip, const std::string& skimtool, const IInterface* interface );
36
37 // Destructor
38 virtual ~DESDM_EXOTHIP_SkimmingTool() = default;
39
40 virtual StatusCode initialize() override;
41 virtual StatusCode finalize() override;
42
43 virtual bool eventPassesFilter() const override;
44
45 private:
46 std::string m_trnnoutContName;
47
48 ToolHandle<Trig::TrigDecisionTool> m_trigDec;
49 mutable std::atomic<unsigned int> m_ntot = 0;
50 mutable std::atomic<unsigned int> m_npass = 0;
51
53
54 };
55
56}
57
58#endif
Handle class for reading from StoreGate.
DESDM_EXOTHIP_SkimmingTool(const std::string &CPP_exothip, const std::string &skimtool, const IInterface *interface)
THE reconstruction tool.