ATLAS Offline Software
Loading...
Searching...
No Matches
RecMomentumQualityValidation.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// RecMomentumQualityValidation.h, (c) ATLAS Detector software
8
9#ifndef RECMOMENTUMQUALITYVALIDATION_H
10#define RECMOMENTUMQUALITYVALIDATION_H
11
12// Gaudi includes
14#include "GaudiKernel/ToolHandle.h"
15#include <string>
16
17
18class AtlasDetectorID;
19
20namespace Trk {
21
22 class ITruthToTrack;
24
31
33
34 public:
35
37 RecMomentumQualityValidation(const std::string& name, ISvcLocator* pSvcLocator);
40
42 StatusCode initialize();
44 StatusCode execute();
46 StatusCode finalize();
47
48 private:
49
51 void printTable() const;
52 static void monitorTrackFits(std::vector<unsigned int>&, const double&) ;
53
57 ToolHandle<Trk::ITruthToTrack> m_truthToTrack;
58 ToolHandle<Trk::ITrackSelectorTool> m_trackSelector;
60
62 enum StatIndex {iAll = 0, iBarrel = 1, iTransi = 2, iEndcap = 3};
63 // TOFO: define also eta boundary limits
64
66 std::vector<unsigned int> m_nHundred, m_nFifty, m_nTwenty, m_nTen, m_nFakeOrLost;
67 std::vector<unsigned int> m_tHundred, m_tFifty, m_tTwenty, m_tTen, m_tFakeOrLost;
68};
69
70} // end of namespace
71
72#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
The abstract interface base class for track selector tools.
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle.
std::string m_inputTrackCollection
properties from JobOptions:
void printTable() const
method: make the output table
std::vector< unsigned int > m_nHundred
counters
static void monitorTrackFits(std::vector< unsigned int > &, const double &)
RecMomentumQualityValidation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
StatusCode execute()
standard Athena-Algorithm method
StatusCode finalize()
standard Athena-Algorithm method
ToolHandle< Trk::ITrackSelectorTool > m_trackSelector
Tool handle to Trk::ITrackSelectorTool.
StatusCode initialize()
standard Athena-Algorithm method
~RecMomentumQualityValidation()
Default Destructor.
std::string m_trackTruthCollection
job option: the truth track collection name
ToolHandle< Trk::ITruthToTrack > m_truthToTrack
Tool handle to Trk::ITruthToTrack tool.
Ensure that the ATLAS eigen extensions are properly loaded.