ATLAS Offline Software
Loading...
Searching...
No Matches
TrigAFPDijetComboHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef TRIGAFPHYPO_TRIGAFPDIJETCOMBOHYPOTOOL_H
6#define TRIGAFPHYPO_TRIGAFPDIJETCOMBOHYPOTOOL_H
7
8#include <string>
9
12
14#include "Gaudi/Property.h"
15
17
20
22 public:
23
24 TrigAFPDijetComboHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
25
27
28 virtual StatusCode initialize() override;
29
30private:
31
32 virtual bool executeAlg(const std::vector<Combo::LegDecision>& combination, const EventContext& ctx) const override;
33
35 //HLT::Identifier m_decisionId;
36
37 //Proton transport parameterizaton file for A side
38 Gaudi::Property<std::string> m_protonTransportParamFileNameA{this,"protonTransportParamFileName1","final_parameterization_b1.txt","Name of the file with proton transport parameterization for A side"};
39 //Proton transport parameterizaton file for C side
40 Gaudi::Property<std::string> m_protonTransportParamFileNameC{this,"protonTransportParamFileName2","final_parameterization_b2.txt","Name of the file with proton transport parameterization C side"};
41
42 //Proton transport parameterizaton object used in the proton position prediction for ATLAS A side
43 ToolHandle<IAFPProtonTransportTool> m_transportBeamA;
45 ToolHandle<IAFPProtonTransportTool> m_transportBeamC;
46
48 Gaudi::Property<float> m_maxProtonDist{this,"maxProtonDist",2.0,"Cut on distance between measured and extrapolated proton"};
50 Gaudi::Property<float> m_maxProtonDiff_x{this,"maxProtonDiff_x",2.5,"Cut on x difference between measured and extrapolated proton"};
52 Gaudi::Property<float> m_maxProtonDiff_y{this,"maxProtonDiff_y",2.5,"Cut on y difference between measured and extrapolated proton"};
53
54 Gaudi::Property<float> m_beamEnergy{this,"beamEnergy",6500.0,"Energy of one beam i.e. half of centre-of-mass energy"};
56
58 Gaudi::Property<float> m_protonPosShift_x{this,"protonPosShift_x",0.0,"Expected difference in x position between measured and predicted proton"};
60 Gaudi::Property<float> m_protonPosShift_y{this,"protonPosShift_y",0.0,"Expected difference in y position between measured and predicted proton"};
61
63 Gaudi::Property<float> m_alignmentCorrection_nearA{this,"alignmentCorrection_nearA",0.0,"Shift due to alignment in x for protons in near station A"};
65 Gaudi::Property<float> m_alignmentCorrection_nearC{this,"alignmentCorrection_nearC",0.0,"Shift due to alignment in x for protons in near station C"};
66
68 const float m_GeV = 0.001;
69
70 SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackCollectionReadKey {this, "AFPTrackContainer", "HLT_AFPTrackContainer", "xAOD AFP track collection"};
71
72 // monitoring
73 ToolHandle<GenericMonitoringTool> m_monTool { this, "MonTool", "", "Monitoring tool" };
74
75};
76
77#endif
Header file to be included by clients of the Monitored infrastructure.
ComboHypoToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< IAFPProtonTransportTool > m_transportBeamA
Gaudi::Property< float > m_protonPosShift_x
Shift in x position between parameterization and measurements.
virtual StatusCode initialize() override
virtual bool executeAlg(const std::vector< Combo::LegDecision > &combination, const EventContext &ctx) const override
Only a dummy implementation exists in ComboHypoToolBase.
const float m_GeV
Variable to convert from MeV to GeV.
Gaudi::Property< float > m_maxProtonDiff_y
Threshold for the y distance between parameterization and measurements.
Gaudi::Property< std::string > m_protonTransportParamFileNameC
Gaudi::Property< float > m_maxProtonDiff_x
Threshold for the x distance between parameterization and measurements.
Gaudi::Property< float > m_maxProtonDist
Threshold for the radius distance between parameterization and measurements.
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackCollectionReadKey
Gaudi::Property< float > m_alignmentCorrection_nearA
Beam alignment corrections in the x position of ATLAS A side.
float m_totalEnergy
beams centre-of-mass energy 2*m_beamEnergy
Gaudi::Property< float > m_protonPosShift_y
Shif in y position between parameterization and measurements.
Gaudi::Property< float > m_beamEnergy
energy of one beam i.e. half of centre-of-mass energy
ToolHandle< IAFPProtonTransportTool > m_transportBeamC
Proton transport parameterizaton object used in the proton position prediction for ATLAS C side.
ToolHandle< GenericMonitoringTool > m_monTool
TrigAFPDijetComboHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_alignmentCorrection_nearC
Beam alignment corrections in the x position of ATLAS C side.
Gaudi::Property< std::string > m_protonTransportParamFileNameA
Boolean corresponding to the decision to record the event based on the selection being met.