Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

infid_finder.h

Go to the documentation of this file.
00001 
00002 // $Id: infid_finder.h,v 1.1 2008/01/19 05:42:30 rhatcher Exp $
00003 //
00004 // infid
00005 //
00006 // Utility for selecting Fiducial volume z cuts
00007 //
00008 // Author:  R. Hatcher 2008.01.15
00009 //
00011 
00012 #ifndef INFIDFINDER_H
00013 #define INFIDFINDER_H
00014 
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020 
00021 #include "Validity/VldContext.h"
00022 #include "Conventions/Munits.h"
00023 
00024 //
00025 // Auxillary components (in their own namespace)
00026 //
00027 namespace FidVol {
00028 
00029   enum EAirRegion {
00030     kBetweenScintAndSteel =  0,
00031     kDownstreamOfSteel    = +1
00032   };
00033   const char* AirRegionAsString(EAirRegion region);
00034 
00035   enum EPosition {
00036     kUpstream   = -1,
00037     kMiddle     =  0,
00038     kDownstream = +1
00039   };
00040   const char* PositionAsString(EPosition pos);
00041 
00042   double infid_z_finder(VldContext vldc, int planenum, 
00043                         EAirRegion region = kBetweenScintAndSteel,
00044                         EPosition pos = kMiddle, 
00045                         double eps = Munits::micrometer);
00046 
00047 
00048   void find_z_cuts(int pup_near =  17, int pdn_near = 84, 
00049                    int pup1_far =   8, int pdn1_far = 240,
00050                    int pup2_far = 255, int pdn2_far = 452,
00051                    EAirRegion region = kBetweenScintAndSteel,
00052                    EPosition pos = kMiddle, 
00053                    double eps = Munits::micrometer);
00054 
00055 } // end of namespace FidVol
00056 
00057 #endif // INFIDFINDER_H

Generated on Mon Feb 15 11:06:48 2010 for loon by  doxygen 1.3.9.1