Go to the documentation of this file.
11 #ifndef GAUDIEXAMPLE_PROPERTYALG_H
12 #define GAUDIEXAMPLE_PROPERTYALG_H
72 Gaudi::CheckedProperty<int>
p_int{
this,
"PInt", 100,
"An integer property" };
73 Gaudi::PropertyWithReadHandler<double>
p_double{
this,
"PDouble", 100. };
84 #endif // GAUDIEXAMPLE_PROPERTYALG_H
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Gaudi::Property< std::vector< double > > m_doublearray
Gaudi::Property< std::vector< double > > m_emptyarray
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Gaudi::Property< std::vector< std::string > > m_stringarray
Gaudi::Property< std::vector< std::string > > p_stringarray
const std::string & name() const override
The identifying name of the algorithm object.
Gaudi::Property< std::map< std::string, std::string > > m_strmap
Gaudi::PropertyWithReadHandler< double > p_double
Alias for backward compatibility.
Gaudi::Property< bool > p_bool
Gaudi::Property< std::vector< std::pair< int, int > > > u_intpairarray
PropertyAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
void readHandler(Gaudi::Details::PropertyBase &)
Callbacks for properties.
Gaudi::Property< std::vector< double > > p_doublearray
Gaudi::Property< std::set< int > > m_intset
Gaudi::Property< std::vector< long long > > m_int64array
Gaudi::Property< std::set< std::string > > m_stringset
Gaudi::Property< std::string > p_string
Gaudi::Property< unsigned long long > m_uint64
Gaudi::Property< std::vector< bool > > p_boolarray
Gaudi::Property< std::vector< int > > m_intarray
Gaudi::Property< std::vector< double > > u_doublearrayunits
Gaudi::Property< std::vector< std::pair< double, double > > > u_doublepairarray
Gaudi::Property< std::unordered_set< float > > m_floatuset
Gaudi::Property< std::string > m_string
Gaudi::CheckedProperty< int > p_int
Gaudi::Property< std::vector< unsigned long long > > m_uint64array
StatusCode execute() override
Gaudi::Property< bool > m_bool
void updateHandler(Gaudi::Details::PropertyBase &)
Gaudi::Property< std::vector< bool > > m_boolarray
Gaudi::Property< double > m_double
Gaudi::Property< std::vector< int > > p_intarray
StatusCode finalize() override
Gaudi::Property< long long > m_int64
Gaudi::Property< int > m_int
These data members are used in the execution of this algorithm They are set in the initialization pha...
Gaudi::Property< std::vector< double > > u_doublearray