1 #include <mdet/MDetector.h>
3 #include <utl/ErrorLogger.h>
7 #include <boost/lambda/lambda.hpp>
8 #include <boost/lambda/bind.hpp>
19 fCounters.Update(m, invalidateData, invalidateComponents);
47 return cacheIt->second.Get();
57 int*
const res = i != end ?
new int(i->GetId()) : 0;
63 AssociationMap::mapped_type
p(res);
CounterGroup fCounters
The child components.
AssociationMap fAssociatedCountersIds
Cache of ids.
const int * LookUpAssociatedCounter(int tankId) const
Resolve a pointer to the counter id.
int GetAssociatedTankId() const
Retrieve the id of the associated surface tank.
CounterConstIterator AllCountersBegin() const
Begin iterator over all the counters.
bool ExistsAssociatedCounter(int tankId) const
Tells whether there's an associated counter for a sdet::Station.
CounterGroup::ConstIterator CounterConstIterator
Defines a more meaningful (and shorter) type for iterators.
CounterConstIterator AllCountersEnd() const
End iterator over all the counters.
std::map< std::string, std::string > IndexMap
int GetAssociatedCounterId(int tankId) const
Resolve the associated counter given an id for a sdet::Station.
void Update(bool invalidateData=true, bool invalidateComponents=true)
Perform detector update.