ATLAS Offline Software
Loading...
Searching...
No Matches
ITrigEgammaForwardFastCaloHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ITrigEgammaForwardFastCaloHypoTool_h
5#define ITrigEgammaForwardFastCaloHypoTool_h
6
7#include "GaudiKernel/IAlgTool.h"
12#include <map>
13
14
15
16
21
22class ITrigEgammaForwardFastCaloHypoTool: virtual public ::IAlgTool
23{
24 public:
25
29
31 const TrigRoiDescriptor* r,
32 const xAOD::TrigEMCluster* c,
33 const xAOD::TrigRingerRings* ring,
34 const TrigCompositeUtils::Decision* previousDecision )
35 : decision( d ),
36 roi( r ),
37 cluster(c),
38 ringerShape(ring),
39 previousDecisionIDs( TrigCompositeUtils::decisionIDs( previousDecision ).begin(),
40 TrigCompositeUtils::decisionIDs( previousDecision ).end() )
41 {}
42
48 std::map<std::string, float> valueDecorator;
49 std::map<std::string, bool> pidDecorator;
50 };
51
52
59 virtual StatusCode decide( std::vector<FastClusterInfo>& input ) const = 0;
60
65 virtual bool decide( const FastClusterInfo& i ) const = 0;
66
67
68};
69
70
71#endif //> !TRIGEGAMMAHYPO_ITrigEgammaForwardFastCaloHypoTool_H
void decisionIDs(const Decision *d, DecisionIDContainer &id)
Extracts DecisionIDs stored in the Decision object.
DeclareInterfaceID(ITrigEgammaForwardFastCaloHypoTool, 1, 0)
virtual StatusCode decide(std::vector< FastClusterInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
virtual bool decide(const FastClusterInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
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
TrigRingerRings_v2 TrigRingerRings
Define the latest version of the TrigRingerRings class.
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
FastClusterInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::TrigEMCluster *c, const xAOD::TrigRingerRings *ring, const TrigCompositeUtils::Decision *previousDecision)
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs