X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=MUON%2Fmapping%2FAliMpMotifType.h;h=9b636fa46bcf2f4d5a77e3e33ff7a4fccc811607;hp=86f931235a09045be6ec7f09a4453dd2fa9ddf93;hb=f5671fc357babd23eb22665ca6f7588f8c611425;hpb=bec1918d3c8ff82a4d5e46c7f96ee7f262c0e53a diff --git a/MUON/mapping/AliMpMotifType.h b/MUON/mapping/AliMpMotifType.h index 86f931235a0..9b636fa46bc 100755 --- a/MUON/mapping/AliMpMotifType.h +++ b/MUON/mapping/AliMpMotifType.h @@ -35,17 +35,17 @@ class AliMpMotifType : public TObject { public: #ifdef WITH_STL + /// Connection map type typedef std::map< AliMpIntPair, AliMpConnection* > ConnectionMap; + /// Connection map iterator type typedef ConnectionMap::const_iterator ConnectionMapCIterator; #endif #ifdef WITH_ROOT + /// Connection map type typedef AliMpExMap ConnectionMap; #endif public: - /** Please note that id should be of the form %s for station 1,2, - %s-%e-%e for station345 and %sx%e for stationTrigger - */ AliMpMotifType(const TString &id); AliMpMotifType(const AliMpMotifType& rhs); AliMpMotifType& operator=(const AliMpMotifType& rhs); @@ -73,11 +73,13 @@ class AliMpMotifType : public TObject // set methods void SetNofPads(Int_t nofPadsX, Int_t nofPadY); - void SetVerboseLevel(Int_t level){fVerboseLevel=level;} // get methods + /// Return unique motif ID TString GetID() const {return fID;} + /// Return number of pads in x direction Int_t GetNofPadsX() const {return fNofPadsX;} + /// Return number of pads in y direction Int_t GetNofPadsY() const {return fNofPadsY;} Int_t GetNofPads() const; @@ -104,7 +106,6 @@ class AliMpMotifType : public TObject TString fID; ///< unique motif ID Int_t fNofPadsX; ///< number of pads in x direction Int_t fNofPadsY; ///< number of pads in y direction - Int_t fVerboseLevel; ///< verbose level ConnectionMap fConnections; ///< Map (ix,iy) of connections ClassDef(AliMpMotifType,1) // Motif type @@ -112,6 +113,7 @@ class AliMpMotifType : public TObject // inline functions +/// Return true if the motif conatins all pads inline Bool_t AliMpMotifType::IsFull() const { return GetNofPads() == fNofPadsX*fNofPadsY; }