#ifndef ATHINDEX_HH #define ATHINDEX_HH #include "TObject.h" #include using namespace std; class AthIndex : public TObject { public: enum indexType { noInit = 0, indexWire = 1, indexLayer = 2, indexMezzanine = 3, indexStation = 4 }; indexType type; int stationName; int stationEta; int stationPhi; int multiLayer; int tubeLayer; int tube; int mezzanine; AthIndex(); virtual ~AthIndex() {}; AthIndex(indexType atype, int station, int eta, int phi, int multi, int layer, int wire, int mezz); AthIndex(const string& index); string toString() const; void fromString(const string& index); operator string() const; int getMezzanine(); ClassDef(AthIndex,1) // Holder class for the Athena indices }; #endif