ATLAS Offline Software
TrigJetConditionConfig_repeated.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGJETCONDITIONCONFIG_REPEATED_H
6 #define TRIGJETCONDITIONCONFIG_REPEATED_H
7 
9 #include "./RepeatedCondition.h"
10 #include "./ICondition.h"
11 
15 
17 public extends<AthAlgTool, ITrigJetRepeatedConditionConfig> {
18 
19  public:
20 
21  TrigJetConditionConfig_repeated(const std::string& type,
22  const std::string& name,
23  const IInterface* parent);
24 
25  virtual StatusCode initialize() override;
26  virtual ConditionPtr getRepeatedCondition() const override;
27 
28  private:
29 
30  ToolHandleArray<ITrigJetConditionConfig> m_elementConditions{
31  this, "conditionMakers", {},
32  "elemental conditions makers for a leaf node."};
33 
34  Gaudi::Property<std::size_t> m_multiplicity {this, "multiplicity", {1},
35  "no. of occurences of identical condition"};
36 
37 
38  Gaudi::Property<int> m_clique {this, "clique", {-1},
39  "indentical condition index"};
40 
41  Gaudi::Property<std::size_t> m_tree_id {this, "id", {0},
42  "Condition ID if in FastReduction condition tree"};
43 
44  Gaudi::Property<std::size_t> m_tree_pid {this, "pid", {0},
45  "ID of parent Condition ID if in FastReduction condition tree"};
46 
47  Gaudi::Property<int> m_chainPartInd {this,
48  "chainPartInd",
49  {-1},
50  "identifier for chain leg - used to group jets for jet hypo clients "};
51 
52  Gaudi::Property<bool> m_invert {this, "invert", {false},
53  "invert isSatisfied()"};
54 
55 
56  // make a Compound Condition, used by, eg, RepeatedCondition
57  // or ConditionInverter
58  std::unique_ptr<ICondition> getCompoundCondition() const;
59  StatusCode checkVals() const;
60 
61 };
62 #endif
TrigJetConditionConfig_repeated::getCompoundCondition
std::unique_ptr< ICondition > getCompoundCondition() const
Definition: TrigJetConditionConfig_repeated.cxx:30
TrigJetConditionConfig_repeated::initialize
virtual StatusCode initialize() override
Definition: TrigJetConditionConfig_repeated.cxx:24
TrigJetConditionConfig_repeated::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_repeated.cxx:57
TrigJetConditionConfig_repeated
Definition: TrigJetConditionConfig_repeated.h:17
ITrigJetConditionConfig.h
TrigJetConditionConfig_repeated::m_invert
Gaudi::Property< bool > m_invert
Definition: TrigJetConditionConfig_repeated.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigJetConditionConfig_repeated::TrigJetConditionConfig_repeated
TrigJetConditionConfig_repeated(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetConditionConfig_repeated.cxx:16
TrigJetConditionConfig_repeated::m_tree_pid
Gaudi::Property< std::size_t > m_tree_pid
Definition: TrigJetConditionConfig_repeated.h:44
ConditionPtr
std::unique_ptr< IRepeatedCondition > ConditionPtr
Definition: RepeatedConditionsDefs.h:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigJetConditionConfig_repeated::m_tree_id
Gaudi::Property< std::size_t > m_tree_id
Definition: TrigJetConditionConfig_repeated.h:41
RepeatedConditionsDefs.h
TrigJetConditionConfig_repeated::m_multiplicity
Gaudi::Property< std::size_t > m_multiplicity
Definition: TrigJetConditionConfig_repeated.h:34
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_repeated::getRepeatedCondition
virtual ConditionPtr getRepeatedCondition() const override
Definition: TrigJetConditionConfig_repeated.cxx:44
TrigJetConditionConfig_repeated::m_clique
Gaudi::Property< int > m_clique
Definition: TrigJetConditionConfig_repeated.h:38
TrigJetConditionConfig_repeated::m_elementConditions
ToolHandleArray< ITrigJetConditionConfig > m_elementConditions
Definition: TrigJetConditionConfig_repeated.h:30
ITrigJetRepeatedConditionConfig.h
RepeatedCondition.h
TrigJetConditionConfig_repeated::m_chainPartInd
Gaudi::Property< int > m_chainPartInd
Definition: TrigJetConditionConfig_repeated.h:47
ICondition.h