 |
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"
352 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};
354 if(
"L1_MU3V"==l1item)
return roiSource==0 ? L1Items::L1B_MU3V : L1Items::L1E_MU3V;
355 if(
"L1_MU5VF"==l1item)
return roiSource==0 ? L1Items::L1B_MU5VF : L1Items::L1E_MU5VF;
356 if(
"L1_MU8F"==l1item)
return roiSource==0 ? L1Items::L1B_MU8F : L1Items::L1E_MU8F;
357 if(
"L1_MU14FCH"==l1item)
return roiSource==0 ? L1Items::L1B_MU14FCH : L1Items::L1E_MU14FCH;
358 if(
"L1_MU14FCHR"==l1item)
return roiSource==0 ? L1Items::L1B_MU14FCHR : L1Items::L1E_MU14FCHR;
381 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
394 template<
class T,
class OFFL>
396 const std::string& containerSGKey =
"",
397 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
411 template<
class T,
class OFFL>
const T*
match(
const OFFL *offl, std::string trigger,
float reqdR,
bool &pass,
412 const std::string& containerSGKey =
"",
413 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
427 std::tuple<bool,double,double> (*offlinePosForMatchFunc)(
const xAOD::Muon*),
428 std::tuple<bool,double,double> (*trigPosForMatchFunc)(
const T*) = &MuonMatchingTool::trigPosForMatch<T>)
const;
438 template<
class T>
static inline std::tuple<bool,double,double>
trigPosForMatch(
const T *trig);
452 Gaudi::Property<bool>
m_use_extrapolator {
this,
"UseExtrapolator",
false,
"Flag to enable the extrapolator for matching offline and trigger muons"};
456 this,
"TrigThresholdDecisionTool",
"LVL1::TrigThresholdDecisionTool/LVL1__TrigThresholdDecisionTool",
457 "Tool to get pass/fail of each trigger threshold"};
458 PublicToolHandle<Trig::TrigDecisionTool>
m_trigDec {
this,
"TrigDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool",
"TrigDecisionTool"};
459 PublicToolHandle<Trk::IExtrapolator>
m_extrapolator {
"Trk::Extrapolator/AtlasExtrapolator"};
467 #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.