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

TMuiPseudoBLTMapO.h

Go to the documentation of this file.
00001 //
00002 // Interface Object Container Class : TMutMuiPseudoBLTMapO
00003 // Author: chun zhang
00004 // Date: 12/03/03
00005 // Description: Cotainer class for muioo pseudo-BLT
00006 //
00007 
00008 #ifndef __TMUIPSEUDOBLTMAPO_H__
00009 #define __TMUIPSEUDOBLTMAPO_H__
00010 
00011 // BOOST header
00012 //
00013 #include<boost/smart_ptr.hpp>
00014 // PHENIX headers
00015 //
00016 #include<TMuiPseudoBLTO.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 TMuiPseudoBLTMapO :
00033 public PHMap<PHKey::key_type, TMuiPseudoBLTO, TMuiPseudoBLTO_v1 >
00034 {
00035 
00036  public:
00037   
00039 
00040 
00042   TMuiPseudoBLTMapO();
00043 
00045   TMuiPseudoBLTMapO(PHKey::map_key_type map_key);  
00046 
00048   virtual ~TMuiPseudoBLTMapO() {;}
00049 
00051 
00052 
00056   iterator insert_new(UShort_t arm); 
00058 
00060 
00061   
00063   iterator get(UShort_t arm);  
00064   
00066   const_iterator get(UShort_t arm) const; 
00067   
00069  private:
00070   
00071   UShort_t get_roll_count() { return _count++%TMuiKeyGen::get_max_index();}
00072   UShort_t _count;
00073 
00074 };
00075 
00076 #endif
00077 

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