ATLAS Offline Software
ITrigLArNoiseBurstHypoTool.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef TRIGCALOHYPO_ITRIGLARNOISEBURSTHYPOTOOL_H
6 #define TRIGCALOHYPO_ITRIGLARNOISEBURSTHYPOTOOL_H 1
7 
8 #include "GaudiKernel/IAlgTool.h"
13 
14 
21  : virtual public ::IAlgTool
22 {
23 
24  public:
27 
28  struct FlagNoiseInfo {
30  unsigned int& f,
31  const TrigRoiDescriptor* r,
32  const TrigCompositeUtils::Decision* previousDecision )
33  : decision( d ),
34  flag(f),
35  roi( r ),
37  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
38  {}
39 
41  unsigned int& flag;
44  };
45 
46 
53  virtual StatusCode decide( std::vector<FlagNoiseInfo>& input ) const = 0;
54 
59  virtual bool decide( const FlagNoiseInfo& i ) const = 0;
60 
61  protected:
62 
63 
64 };
65 
66 
67 #endif //> !TRIGCALOHYPO_ITRIGLARNOISEBURSTHYPOTOOL_H
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo::FlagNoiseInfo
FlagNoiseInfo(TrigCompositeUtils::Decision *d, unsigned int &f, const TrigRoiDescriptor *r, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigLArNoiseBurstHypoTool.h:29
beamspotman.r
def r
Definition: beamspotman.py:676
ITrigLArNoiseBurstHypoTool::decide
virtual StatusCode decide(std::vector< FlagNoiseInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo
Definition: ITrigLArNoiseBurstHypoTool.h:28
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigLArNoiseBurstHypoTool.h:40
hist_file_dump.d
d
Definition: hist_file_dump.py:137
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
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TrigCompositeUtils.h
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
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigLArNoiseBurstHypoTool.h:42
hist_file_dump.f
f
Definition: hist_file_dump.py:135
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
CaloCellContainer.h
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
ITrigLArNoiseBurstHypoTool
Definition: ITrigLArNoiseBurstHypoTool.h:22
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
ITrigLArNoiseBurstHypoTool::decide
virtual bool decide(const FlagNoiseInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigLArNoiseBurstHypoTool.h:43
TrigRoiDescriptor.h
ITrigLArNoiseBurstHypoTool::~ITrigLArNoiseBurstHypoTool
virtual ~ITrigLArNoiseBurstHypoTool()
Definition: ITrigLArNoiseBurstHypoTool.h:26
ITrigLArNoiseBurstHypoTool::FlagNoiseInfo::flag
unsigned int & flag
Definition: ITrigLArNoiseBurstHypoTool.h:41
ITrigLArNoiseBurstHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigLArNoiseBurstHypoTool, 1, 0)
HLTIdentifier.h