ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCountHypoTool.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
5#define TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
6
7#include "Gaudi/Property.h"
12
13class TrackCountHypoTool : virtual public AthCheckedComponent<::AthAlgTool>
14{
15public:
16
17 TrackCountHypoTool(const std::string& type,
18 const std::string& name,
19 const IInterface* parent);
20
26
27 StatusCode decide(TrkCountsInfo& decisions) const;
28
29private:
30
32 Gaudi::Property<float> m_minPt{ this, "minPt", 100, "Accept events with momentum higher than this limit in MeV" };
33 Gaudi::Property<float> m_maxZ0{ this, "maxZ0", 401, "Accept events with absolute value of track z at beamline position than this limit in mm" };
34 Gaudi::Property<float> m_maxVertexZ{ this, "maxVertexZ", 803, "Accept events with absolute value of track to vertex z distance than this limit in mm" };
35 Gaudi::Property<float> m_minNtrks{ this, "minNtrks", 1, "Accept events with minimum (including that value) of this number of tracks, -1 means this cut is disabled" };
36 Gaudi::Property<float> m_maxNtrks{ this, "maxNtrks", -1, "Accept events with maximum (excluding that value) of this number of tracks, -1 means this cut is disabled" };
37 const int m_exclusivityThreshold = 15;
38 Gaudi::Property<bool> m_exclusive{ this, "exclusive", false, "Apply exclusivity selection (less than Exclusivity cut low pt tracks & tracks within the range)" };
39 Gaudi::Property<bool> m_acceptAll{ this, "acceptAll", false, "Accept all events" };
40};
41
42#endif //> !TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
Mixin class to perform additional checks on a component.
TrackCountHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_minNtrks
Gaudi::Property< bool > m_acceptAll
Gaudi::Property< float > m_maxVertexZ
Gaudi::Property< float > m_maxNtrks
Gaudi::Property< float > m_maxZ0
Gaudi::Property< bool > m_exclusive
HLT::Identifier m_decisionId
Gaudi::Property< float > m_minPt
StatusCode decide(TrkCountsInfo &decisions) const
std::set< DecisionID > DecisionIDContainer
TrigComposite_v1 TrigComposite
Declare the latest version of the class.
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
const xAOD::TrigComposite * counts
TrigCompositeUtils::Decision * decision