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

mMuiFindRoadPar.h

Go to the documentation of this file.
00001 #ifndef __MMUIFINDROADPAR_HH__
00002 #define __MMUIFINDROADPAR_HH__
00003 
00004 #include<PHObject.h>
00005 #include<MUIOO.h>
00006 #include<TMuiParBase.h>
00007 
00009 
00011 class mMuiFindRoadPar : public TMuiParBase
00012 {
00013   
00014  public: 
00015 
00018   enum Mode { NO_REVERSE, REVERSE };
00019   
00021   mMuiFindRoadPar(): 
00022     _use_window(true),
00023     _phi_window(0.2),      // radians 
00024     _theta_window(0.2),      // radians
00025     _coord_dca_cut(4.), // tubes
00026     _coord_proximity_cut(4.), // tubes
00027     _min_point(2),
00028     _min_cluster(4),
00029     _mode(NO_REVERSE)
00030     {    
00031     }
00032   
00034   ~mMuiFindRoadPar(){;}
00035 
00037   void set_use_window(bool b) { _use_window = b; }
00038   
00040   bool get_use_window() const {return _use_window;}
00041 
00043   double get_phi_window() const { return _phi_window; }
00044   
00046   void set_phi_window(double phi_window)  { _phi_window=phi_window; }
00047 
00049   double get_theta_window() const { return _theta_window; }
00050   
00052   void set_theta_window(double theta_window)  { _theta_window=theta_window; }
00053 
00055   double get_coord_dca_cut() const { return _coord_dca_cut; }
00056   
00058   void set_coord_dca_cut(double coord_dca_cut)  { _coord_dca_cut=coord_dca_cut; }
00059 
00061   double get_coord_proximity_cut() const { return _coord_proximity_cut; }
00062   
00064   void set_coord_proximity_cut(double coord_proximity_cut)  { _coord_proximity_cut=coord_proximity_cut; }
00065 
00067   UShort_t get_min_point() const { return _min_point; }
00068   
00070   void set_min_point(UShort_t min_point)  { _min_point = min_point; }
00071 
00073   UShort_t get_min_cluster() const { return _min_cluster; }
00074   
00076   void set_min_cluster(UShort_t min_cluster)  { _min_cluster = min_cluster; }
00077 
00079   void set_mode(Mode mode) { _mode = mode; }
00080   
00082   Mode get_mode() const {return _mode;}
00083 
00084   void print(std::ostream& os = std::cout) const {
00085     os << "** mMuiFindRoadPar - value dump **" << endl;
00086     if (_use_window) os << " use window" << endl;
00087     else os << " not use window" << endl;
00088     os << " phi_window " << _phi_window << endl         
00089        << " theta_window " << _theta_window << endl       
00090        << " coord_dca_cut " << _coord_dca_cut << endl      
00091        << " coord_proximity_cut " << _coord_proximity_cut << endl
00092        << " min_point " << _min_point << endl       
00093        << " min_cluster " << _min_cluster << endl;
00094     if (_mode == NO_REVERSE) os << " not reverse algorithm" << endl;
00095     else os << " reverse algorithm " << endl;
00096     os << " ** " << endl;
00097   }
00098 
00099  private:  
00100 
00101   bool _use_window;  
00102   double _phi_window;  
00103   double _theta_window;  
00104   double _coord_dca_cut;
00105   double _coord_proximity_cut;
00106   UShort_t _min_point;
00107   UShort_t _min_cluster;      
00108   Mode _mode;
00109 
00110 };
00111 
00112 #endif /* __MMUIFINDROADPAR_HH__ */

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