|
ATLAS Offline Software
|
Go to the documentation of this file.
25 return StatusCode::SUCCESS;
30 return StatusCode::SUCCESS;
49 for(
const auto track: *tracksAFP){
50 for(
const auto off_track: *tracksAFPoff){
52 xDiff =
track->xLocal()-off_track->xLocal();
53 yDiff =
track->yLocal()-off_track->yLocal();
55 dR = TMath::Sqrt(TMath::Power(xDiff,2)+TMath::Power(yDiff,2));
62 fill(
"AFPCoarse", xDiff, yDiff);
67 std::vector<std::string> passedAFPChains = {
"all"};
74 if ( passedAFPChains.size() > 1) passedAFPChains.emplace_back(
"AFP");
76 fill(
"AFPCoarse", whichTrigger);
78 return StatusCode::SUCCESS;
virtual ~TrigAFPSidHypoMonitoringAlg() override
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool() const
Get the trigger decision tool member.
virtual StatusCode finalize() override
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
Base class for Athena Monitoring Algorithms.
TrigAFPSidHypoMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackKey
virtual StatusCode initialize() override
initialize
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackOffKey
virtual StatusCode initialize() override
initialize
Gaudi::Property< std::vector< std::string > > m_chains
Declare a monitored scalar variable.
size_type size() const noexcept
Returns the number of elements in the collection.