The Gaudi Framework  master (08f81203)
Loading...
Searching...
No Matches
ExtendedProperties Class Reference

simple DEMO-file for "extended properties", implementation file for class ExtendedProperties More...

Inheritance diagram for ExtendedProperties:
Collaboration diagram for ExtendedProperties:

Public Member Functions

StatusCode execute () override
 factory
 ExtendedProperties (const std::string &name, ISvcLocator *pSvc)
Public Member Functions inherited from Algorithm
 LegacyAlgorithmAdapter (std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Public Member Functions inherited from Gaudi::details::LegacyAlgorithmAdapter
 LegacyAlgorithmAdapter (std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
const EventContextgetContext () const
bool isExecuted () const
 Has this algorithm been executed since the last reset?
void setExecuted (bool state) const
 Set the executed flag to the specified state.
bool filterPassed () const
 Did this algorithm pass or fail its filter criterion for the last event?
void setFilterPassed (bool state) const
 Set the filter passed flag to the specified state.
Public Member Functions inherited from Gaudi::Algorithm
 Algorithm (std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
 Constructor.
StatusCode sysStart () override
 Reinitialization method invoked by the framework.
StatusCode sysInitialize () override
 Initialization method invoked by the framework.
StatusCode sysReinitialize () override
 Reinitialization method invoked by the framework.
StatusCode sysRestart () override
 Restart method invoked by the framework.
StatusCode sysExecute (const EventContext &ctx) override
 The actions to be performed by the algorithm on an event.
StatusCode sysStop () override
 System stop.
StatusCode sysFinalize () override
 System finalization.
const std::string & name () const override
 The identifying name of the algorithm object.
const Gaudi::StringKeynameKey () const override
const std::string & type () const override
 The type of the algorithm object.
void setType (std::string type) override
const std::string & version () const override
unsigned int index () const override
StatusCode configure () override
 Dummy implementation of IStateful::configure() method.
StatusCode terminate () override
 Dummy implementation of IStateful::terminate() method.
StatusCode initialize () override
 the default (empty) implementation of IStateful::initialize() method
StatusCode start () override
 the default (empty) implementation of IStateful::start() method
StatusCode stop () override
 the default (empty) implementation of IStateful::stop() method
StatusCode finalize () override
 the default (empty) implementation of IStateful::finalize() method
StatusCode reinitialize () override
 the default (empty) implementation of IStateful::reinitialize() method
StatusCode restart () override
 the default (empty) implementation of IStateful::restart() method
Gaudi::StateMachine::State FSMState () const override
 returns the current state of the algorithm
Gaudi::StateMachine::State targetFSMState () const override
 returns the state the algorithm will be in after the ongoing transition
bool isEnabled () const override
 Is this algorithm enabled or disabled?
bool isSequence () const override
 Are we a Sequence?
unsigned int errorCount () const
 Get the number of failures of the algorithm.
SmartIF< IServiceservice (std::string_view name, const bool createIf=true, const bool quiet=false) const
 Return a pointer to the service identified by name (or "type/name").
template<class T>
SmartIF< T > service (std::string_view name, bool createIf=true, bool quiet=false) const
SmartIF< IAuditorSvc > & auditorSvc () const
 The standard auditor service.May not be invoked before sysInitialize() has been invoked.
SmartIF< IChronoStatSvc > & chronoSvc () const
 The standard Chrono & Stat service, Return a pointer to the service if present.
SmartIF< IDataProviderSvc > & detSvc () const
 The standard detector data service.
SmartIF< IConversionSvc > & detCnvSvc () const
 The standard detector data persistency conversion service.
SmartIF< IDataProviderSvc > & eventSvc () const
 The standard event data service.
SmartIF< IDataProviderSvc > & evtSvc () const
 shortcut for method eventSvc
SmartIF< IConversionSvc > & eventCnvSvc () const
 The standard event data persistency conversion service.
SmartIF< IHistogramSvc > & histoSvc () const
 The standard histogram service.
SmartIF< INTupleSvc > & ntupleSvc () const
 The standard N tuple service.
SmartIF< IRndmGenSvc > & randSvc () const
 The standard RandomGen service, Return a pointer to the service if present.
SmartIF< IToolSvc > & toolSvc () const
 The standard ToolSvc service, Return a pointer to the service if present.
SmartIF< IExceptionSvc > & exceptionSvc () const
 Get the exception Service.
SmartIF< IAlgContextSvc > & contextSvc () const
 get Algorithm Context Service
SmartIF< ITimelineSvc > & timelineSvc () const
SmartIF< ISvcLocator > & serviceLocator () const override
 The standard service locator.
SmartIF< ISvcLocator > & svcLoc () const
 shortcut for method serviceLocator
SmartIF< IHiveWhiteBoard > & whiteboard () const
SmartIF< IAlgExecStateSvc > & algExecStateSvc () const
bool registerContext () const
 register for Algorithm Context Service?
template<class T>
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
template<class T>
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandleArray< T > &hndlArr, const std::string &doc="none")
SmartIF< IMonitorSvc > & monitorSvc () const
 Access the monitor service.
template<class T>
void declareInfo (const std::string &name, const T &var, const std::string &desc) const
 Declare monitoring information.
void declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const
 Declare monitoring information (special case).
void acceptDHVisitor (IDataHandleVisitor *) const override
void registerTool (IAlgTool *tool) const
void deregisterTool (IAlgTool *tool) const
template<class T>
StatusCode declareTool (ToolHandle< T > &handle, bool createIf=true)
template<class T>
StatusCode declareTool (ToolHandle< T > &handle, const std::string &toolTypeAndName, bool createIf=true)
template<class T>
void addToolsArray (ToolHandleArray< T > &hndlArr)
const std::vector< IAlgTool * > & tools () const
bool isAsynchronous () const
void setAsynchronous (bool value)
unsigned int cardinality () const override
 Return the cardinality.
const AlgResources_t & neededResources () const override
AlgExecStateRef execState (const EventContext &ctx) const override
 get the AlgExecStateRef of current algorithm Actually a small wrapper around it, thus the plain object return type
std::ostream & toControlFlowExpression (std::ostream &os) const override
 Produce string represention of the control flow expression.
Public Member Functions inherited from DataHandleHolderBase< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > >
std::vector< Gaudi::DataHandle * > inputHandles () const override
std::vector< Gaudi::DataHandle * > outputHandles () const override
virtual const DataObjIDCollextraInputDeps () const override
virtual const DataObjIDCollextraOutputDeps () const override
void declare (Gaudi::DataHandle &handle) override
void renounce (Gaudi::DataHandle &handle) override
bool renounceInput (const DataObjID &id) override
const DataObjIDCollinputDataObjs () const override
const DataObjIDColloutputDataObjs () const override
void addDependency (const DataObjID &id, const Gaudi::DataHandle::Mode &mode) override
Public Member Functions inherited from extends< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > >, IDataHandleHolder >
void const * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast.
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface.
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames.
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > >
StatusCode setProperty (const Gaudi::Details::PropertyBase &p)
 Set the property from a property.
StatusCode setProperty (const std::string &name, const char *v)
 Special case for string literals.
StatusCode setProperty (const std::string &name, const std::string &v)
 Special case for std::string.
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value
 PropertyHolder ()=default
Gaudi::Details::PropertyBasedeclareProperty (Gaudi::Details::PropertyBase &prop)
 Declare a property.
Gaudi::Details::PropertyBasedeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="")
 Declare a remote property.
StatusCode setPropertyRepr (const std::string &n, const std::string &r) override
 set the property from name and value string representation
StatusCode getProperty (Gaudi::Details::PropertyBase *p) const override
 get the property
const std::vector< Gaudi::Details::PropertyBase * > & getProperties () const override
 get all properties
bool hasProperty (std::string_view name) const override
 Return true if we have a property with the given name.
Gaudi::Details::PropertyBaseproperty (std::string_view name) const
 \fixme property and bindPropertiesTo should be protected
void bindPropertiesTo (Gaudi::Interfaces::IOptionsSvc &optsSvc)
PropertyHolderoperator= (const PropertyHolder &)=delete
Public Member Functions inherited from CommonMessagingBase
virtual ~CommonMessagingBase ()=default
 Virtual destructor.
const SmartIF< IMessageSvc > & msgSvc () const
 The standard message service.
MsgStreammsgStream () const
 Return an uninitialized MsgStream.
MsgStreammsgStream (const MSG::Level level) const
 Predefined configurable message stream for the efficient printouts.
MsgStreamalways () const
 shortcut for the method msgStream(MSG::ALWAYS)
MsgStreamfatal () const
 shortcut for the method msgStream(MSG::FATAL)
MsgStreamerr () const
 shortcut for the method msgStream(MSG::ERROR)
MsgStreamerror () const
 shortcut for the method msgStream(MSG::ERROR)
MsgStreamwarning () const
 shortcut for the method msgStream(MSG::WARNING)
MsgStreaminfo () const
 shortcut for the method msgStream(MSG::INFO)
MsgStreamdebug () const
 shortcut for the method msgStream(MSG::DEBUG)
MsgStreamverbose () const
 shortcut for the method msgStream(MSG::VERBOSE)
MsgStreammsg () const
 shortcut for the method msgStream(MSG::INFO)
MSG::Level msgLevel () const
 get the cached level (originally extracted from the embedded MsgStream)
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream

Public Attributes

 xProps = ExtendedProperties("xProps")
 PairDD
 PairII
 VectorOfVectorsString
 VectorOfVectorsDouble
 MapIntDouble
 MapStringString
 MapStringInt
 MapStringDouble
 MapStringVectorOfStrings
 MapStringVectorOfDoubles
 MapStringVectorOfInts
 MapIntInt
 VectorOfPairsII
 MapIntString
 MapUIntString
 EmptyMap
 EmptyVector
 TupleStringIntDouble
 TupleString
 SetOfInt
 SetOfString
 StdArrayDouble3
 StdArrayInt1
 GaudiMapSS
 ExtraInputs
 ExtraOutputs
 PTupleVector
 PIntVectorTuple
 PTupleSet
 PIntSetTuple
 PTupleUnSet
 PIntUnSetTuple
 app
 SUCCESS = gaudimodule.SUCCESS
 gaudi = gaudimodule.AppMgr()
 alg = gaudi.algorithm("xProps")
 props = alg.properties()
 v = props[p].value()
 t = type(v).__name__
dict properties = {}
Public Attributes inherited from Gaudi::Algorithm
friend AlgorithmManager

Private Types

using Triplet = std::tuple<std::string, std::string, std::string>
using VS = std::vector<std::string>
using SS = std::set<std::string>
using USS = std::unordered_set<std::string>

Private Attributes

str __author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu"
 (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE".
Gaudi::Property< std::pair< double, double > > m_1 { this, "PairDD" }
Gaudi::Property< std::vector< std::pair< double, double > > > m_2 { this, "VectorOfPairsDD" }
Gaudi::Property< std::vector< std::vector< std::string > > > m_3 { this, "VectorOfVectorsString" }
Gaudi::Property< std::vector< std::vector< double > > > m_4 { this, "VectorOfVectorsDouble" }
Gaudi::Property< std::map< int, double > > m_5 { this, "MapIntDouble" }
Gaudi::Property< std::map< std::string, std::string > > m_6 { this, "MapStringString" }
Gaudi::Property< std::map< std::string, int > > m_7 { this, "MapStringInt" }
Gaudi::Property< std::map< std::string, double > > m_8 { this, "MapStringDouble" }
Gaudi::Property< std::map< std::string, std::vector< std::string > > > m_9 { this, "MapStringVectorOfStrings" }
Gaudi::Property< std::pair< int, int > > m_10 { this, "PairII" }
Gaudi::Property< std::map< std::string, std::vector< double > > > m_11 { this, "MapStringVectorOfDoubles" }
Gaudi::Property< std::map< std::string, std::vector< int > > > m_12 { this, "MapStringVectorOfInts" }
Gaudi::Property< std::map< int, int > > m_13 { this, "MapIntInt" }
Gaudi::Property< std::vector< std::pair< int, int > > > m_14 { this, "VectorOfPairsII" }
Gaudi::Property< std::map< int, std::string > > m_15 { this, "MapIntString" }
Gaudi::Property< std::map< unsigned int, std::string > > m_16 { this, "MapUIntString" }
Gaudi::Property< std::map< std::string, std::string > > m_20 { this, "EmptyMap" }
Gaudi::Property< std::vector< int > > m_21 { this, "EmptyVector" }
Gaudi::Property< std::tuple< std::string, int, double > > m_22 { this, "TupleStringIntDouble" }
Gaudi::Property< std::tuple< std::string > > m_25 { this, "TupleString" }
Gaudi::Property< std::unordered_set< int > > m_30 { this, "SetOfInt" }
Gaudi::Property< std::unordered_set< std::string > > m_31 { this, "SetOfString" }
Gaudi::Property< std::array< double, 3 > > m_23 { this, "StdArrayDouble3", { 0 } }
Gaudi::Property< std::array< int, 1 > > m_26 { this, "StdArrayInt1", { 0 } }
Gaudi::Property< GaudiUtils::Map< std::string, std::string > > m_24 { this, "GaudiMapSS" }
Gaudi::Property< std::vector< Triplet > > m_tuplevector { this, "PTupleVector" }
Gaudi::Property< std::set< Triplet > > m_tupleset { this, "PTupleSet" }
Gaudi::Property< std::unordered_set< Triplet, HashFunction > > m_tupleunset { this, "PTupleUnSet" }
Gaudi::Property< std::tuple< int, VS > > m_intvectortuple { this, "PIntVectorTuple" }
Gaudi::Property< std::tuple< int, SS > > m_intsettuple { this, "PIntSetTuple" }
Gaudi::Property< std::tuple< int, USS > > m_intunsettuple { this, "PIntUnSetTuple" }

Static Private Attributes

static std::hash< std::string > hasher

Additional Inherited Members

Public Types inherited from Gaudi::Algorithm
typedef Gaudi::PluginService::Factory< IAlgorithm *(const std::string &, ISvcLocator *)> Factory
Public Types inherited from extends< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > >, IDataHandleHolder >
using base_class
 Typedef to this class.
using extend_interfaces_base
 Typedef to the base of this class.
Public Types inherited from PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > >
using PropertyHolderImpl
 Typedef used to refer to this class from derived classes, as in.
Public Types inherited from CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > >
using base_class
Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids
 take union of the ext_iids of all Interfaces...
Protected Member Functions inherited from Gaudi::details::LegacyAlgorithmAdapter
bool isReEntrant () const override
Protected Member Functions inherited from Gaudi::Algorithm
std::vector< IAlgTool * > & tools ()
bool isInitialized () const override
 Has the Algorithm already been initialized?
bool isFinalized () const override
 Has the Algorithm already been finalized?
void setIndex (const unsigned int &idx) override
 set instantiation index of Alg
bool isReEntrant () const override
Protected Member Functions inherited from DataHandleHolderBase< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > >
void initDataHandleHolder ()
 initializes all handles - called by the sysInitialize method of any descendant of this
Protected Member Functions inherited from CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > >
MSG::Level setUpMessaging () const override final
 Set up local caches.
MSG::Level resetMessaging ()
 Reinitialize internal states.
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream.
Protected Attributes inherited from Gaudi::Algorithm
std::unique_ptr< IDataHandleVisitorm_updateDataHandles
 Hook for for derived classes to provide a custom visitor for data handles.
Protected Attributes inherited from DataHandleHolderBase< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > >
DataObjIDColl m_inputDataObjs
DataObjIDColl m_outputDataObjs

Detailed Description

simple DEMO-file for "extended properties", implementation file for class ExtendedProperties

Author
Alexander MAZUROV alexa.nosp@m.nder.nosp@m..mazu.nosp@m.rov@.nosp@m.gmail.nosp@m..com
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2006-03-21

Definition at line 56 of file ExtendedProperties.cpp.

Member Typedef Documentation

◆ SS

using ExtendedProperties::SS = std::set<std::string>
private

Definition at line 118 of file ExtendedProperties.cpp.

◆ Triplet

using ExtendedProperties::Triplet = std::tuple<std::string, std::string, std::string>
private

Definition at line 105 of file ExtendedProperties.cpp.

◆ USS

using ExtendedProperties::USS = std::unordered_set<std::string>
private

Definition at line 120 of file ExtendedProperties.cpp.

◆ VS

using ExtendedProperties::VS = std::vector<std::string>
private

Definition at line 116 of file ExtendedProperties.cpp.

Constructor & Destructor Documentation

◆ ExtendedProperties()

ExtendedProperties::ExtendedProperties ( const std::string & name,
ISvcLocator * pSvc )
inline

Definition at line 60 of file ExtendedProperties.cpp.

60 : Algorithm( name, pSvc ) {
61 setProperty( "PropertiesPrint", true ).ignore();
62
63 m_20["key"] = "value";
64 m_21.value().push_back( 123 );
65 }
bool PyHelper setProperty(IInterface *p, char *name, char *value)
Gaudi::Property< std::map< std::string, std::string > > m_20
Gaudi::Property< std::vector< int > > m_21
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
const std::string & name() const override
The identifying name of the algorithm object.

Member Function Documentation

◆ execute()

StatusCode ExtendedProperties::execute ( )
overridevirtual

factory

Implements Algorithm.

Definition at line 128 of file ExtendedProperties.cpp.

128 {
129 always() << " My Properties : " << endmsg;
130
131 always() << " \t" << m_1 << endmsg;
132 always() << " \t" << m_2 << endmsg;
133 always() << " \t" << m_3 << endmsg;
134 always() << " \t" << m_4 << endmsg;
135 always() << " \t" << m_5 << endmsg;
136 always() << " \t" << m_6 << endmsg;
137 always() << " \t" << m_7 << endmsg;
138 always() << " \t" << m_8 << endmsg;
139 always() << " \t" << m_9 << endmsg;
140 always() << " \t" << m_10 << endmsg;
141 always() << " \t" << m_11 << endmsg;
142 always() << " \t" << m_12 << endmsg;
143 always() << " \t" << m_13 << endmsg;
144 always() << " \t" << m_14 << endmsg;
145 always() << " \t" << m_14 << endmsg;
146 always() << " \t" << m_15 << endmsg;
147 always() << " \t" << m_16 << endmsg;
148
149 always() << " \t" << m_20 << endmsg;
150 always() << " \t" << m_21 << endmsg;
151
152 always() << " \t" << m_22 << endmsg;
153 always() << " \t" << m_25 << endmsg;
154 always() << " \t" << m_23 << endmsg;
155 always() << " \t" << m_26 << endmsg;
156
157 always() << " \t" << m_24 << endmsg;
158
159 always() << " \t" << m_30 << endmsg;
160 always() << " \t" << m_31 << endmsg;
161
162 always() << " \t" << m_tuplevector << endmsg;
163 always() << " \t" << m_intvectortuple << endmsg;
164 always() << " \t" << m_tupleset << endmsg;
165 always() << " \t" << m_intsettuple << endmsg;
166 always() << " \t" << m_tupleunset << endmsg;
167 always() << " \t" << m_intunsettuple << endmsg;
168
169 // some properties could be created from other (convertible) types:
170 Gaudi::Property<short> m1( "a", 0 );
171 Gaudi::Property<double> m2( "b", m1 );
172
173 // some properties could be assigned from other (convertible) types
174 Gaudi::Property<int> m3( "c", 0 );
175 m3 = m1;
176
177 float i = 10;
178 Gaudi::Property<float&> m4( "d", i );
179
180 m4 = 12;
181
182 return StatusCode::SUCCESS;
183}
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
MsgStream & always() const
shortcut for the method msgStream(MSG::ALWAYS)
Gaudi::Property< std::array< double, 3 > > m_23
Gaudi::Property< std::unordered_set< std::string > > m_31
Gaudi::Property< std::array< int, 1 > > m_26
Gaudi::Property< std::pair< int, int > > m_10
Gaudi::Property< std::map< std::string, int > > m_7
Gaudi::Property< std::map< unsigned int, std::string > > m_16
Gaudi::Property< std::map< int, double > > m_5
Gaudi::Property< std::map< std::string, double > > m_8
Gaudi::Property< std::map< int, int > > m_13
Gaudi::Property< std::map< int, std::string > > m_15
Gaudi::Property< std::set< Triplet > > m_tupleset
Gaudi::Property< std::tuple< std::string, int, double > > m_22
Gaudi::Property< std::map< std::string, std::vector< int > > > m_12
Gaudi::Property< std::vector< std::pair< double, double > > > m_2
Gaudi::Property< std::map< std::string, std::vector< std::string > > > m_9
Gaudi::Property< std::map< std::string, std::string > > m_6
Gaudi::Property< std::map< std::string, std::vector< double > > > m_11
Gaudi::Property< std::tuple< int, VS > > m_intvectortuple
Gaudi::Property< std::tuple< int, SS > > m_intsettuple
Gaudi::Property< std::vector< std::vector< std::string > > > m_3
Gaudi::Property< std::vector< std::pair< int, int > > > m_14
Gaudi::Property< std::tuple< int, USS > > m_intunsettuple
Gaudi::Property< std::vector< std::vector< double > > > m_4
Gaudi::Property< GaudiUtils::Map< std::string, std::string > > m_24
Gaudi::Property< std::unordered_set< Triplet, HashFunction > > m_tupleunset
Gaudi::Property< std::pair< double, double > > m_1
Gaudi::Property< std::tuple< std::string > > m_25
Gaudi::Property< std::vector< Triplet > > m_tuplevector
Gaudi::Property< std::unordered_set< int > > m_30
Implementation of property with value of concrete type.
Definition Property.h:35
constexpr static const auto SUCCESS
Definition StatusCode.h:99

Member Data Documentation

◆ __author__

str ExtendedProperties.__author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu"
private

(c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE".

# # In applying this licence, CERN does not waive the privileges and immunities # granted to it by virtue of its status as an Intergovernmental Organization # or submit itself to any jurisdiction. #


Definition at line 23 of file ExtendedProperties.py.

◆ alg

ExtendedProperties.alg = gaudi.algorithm("xProps")

Definition at line 122 of file ExtendedProperties.py.

◆ app

ExtendedProperties.app
Initial value:
TopAlg=[xProps], EvtMax=1, EvtSel="NONE", HistogramPersistency="NONE"
)
The Application Manager class.

Definition at line 108 of file ExtendedProperties.py.

◆ EmptyMap

ExtendedProperties.EmptyMap

Definition at line 81 of file ExtendedProperties.py.

◆ EmptyVector

ExtendedProperties.EmptyVector

Definition at line 82 of file ExtendedProperties.py.

◆ ExtraInputs

ExtendedProperties.ExtraInputs

Definition at line 96 of file ExtendedProperties.py.

◆ ExtraOutputs

ExtendedProperties.ExtraOutputs

Definition at line 97 of file ExtendedProperties.py.

◆ gaudi

ExtendedProperties.gaudi = gaudimodule.AppMgr()

Definition at line 118 of file ExtendedProperties.py.

◆ GaudiMapSS

ExtendedProperties.GaudiMapSS

Definition at line 93 of file ExtendedProperties.py.

◆ hasher

std::hash<std::string> ExtendedProperties::hasher
inlinestaticprivate

Definition at line 106 of file ExtendedProperties.cpp.

◆ m_1

Gaudi::Property<std::pair<double, double> > ExtendedProperties::m_1 { this, "PairDD" }
private

Definition at line 68 of file ExtendedProperties.cpp.

68{ this, "PairDD" };

◆ m_10

Gaudi::Property<std::pair<int, int> > ExtendedProperties::m_10 { this, "PairII" }
private

Definition at line 80 of file ExtendedProperties.cpp.

80{ this, "PairII" };

◆ m_11

Gaudi::Property<std::map<std::string, std::vector<double> > > ExtendedProperties::m_11 { this, "MapStringVectorOfDoubles" }
private

Definition at line 81 of file ExtendedProperties.cpp.

81{ this, "MapStringVectorOfDoubles" };

◆ m_12

Gaudi::Property<std::map<std::string, std::vector<int> > > ExtendedProperties::m_12 { this, "MapStringVectorOfInts" }
private

Definition at line 82 of file ExtendedProperties.cpp.

82{ this, "MapStringVectorOfInts" };

◆ m_13

Gaudi::Property<std::map<int, int> > ExtendedProperties::m_13 { this, "MapIntInt" }
private

Definition at line 84 of file ExtendedProperties.cpp.

84{ this, "MapIntInt" };

◆ m_14

Gaudi::Property<std::vector<std::pair<int, int> > > ExtendedProperties::m_14 { this, "VectorOfPairsII" }
private

Definition at line 85 of file ExtendedProperties.cpp.

85{ this, "VectorOfPairsII" };

◆ m_15

Gaudi::Property<std::map<int, std::string> > ExtendedProperties::m_15 { this, "MapIntString" }
private

Definition at line 87 of file ExtendedProperties.cpp.

87{ this, "MapIntString" };

◆ m_16

Gaudi::Property<std::map<unsigned int, std::string> > ExtendedProperties::m_16 { this, "MapUIntString" }
private

Definition at line 88 of file ExtendedProperties.cpp.

88{ this, "MapUIntString" };

◆ m_2

Gaudi::Property<std::vector<std::pair<double, double> > > ExtendedProperties::m_2 { this, "VectorOfPairsDD" }
private

Definition at line 70 of file ExtendedProperties.cpp.

70{ this, "VectorOfPairsDD" };

◆ m_20

Gaudi::Property<std::map<std::string, std::string> > ExtendedProperties::m_20 { this, "EmptyMap" }
private

Definition at line 90 of file ExtendedProperties.cpp.

90{ this, "EmptyMap" };

◆ m_21

Gaudi::Property<std::vector<int> > ExtendedProperties::m_21 { this, "EmptyVector" }
private

Definition at line 91 of file ExtendedProperties.cpp.

91{ this, "EmptyVector" };

◆ m_22

Gaudi::Property<std::tuple<std::string, int, double> > ExtendedProperties::m_22 { this, "TupleStringIntDouble" }
private

Definition at line 93 of file ExtendedProperties.cpp.

93{ this, "TupleStringIntDouble" };

◆ m_23

Gaudi::Property<std::array<double, 3> > ExtendedProperties::m_23 { this, "StdArrayDouble3", { 0 } }
private

Definition at line 100 of file ExtendedProperties.cpp.

100{ this, "StdArrayDouble3", { 0 } };

◆ m_24

Gaudi::Property<GaudiUtils::Map<std::string, std::string> > ExtendedProperties::m_24 { this, "GaudiMapSS" }
private

Definition at line 103 of file ExtendedProperties.cpp.

103{ this, "GaudiMapSS" };

◆ m_25

Gaudi::Property<std::tuple<std::string> > ExtendedProperties::m_25 { this, "TupleString" }
private

Definition at line 94 of file ExtendedProperties.cpp.

94{ this, "TupleString" };

◆ m_26

Gaudi::Property<std::array<int, 1> > ExtendedProperties::m_26 { this, "StdArrayInt1", { 0 } }
private

Definition at line 101 of file ExtendedProperties.cpp.

101{ this, "StdArrayInt1", { 0 } };

◆ m_3

Gaudi::Property<std::vector<std::vector<std::string> > > ExtendedProperties::m_3 { this, "VectorOfVectorsString" }
private

Definition at line 71 of file ExtendedProperties.cpp.

71{ this, "VectorOfVectorsString" };

◆ m_30

Gaudi::Property<std::unordered_set<int> > ExtendedProperties::m_30 { this, "SetOfInt" }
private

Definition at line 96 of file ExtendedProperties.cpp.

96{ this, "SetOfInt" };

◆ m_31

Gaudi::Property<std::unordered_set<std::string> > ExtendedProperties::m_31 { this, "SetOfString" }
private

Definition at line 97 of file ExtendedProperties.cpp.

97{ this, "SetOfString" };

◆ m_4

Gaudi::Property<std::vector<std::vector<double> > > ExtendedProperties::m_4 { this, "VectorOfVectorsDouble" }
private

Definition at line 72 of file ExtendedProperties.cpp.

72{ this, "VectorOfVectorsDouble" };

◆ m_5

Gaudi::Property<std::map<int, double> > ExtendedProperties::m_5 { this, "MapIntDouble" }
private

Definition at line 74 of file ExtendedProperties.cpp.

74{ this, "MapIntDouble" };

◆ m_6

Gaudi::Property<std::map<std::string, std::string> > ExtendedProperties::m_6 { this, "MapStringString" }
private

Definition at line 75 of file ExtendedProperties.cpp.

75{ this, "MapStringString" };

◆ m_7

Gaudi::Property<std::map<std::string, int> > ExtendedProperties::m_7 { this, "MapStringInt" }
private

Definition at line 76 of file ExtendedProperties.cpp.

76{ this, "MapStringInt" };

◆ m_8

Gaudi::Property<std::map<std::string, double> > ExtendedProperties::m_8 { this, "MapStringDouble" }
private

Definition at line 77 of file ExtendedProperties.cpp.

77{ this, "MapStringDouble" };

◆ m_9

Gaudi::Property<std::map<std::string, std::vector<std::string> > > ExtendedProperties::m_9 { this, "MapStringVectorOfStrings" }
private

Definition at line 78 of file ExtendedProperties.cpp.

78{ this, "MapStringVectorOfStrings" };

◆ m_intsettuple

Gaudi::Property<std::tuple<int, SS> > ExtendedProperties::m_intsettuple { this, "PIntSetTuple" }
private

Definition at line 119 of file ExtendedProperties.cpp.

119{ this, "PIntSetTuple" };

◆ m_intunsettuple

Gaudi::Property<std::tuple<int, USS> > ExtendedProperties::m_intunsettuple { this, "PIntUnSetTuple" }
private

Definition at line 121 of file ExtendedProperties.cpp.

121{ this, "PIntUnSetTuple" };

◆ m_intvectortuple

Gaudi::Property<std::tuple<int, VS> > ExtendedProperties::m_intvectortuple { this, "PIntVectorTuple" }
private

Definition at line 117 of file ExtendedProperties.cpp.

117{ this, "PIntVectorTuple" };

◆ m_tupleset

Gaudi::Property<std::set<Triplet> > ExtendedProperties::m_tupleset { this, "PTupleSet" }
private

Definition at line 114 of file ExtendedProperties.cpp.

114{ this, "PTupleSet" };

◆ m_tupleunset

Gaudi::Property<std::unordered_set<Triplet, HashFunction> > ExtendedProperties::m_tupleunset { this, "PTupleUnSet" }
private

Definition at line 115 of file ExtendedProperties.cpp.

115{ this, "PTupleUnSet" };

◆ m_tuplevector

Gaudi::Property<std::vector<Triplet> > ExtendedProperties::m_tuplevector { this, "PTupleVector" }
private

Definition at line 113 of file ExtendedProperties.cpp.

113{ this, "PTupleVector" };

◆ MapIntDouble

ExtendedProperties.MapIntDouble

Definition at line 37 of file ExtendedProperties.py.

◆ MapIntInt

ExtendedProperties.MapIntInt

Definition at line 70 of file ExtendedProperties.py.

◆ MapIntString

ExtendedProperties.MapIntString

Definition at line 76 of file ExtendedProperties.py.

◆ MapStringDouble

ExtendedProperties.MapStringDouble

Definition at line 50 of file ExtendedProperties.py.

◆ MapStringInt

ExtendedProperties.MapStringInt

Definition at line 47 of file ExtendedProperties.py.

◆ MapStringString

ExtendedProperties.MapStringString

Definition at line 40 of file ExtendedProperties.py.

◆ MapStringVectorOfDoubles

ExtendedProperties.MapStringVectorOfDoubles

Definition at line 60 of file ExtendedProperties.py.

◆ MapStringVectorOfInts

ExtendedProperties.MapStringVectorOfInts

Definition at line 67 of file ExtendedProperties.py.

◆ MapStringVectorOfStrings

ExtendedProperties.MapStringVectorOfStrings

Definition at line 53 of file ExtendedProperties.py.

◆ MapUIntString

ExtendedProperties.MapUIntString

Definition at line 79 of file ExtendedProperties.py.

◆ PairDD

ExtendedProperties.PairDD

Definition at line 23 of file ExtendedProperties.py.

◆ PairII

ExtendedProperties.PairII

Definition at line 24 of file ExtendedProperties.py.

◆ PIntSetTuple

ExtendedProperties.PIntSetTuple

Definition at line 102 of file ExtendedProperties.py.

◆ PIntUnSetTuple

ExtendedProperties.PIntUnSetTuple

Definition at line 104 of file ExtendedProperties.py.

◆ PIntVectorTuple

ExtendedProperties.PIntVectorTuple

Definition at line 100 of file ExtendedProperties.py.

◆ properties

dict ExtendedProperties.properties = {}

Definition at line 141 of file ExtendedProperties.py.

◆ props

ExtendedProperties.props = alg.properties()

Definition at line 131 of file ExtendedProperties.py.

◆ PTupleSet

ExtendedProperties.PTupleSet

Definition at line 101 of file ExtendedProperties.py.

◆ PTupleUnSet

ExtendedProperties.PTupleUnSet

Definition at line 103 of file ExtendedProperties.py.

◆ PTupleVector

ExtendedProperties.PTupleVector

Definition at line 99 of file ExtendedProperties.py.

◆ SetOfInt

ExtendedProperties.SetOfInt

Definition at line 87 of file ExtendedProperties.py.

◆ SetOfString

ExtendedProperties.SetOfString

Definition at line 88 of file ExtendedProperties.py.

◆ StdArrayDouble3

ExtendedProperties.StdArrayDouble3

Definition at line 90 of file ExtendedProperties.py.

◆ StdArrayInt1

ExtendedProperties.StdArrayInt1

Definition at line 91 of file ExtendedProperties.py.

◆ SUCCESS

ExtendedProperties.SUCCESS = gaudimodule.SUCCESS

Definition at line 34 of file ExtendedProperties.py.

◆ t

ExtendedProperties.t = type(v).__name__

Definition at line 136 of file ExtendedProperties.py.

◆ TupleString

ExtendedProperties.TupleString

Definition at line 85 of file ExtendedProperties.py.

◆ TupleStringIntDouble

ExtendedProperties.TupleStringIntDouble

Definition at line 84 of file ExtendedProperties.py.

◆ v

ExtendedProperties.v = props[p].value()

Definition at line 135 of file ExtendedProperties.py.

◆ VectorOfPairsII

ExtendedProperties.VectorOfPairsII

Definition at line 73 of file ExtendedProperties.py.

◆ VectorOfVectorsDouble

ExtendedProperties.VectorOfVectorsDouble

Definition at line 34 of file ExtendedProperties.py.

◆ VectorOfVectorsString

ExtendedProperties.VectorOfVectorsString

Definition at line 31 of file ExtendedProperties.py.

◆ xProps

ExtendedProperties.xProps = ExtendedProperties("xProps")

Definition at line 22 of file ExtendedProperties.py.


The documentation for this class was generated from the following files: