ATLAS Offline Software
Loading...
Searching...
No Matches
RoiSelector.h
Go to the documentation of this file.
1
11
12#ifndef IDTPM2_ROISELECTOR_H
13#define IDTPM2_ROISELECTOR_H
14
17
18#include <string>
19#include <vector>
20
21namespace IDTPM2 {
22
24
25public:
26
28
29public:
30
32 // not going to waste time messing about with ToolHandles for simple utility classes
33 RoiSelector( const ToolHandle<Trig::TrigDecisionTool>* trigDecTool=0 ) : m_trigDecTool(trigDecTool) { }
34
36 virtual ~RoiSelector() = default;
37
39 std::vector<roi_info_t> retrieveRois( const std::string& chainName, const std::string& roiKey, const int& chainLeg=-1 ) const;
40
41 void setTrigDecisionTool( const ToolHandle<Trig::TrigDecisionTool>* trigDecTool ) { m_trigDecTool = trigDecTool; }
42
43private:
44
47 const ToolHandle<Trig::TrigDecisionTool>* m_trigDecTool;
48
49}; // class RoiSelectionTool
50
51} // namespace IDTPM2
52
53
54#endif //> !INDETTRACKPERFMON2_ROISELECTOR_H
const ToolHandle< Trig::TrigDecisionTool > * m_trigDecTool
do we really need this to be a ToolHandle ?
Definition RoiSelector.h:47
std::vector< roi_info_t > retrieveRois(const std::string &chainName, const std::string &roiKey, const int &chainLeg=-1) const
Retrieve RoIs.
void setTrigDecisionTool(const ToolHandle< Trig::TrigDecisionTool > *trigDecTool)
Definition RoiSelector.h:41
RoiSelector(const ToolHandle< Trig::TrigDecisionTool > *trigDecTool=0)
Constructor.
Definition RoiSelector.h:33
TrigCompositeUtils::LinkInfo< TrigRoiDescriptorCollection > roi_info_t
Definition RoiSelector.h:27
virtual ~RoiSelector()=default
Destructor.
Search the ancestor history, looking for an ancestor that satifies the predicate ....
Definition AnalysisR4.h:31
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
Definition LinkInfo.h:22