Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TMui1DRoadMapO.h

Go to the documentation of this file.
00001 //
00002 // Interface Object Container Class : TMui1DRoadMapO
00003 // Author: Jason Newby
00004 // Date: 02/12/03
00005 // Description: Cotainer class for mui road
00006 //
00007 
00008 #ifndef __TMUI1DROADMAPO_H__
00009 #define __TMUI1DROADMAPO_H__
00010 
00011 // BOOST header
00012 //
00013 #include<boost/smart_ptr.hpp>
00014 // PHENIX headers
00015 //
00016 #include<TMui1DRoadO.h>
00017 #include<TMuiKeyGen.h>
00018 #include<TMutMapIO.h>
00019 #include<PHMap.h>
00020 #include<PHMapIterator.h>
00021 #include<PHConstMapIterator.h>
00022 #include<PHKeyIterator.h>
00023 #include<PHConstKeyIterator.h>
00024 #include<PHKey.hh>
00025 
00027 
00028 
00032 class TMui1DRoadMapO :
00033 public PHMap<PHKey::key_type, TMui1DRoadO, TMui1DRoadO_v1 >
00034 {
00035 
00036  public:
00037   
00039 
00040 
00042   TMui1DRoadMapO();
00043 
00045   TMui1DRoadMapO(PHKey::map_key_type map_key);  
00046 
00048   virtual ~TMui1DRoadMapO() {;}
00049 
00051 
00052 
00056   iterator insert_new(UShort_t arm, UShort_t panel, UShort_t orientation);
00061   iterator insert_new(TMui1DRoadMapO::pointer roadptr);
00063 
00065 
00066   
00068   iterator get(UShort_t arm);  
00069   
00071   const_iterator get(UShort_t arm) const;
00072 
00074   iterator get(UShort_t arm, UShort_t panel, UShort_t orientation);
00075 
00077   const_iterator get(UShort_t arm, UShort_t panel, UShort_t orientation) const;
00078   
00080  private:
00081   
00082   UShort_t get_roll_count() { return _count++%TMuiKeyGen::get_max_index();}
00083   UShort_t _count;
00084 
00085 };
00086 
00087 #endif
00088 

MUIOO: PHENIX Muon Identifier Analysis Framework. Documentation by doxygen
Last modified: