ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
21 : virtual public ::IAlgTool
22{
23
24 public:
27
30 unsigned int& f,
31 const TrigRoiDescriptor* r,
32 const TrigCompositeUtils::Decision* previousDecision )
33 : decision( d ),
34 flag(f),
35 roi( r ),
36 previousDecisionIDs( TrigCompositeUtils::decisionIDs( previousDecision ).begin(),
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
void decisionIDs(const Decision *d, DecisionIDContainer &id)
Extracts DecisionIDs stored in the Decision object.
virtual bool decide(const FlagNoiseInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
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...
DeclareInterfaceID(ITrigLArNoiseBurstHypoTool, 1, 0)
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
int r
Definition globals.cxx:22
std::set< DecisionID > DecisionIDContainer
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
FlagNoiseInfo(TrigCompositeUtils::Decision *d, unsigned int &f, const TrigRoiDescriptor *r, const TrigCompositeUtils::Decision *previousDecision)