ATLAS Offline Software
ITrigTrackPreSelHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGTAUHYPO_ITrigTrackPreSelHypoTool_H
5 #define TRIGTAUHYPO_ITrigTrackPreSelHypoTool_H 1
6 
7 #include "GaudiKernel/IAlgTool.h"
8 
9 
11  : virtual public ::IAlgTool
12 {
13 
14  public:
17 
18  struct TrackingInfo {
20  const TrigCompositeUtils::Decision* previousDecision )
21  : decision( d ),
22  roi( r ),
25  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
26  {}
27 
32  };
33 
34 
41  virtual StatusCode decide( std::vector<TrackingInfo>& input ) const = 0;
42 
47  virtual bool decide( const TrackingInfo& i ) const = 0;
48 
49  protected:
50 
51 
52 };
53 
54 
55 #endif //> !TRIGTAUHYPO_ITrigTrackPreSelHypoTool_H
beamspotman.r
def r
Definition: beamspotman.py:676
ITrigTrackPreSelHypoTool::TrackingInfo::TrackingInfo
TrackingInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const TrackCollection *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigTrackPreSelHypoTool.h:19
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ITrigTrackPreSelHypoTool::TrackingInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigTrackPreSelHypoTool.h:28
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ITrigTrackPreSelHypoTool::TrackingInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigTrackPreSelHypoTool.h:29
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ITrigTrackPreSelHypoTool::TrackingInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigTrackPreSelHypoTool.h:31
ITrigTrackPreSelHypoTool
Definition: ITrigTrackPreSelHypoTool.h:12
lumiFormat.i
int i
Definition: lumiFormat.py:85
ITrigTrackPreSelHypoTool::~ITrigTrackPreSelHypoTool
virtual ~ITrigTrackPreSelHypoTool()
Definition: ITrigTrackPreSelHypoTool.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
ITrigTrackPreSelHypoTool::TrackingInfo
Definition: ITrigTrackPreSelHypoTool.h:18
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
ITrigTrackPreSelHypoTool::decide
virtual StatusCode decide(std::vector< TrackingInfo > &input) const =0
decides upon all tracks Note it is for a reason a non-virtual method, it is an interface in gaudi sen...
DataVector< Trk::Track >
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
TrigCompositeUtils::decisionIDs
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
Definition: TrigCompositeUtilsRoot.cxx:67
TrigCompositeUtils
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
ITrigTrackPreSelHypoTool::decide
virtual bool decide(const TrackingInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
ITrigTrackPreSelHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigTrackPreSelHypoTool, 1, 0)
ITrigTrackPreSelHypoTool::TrackingInfo::trackcollection
const TrackCollection * trackcollection
Definition: ITrigTrackPreSelHypoTool.h:30
python.compressB64.c
def c
Definition: compressB64.py:93