5#ifndef TRIGL2MUONSA_PTFROMALPHABETA_H
6#define TRIGL2MUONSA_PTFROMALPHABETA_H
10#include "GaudiKernel/ServiceHandle.h"
24 const std::string& name,
25 const IInterface* parent);
38 double MiddleSlope,
double MiddleR,
double MiddleZ,
43 float f(
float x,
float c0,
float c1,
float c2,
float c3)
const;
44 float fp(
float x,
float c33,
float c22,
float c1)
const;
48 this,
"useCscPt",
false,
""};
50 this,
"AvoidMisalignedCSCs",
true,
"avoid using the 2 new chambers, whose alignment is not completed"};
Gaudi::Property< bool > m_use_cscpt
PtFromAlphaBeta(const std::string &type, const std::string &name, const IInterface *parent)
float fp(float x, float c33, float c22, float c1) const
Gaudi::Property< bool > m_avoid_misaligned_cscs
const ToolHandle< PtEndcapLUT > * m_ptEndcapLUT
double compute_radius(double InnerSlope, double InnerR, double InnerZ, double MiddleSlope, double MiddleR, double MiddleZ, double sign)
void setMCFlag(bool use_mcLUT, const TrigL2MuonSA::PtEndcapLUTSvc *ptEndcapLUTSvc)
virtual StatusCode initialize() override
float f(float x, float c0, float c1, float c2, float c3) const
StatusCode setPt(TrigL2MuonSA::TrackPattern &trackPattern, TrigL2MuonSA::TgcFitResult &tgcFitResult) const