ATLAS Offline Software
ITrigTauGenericHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGTAUHYPO_ITrigTauGenericHypoTool_H
6 #define TRIGTAUHYPO_ITrigTauGenericHypoTool_H
7 
8 #include "GaudiKernel/IAlgTool.h"
12 
17  : virtual public ::IAlgTool
18 {
19 
20  public:
23 
24  struct ClusterInfo {
26  const TrigCompositeUtils::Decision* previousDecision )
27  : decision( d ),
28  roi( r ),
29  taucontainer(c),
31  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
32  {}
33 
35  const TrigRoiDescriptor* roi{nullptr};
38  };
39 
40 
47  virtual StatusCode decide( std::vector<ClusterInfo>& input ) const = 0;
48 
53  virtual bool decide( const ClusterInfo& i ) const = 0;
54 
55 };
56 
57 
58 #endif //> !TRIGTAUHYPO_ITrigTauGenericHypoTool_H
beamspotman.r
def r
Definition: beamspotman.py:676
TrigCompositeUtils.h
ITrigTauGenericHypoTool::~ITrigTauGenericHypoTool
virtual ~ITrigTauGenericHypoTool()
Definition: ITrigTauGenericHypoTool.h:22
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ITrigTauGenericHypoTool::ClusterInfo::taucontainer
const xAOD::TauJetContainer * taucontainer
Definition: ITrigTauGenericHypoTool.h:36
ITrigTauGenericHypoTool::ClusterInfo::ClusterInfo
ClusterInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::TauJetContainer *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigTauGenericHypoTool.h:25
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
ITrigTauGenericHypoTool::decide
virtual bool decide(const ClusterInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
ITrigTauGenericHypoTool::ClusterInfo
Definition: ITrigTauGenericHypoTool.h:24
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TauJetContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ITrigTauGenericHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigTauGenericHypoTool, 1, 0)
ITrigTauGenericHypoTool::ClusterInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigTauGenericHypoTool.h:35
ITrigTauGenericHypoTool::decide
virtual StatusCode decide(std::vector< ClusterInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
ITrigTauGenericHypoTool
Base for tools doing tau hypo selection.
Definition: ITrigTauGenericHypoTool.h:18
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
ITrigTauGenericHypoTool::ClusterInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigTauGenericHypoTool.h:34
TrigRoiDescriptor.h
ITrigTauGenericHypoTool::ClusterInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigTauGenericHypoTool.h:37
python.compressB64.c
def c
Definition: compressB64.py:93