ATLAS Offline Software
TrigAFPDijetComboHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 
11 #include "AFPProtonTransportTool.h"
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 
30 private:
31 
32  virtual bool executeAlg(const std::vector<Combo::LegDecision>& combination) 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
TrigAFPDijetComboHypoTool::m_transportBeamA
ToolHandle< IAFPProtonTransportTool > m_transportBeamA
Definition: TrigAFPDijetComboHypoTool.h:43
TrigAFPDijetComboHypoTool::m_AFPtrackCollectionReadKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackCollectionReadKey
Definition: TrigAFPDijetComboHypoTool.h:70
AFPTrackContainer.h
TrigAFPDijetComboHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigAFPDijetComboHypoTool.h:73
TrigAFPDijetComboHypoTool::m_maxProtonDiff_x
Gaudi::Property< float > m_maxProtonDiff_x
Threshold for the x distance between parameterization and measurements.
Definition: TrigAFPDijetComboHypoTool.h:50
TrigAFPDijetComboHypoTool::m_protonPosShift_x
Gaudi::Property< float > m_protonPosShift_x
Shift in x position between parameterization and measurements.
Definition: TrigAFPDijetComboHypoTool.h:58
TrigAFPDijetComboHypoTool::~TrigAFPDijetComboHypoTool
virtual ~TrigAFPDijetComboHypoTool()
Definition: TrigAFPDijetComboHypoTool.cxx:26
TrigAFPDijetComboHypoTool::m_protonPosShift_y
Gaudi::Property< float > m_protonPosShift_y
Shif in y position between parameterization and measurements.
Definition: TrigAFPDijetComboHypoTool.h:60
TrigAFPDijetComboHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigAFPDijetComboHypoTool.cxx:30
TrigAFPDijetComboHypoTool::m_protonTransportParamFileNameA
Gaudi::Property< std::string > m_protonTransportParamFileNameA
Boolean corresponding to the decision to record the event based on the selection being met.
Definition: TrigAFPDijetComboHypoTool.h:38
ComboHypoToolBase
Base class for tools which cut on properties of multi-object or multi-leg chains. User should derive ...
Definition: ComboHypoToolBase.h:26
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigAFPDijetComboHypoTool::TrigAFPDijetComboHypoTool
TrigAFPDijetComboHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigAFPDijetComboHypoTool.cxx:17
TrigAFPDijetComboHypoTool::m_transportBeamC
ToolHandle< IAFPProtonTransportTool > m_transportBeamC
Proton transport parameterizaton object used in the proton position prediction for ATLAS C side.
Definition: TrigAFPDijetComboHypoTool.h:45
GenericMonitoringTool.h
TrigAFPDijetComboHypoTool
Definition: TrigAFPDijetComboHypoTool.h:21
AFPProtonTransportTool.h
TrigAFPDijetComboHypoTool::m_beamEnergy
Gaudi::Property< float > m_beamEnergy
energy of one beam i.e. half of centre-of-mass energy
Definition: TrigAFPDijetComboHypoTool.h:54
TrigAFPDijetComboHypoTool::executeAlg
virtual bool executeAlg(const std::vector< Combo::LegDecision > &combination) const override
Only a dummy implementation exists in ComboHypoToolBase.
Definition: TrigAFPDijetComboHypoTool.cxx:79
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigAFPDijetComboHypoTool::m_totalEnergy
float m_totalEnergy
beams centre-of-mass energy 2*m_beamEnergy
Definition: TrigAFPDijetComboHypoTool.h:55
ComboHypoToolBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigAFPDijetComboHypoTool::m_alignmentCorrection_nearA
Gaudi::Property< float > m_alignmentCorrection_nearA
Beam alignment corrections in the x position of ATLAS A side.
Definition: TrigAFPDijetComboHypoTool.h:63
TrigAFPDijetComboHypoTool::m_maxProtonDist
Gaudi::Property< float > m_maxProtonDist
Threshold for the radius distance between parameterization and measurements.
Definition: TrigAFPDijetComboHypoTool.h:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IAFPProtonTransportTool.h
TrigAFPDijetComboHypoTool::m_maxProtonDiff_y
Gaudi::Property< float > m_maxProtonDiff_y
Threshold for the y distance between parameterization and measurements.
Definition: TrigAFPDijetComboHypoTool.h:52
TrigAFPDijetComboHypoTool::m_alignmentCorrection_nearC
Gaudi::Property< float > m_alignmentCorrection_nearC
Beam alignment corrections in the x position of ATLAS C side.
Definition: TrigAFPDijetComboHypoTool.h:65
TrigAFPDijetComboHypoTool::m_protonTransportParamFileNameC
Gaudi::Property< std::string > m_protonTransportParamFileNameC
Definition: TrigAFPDijetComboHypoTool.h:40
TrigAFPDijetComboHypoTool::m_GeV
const float m_GeV
Variable to convert from MeV to GeV.
Definition: TrigAFPDijetComboHypoTool.h:68