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

TMuiClusterMapO.h

Go to the documentation of this file.
00001 //
00002 // Interface Object Container Class : TMuiClusterMapO
00003 // Author: Jason Newby
00004 // Date: 02/12/03
00005 // Description: Cotainer class for mui hit
00006 //
00007 
00008 #ifndef __TMUICLUSTERMAPO_H__
00009 #define __TMUICLUSTERMAPO_H__
00010 
00011 // BOOST header
00012 //
00013 #include<boost/smart_ptr.hpp>
00014 // PHENIX headers
00015 //
00016 #include<TMuiClusterO.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 TMuiClusterMapO :
00033 public PHMap<PHKey::key_type, TMuiClusterO, TMuiClusterO_v2 >
00034 {
00035 
00036  public:
00037   
00039 
00040 
00042   TMuiClusterMapO();
00043 
00045   TMuiClusterMapO(PHKey::map_key_type map_key);  
00046 
00048   virtual ~TMuiClusterMapO() {;}
00049 
00051 
00052 
00056   iterator insert_new(UShort_t arm,
00057                       UShort_t plane,
00058                       UShort_t panel,
00059                       UShort_t orientation); 
00061 
00063 
00064   
00066   iterator get(UShort_t arm);  
00067   
00069   const_iterator get(UShort_t arm) const; 
00070 
00072   iterator get(UShort_t arm,
00073                UShort_t plane,
00074                UShort_t panel,
00075                UShort_t orientation
00076                );
00077 
00079   const_iterator get(UShort_t arm,
00080                      UShort_t plane,
00081                      UShort_t panel,
00082                      UShort_t orientation
00083                      ) const;
00084 
00086  private:
00087   
00088   UShort_t get_roll_count() { return _count++%TMuiKeyGen::get_max_index();}
00089   UShort_t _count;
00090 
00091 };
00092 
00093 #endif
00094 

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