1 #include <mdet/Counter.h>
3 #include <sdet/Station.h>
4 #include <sdet/SDetector.h>
5 #include <utl/ErrorLogger.h>
6 #include <mdet/MHierarchyInfo.h>
19 det::MPositionable<
Counter>(*this),
20 fModulesUpdated(false),
21 fInvalidateData(false),
22 fInvalidateComponents(false),
23 fUseInvalidateFlags(false),
51 return det::Detector::GetInstance().GetSDetector().GetStation(i);
79 area +=
mod->GetArea();
utl::CoordinateSystemPtr GetReferenceCoordinateSystem() const
The reference is the local coordinate system of the associated sdet::Station.
Detector description interface for Station-related data.
bool fModulesUpdated
Lazy update flag.
utl::Validated< int > fAssociatedTankId
static const char *const kComponentsNames[13]
Defines within it the common (templated) type for muon detector hierarchy components.
void Update(std::vector< double > &init, const std::vector< double > &res)
static const char *const kComponentsIds[13]
ModuleConstIterator ModulesEnd() const
Begin iterator for the Modules contained in the Counter.
bool fInvalidateComponents
void Register(utl::VValidated &v)
Register the field so as to allow handling it.
T & GetData(P< T > &d, const std::string &p) const
Common utility function for configuration.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
utl::CoordinateSystemPtr GetLocalCoordinateSystem() const
Get the Auger reference system centered on the tank.
void Update(bool invalidateData, bool invalidateComponents)
Perform update in this component and forward to subcomponents.
int GetAssociatedTankId() const
Retrieve the id of the associated surface tank.
static const char *const kComponentName
Root detector of the muon detector hierarchy.
static const char *const kComponentId
ModuleConstIterator ModulesBegin() const
Begin iterator for the Modules contained in the Counter.
const sdet::Station & GetAssociatedTank() const
Retrieve the associated tank.
ModuleGroup::ConstIterator ModuleConstIterator
Convenience typedef for const iterator over the contained Module instances.
Counter(int cId)
Contructs a Counter with the given id.
double mod(const double d, const double periode)
Type
The type of file that we are acutally opening.