ATLAS Offline Software
Loading...
Searching...
No Matches
TrigVSIHypoTool.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGVSI_TRACKCOUNTHYPOTOOL_H
5#define TRIGVSI_TRACKCOUNTHYPOTOOL_H
6
7#include "Gaudi/Property.h"
10#include "xAODTracking/Vertex.h"
12
13#include <vector>
14
15class TrigVSIHypoTool : virtual public ::AthAlgTool
16{
17 public:
18
19 TrigVSIHypoTool( const std::string& type,
20 const std::string& name,
21 const IInterface* parent );
22
23 virtual ~TrigVSIHypoTool() = default;
24 virtual StatusCode initialize() override;
25
31
32 StatusCode decide( eventVtxInfo& decisions ) const;
33
34 private:
35
37 Gaudi::Property<float> m_minNTrks {this, "minNTrks", 3, "Accept vertices with minimum of this number of tracks"};
38 Gaudi::Property<float> m_maxNTrks {this, "maxNTrks", -1, "Accept vertices with maximum of this number of tracks"};
39 Gaudi::Property<float> m_minR {this, "minR" , 20., "Accept vertices with decay position R greater than this limit"};
40 Gaudi::Property<float> m_maxR {this, "maxR" , 520., "Accept vertices with decay position R smaller than this limit"};
41 Gaudi::Property<float> m_minPt {this, "minPt", 1000., "Accept vertices with momentum higher than this limit"};
42 Gaudi::Property<float> m_maxPt {this, "maxPt", 1.4e7, "Accept vertices with momentum smaller than this limit"};
43 Gaudi::Property<float> m_maxChi2 {this, "maxChi2", 10., "Accept vertices with chi2 less than this limit"};
44 Gaudi::Property<float> m_minMass {this, "minMass", 1000., "Accept events with a vertex with the mass larger than this limit"};
45 Gaudi::Property<float> m_maxMass {this, "maxMass", 1.4e7, "Accept events with a vertex with the mass larger than this limit"};
46 Gaudi::Property<bool> m_logicAnd {this, "TriggerTypeAnd", true, "And/Or Logic for nTrkCut, RCut, pTCut, chi2Cut, massCut"};
47};
48
49#endif //> !TRIGVSI_TRACKCOUNTHYPOTOOL_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
StatusCode decide(eventVtxInfo &decisions) const
virtual StatusCode initialize() override
Gaudi::Property< float > m_maxPt
Gaudi::Property< float > m_minNTrks
virtual ~TrigVSIHypoTool()=default
Gaudi::Property< float > m_minMass
HLT::Identifier m_decisionId
Gaudi::Property< bool > m_logicAnd
Gaudi::Property< float > m_minPt
Gaudi::Property< float > m_maxNTrks
Gaudi::Property< float > m_maxMass
Gaudi::Property< float > m_maxR
TrigVSIHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_minR
Gaudi::Property< float > m_maxChi2
std::set< DecisionID > DecisionIDContainer
std::vector< const xAOD::Vertex * > vertices
TrigCompositeUtils::Decision * decision
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs