|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGMUONMONITORING_MUONMATCHINGTOOL_H
6 #define TRIGMUONMONITORING_MUONMATCHINGTOOL_H
18 #include "GaudiKernel/SystemOfUnits.h"
351 enum L1Items{
L1B_MU3V=1,
L1B_MU5VF=2,
L1B_MU8F=3,
L1B_MU14FCH=6,
L1B_MU14FCHR=6 ,
L1E_MU3V=1,
L1E_MU5VF=3,
L1E_MU8F=6,
L1E_MU14FCH=12,
L1E_MU14FCHR=12,
ERROR};
353 if(
"L1_MU3V"==l1item)
return roiSource==0 ? L1Items::L1B_MU3V : L1Items::L1E_MU3V;
354 if(
"L1_MU5VF"==l1item)
return roiSource==0 ? L1Items::L1B_MU5VF : L1Items::L1E_MU5VF;
355 if(
"L1_MU8F"==l1item)
return roiSource==0 ? L1Items::L1B_MU8F : L1Items::L1E_MU8F;
356 if(
"L1_MU14FCH"==l1item)
return roiSource==0 ? L1Items::L1B_MU14FCH : L1Items::L1E_MU14FCH;
357 if(
"L1_MU14FCHR"==l1item)
return roiSource==0 ? L1Items::L1B_MU14FCHR : L1Items::L1E_MU14FCHR;
380 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
393 template<
class T,
class OFFL>
395 const std::string& containerSGKey =
"",
396 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
410 template<
class T,
class OFFL>
const T*
match(
const OFFL *offl, std::string trigger,
float reqdR,
bool &pass,
411 const std::string& containerSGKey =
"",
412 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
426 std::tuple<bool,double,double> (*offlinePosForMatchFunc)(
const xAOD::Muon*),
427 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
437 template<
class T>
static inline std::tuple<bool,double,double>
trigPosForMatch(
const T *trig);
451 Gaudi::Property<bool>
m_use_extrapolator {
this,
"UseExtrapolator",
false,
"Flag to enable the extrapolator for matching offline and trigger muons"};
454 PublicToolHandle<Trig::TrigDecisionTool>
m_trigDec {
this,
"TrigDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool",
"TrigDecisionTool"};
455 PublicToolHandle<Trk::IExtrapolator>
m_extrapolator {
"Trk::Extrapolator/AtlasExtrapolator"};
462 #endif //TRIGMUONMONITORING_MUONMATCHINGTOOL_H
Scalar phi() const
phi method
Class describing standalone muons reconstructed in the LVL2 trigger.
Scalar eta() const
pseudorapidity method
Class describing combined muon reconstructed in the LVL2 trigger.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
Class describing a LVL1 muon region of interest.
Eigen::Matrix< double, 3, 1 > Vector3D
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
Class describing a TrackParticle.