 |
ATLAS Offline Software
|
Go to the documentation of this file.
27 return StatusCode::SUCCESS;
32 return StatusCode::SUCCESS;
51 for(
const auto track: *tracksAFP){
52 for(
const auto off_track: *tracksAFPoff){
54 xDiff =
track->xLocal()-off_track->xLocal();
55 yDiff =
track->yLocal()-off_track->yLocal();
57 dR = std::hypot(xDiff, yDiff);
64 fill(
"AFPCoarse", xDiff, yDiff);
69 std::vector<std::string> passedAFPChains = {
"all"};
76 if ( passedAFPChains.size() > 1) passedAFPChains.emplace_back(
"AFP");
78 fill(
"AFPCoarse", whichTrigger);
80 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.