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

TMuiEvalMap.h

Go to the documentation of this file.
00001 //
00002 // Interface Object Container Class : TMuiEvalMap
00003 // Author: Sean Kelly
00004 // Date: 9/03/03
00005 // Description: Container class for TMuiEval
00006 //
00007 
00008 #ifndef __TMUIEVALMAP_H__
00009 #define __TMUIEVALMAP_H__
00010 
00011 // BOOST header
00012 //
00013 #include<boost/smart_ptr.hpp>
00014 
00015 // PHENIX headers
00016 //
00017 #include<TMuiEval.hh>
00018 #include<TMuiKeyGen.h>
00019 #include<TMutMapIO.h>
00020 #include<PHMap.h>
00021 #include<PHMapIterator.h>
00022 #include<PHConstMapIterator.h>
00023 #include<PHKeyIterator.h>
00024 #include<PHConstKeyIterator.h>
00025 #include<PHKey.hh>
00026 
00028 
00029 
00033 class TMuiEvalMap :
00034 public PHMap<PHKey::key_type, TMuiEval, TMuiEval_v1 >
00035 {
00036 
00037  public:
00038   
00040 
00041 
00043   TMuiEvalMap();
00044 
00046   TMuiEvalMap(PHKey::map_key_type map_key);  
00047 
00049   virtual ~TMuiEvalMap() {;}
00050 
00052 
00053 
00057   iterator insert_new(UShort_t arm); 
00059 
00061 
00062   
00064   iterator get(UShort_t arm);  
00065   
00067   const_iterator get(UShort_t arm) const; 
00068   
00070  private:
00071   
00072   UShort_t get_roll_count() { return _count++%TMuiKeyGen::get_max_index();}
00073   UShort_t _count;
00074 
00075 };
00076 
00077 #endif
00078 

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