|
CbmRoot
|
An application for a Composite object. More...
Static Public Member Functions | |
| static int | GetNofNonNullopt (const Composite &c) |
| Calculates number of non-nullopt variables. | |
| static void | SetProperty (Composite &c, double number) |
| Sets a common number as a property. | |
| static int | GetPropertySum (const Composite &c) |
| Gets a sum of the properties of all non-null components. | |
| static int | GetNumberOfStationsWithHits (const Composite &c, const Hits &hits) |
| Counts number of stations, which have a hit with a given address. | |
An application for a Composite object.
Definition at line 147 of file _GTestStructLooper.cxx.
|
inlinestatic |
Calculates number of non-nullopt variables.
Definition at line 149 of file _GTestStructLooper.cxx.
References Composite::ForEachVariable().
|
inlinestatic |
Counts number of stations, which have a hit with a given address.
Definition at line 177 of file _GTestStructLooper.cxx.
References Composite::ForEachValue(), and hits.
|
inlinestatic |
Gets a sum of the properties of all non-null components.
Definition at line 167 of file _GTestStructLooper.cxx.
References Composite::ForEachValue().
|
inlinestatic |
Sets a common number as a property.
Definition at line 161 of file _GTestStructLooper.cxx.
References Composite::ForEachValue().