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

infid.h

Go to the documentation of this file.
00001 
00002 // $Id: infid.h,v 1.14 2008/02/04 18:11:14 rhatcher Exp $
00003 //
00004 // infid
00005 //
00006 // Fiducial volume definition cuts
00007 //
00008 // Author:  R. Hatcher 2006.04.01
00009 //
00011 
00012 #ifndef INFID_H
00013 #define INFID_H
00014 
00015 #if !defined(__CINT__) || defined(__MAKECINT__)
00016 #include <string>
00017 #endif
00018 
00019 #include "Conventions/Detector.h"
00020 #include "Conventions/SimFlag.h"
00021 
00022 //
00023 // Standard user interface
00024 //
00025 bool infid(Detector::Detector_t det, SimFlag::SimFlag_t simflg,
00026            Double_t x, Double_t y, Double_t z);
00027 void print_infid();
00028 void choose_infid_set(std::string name, bool doassert=true);
00029 
00030 //
00031 // Auxillary components (in their own namespace)
00032 //
00033 namespace FidVol {
00034 
00036 
00037   std::string getName();
00038 
00039   bool        getNearFollowBeam();
00040   double      getNearR();
00041   double      getNearZData(int indx);
00042   double      getNearZMC(int indx);
00043   double      getBeamAngleRad();
00044   double      getNearDyDz();
00045   double      getNearX0Beam();
00046   double      getNearY0Beam();
00047   double      getNearX0Z();
00048   double      getNearY0Z();
00049 
00050   bool        getFarOctagon();
00051   bool        getFarCoilCut();
00052   double      getFarRinner();
00053   double      getFarRouter();
00054   double      getFarZData(int indx);
00055   double      getFarZMC(int indx);
00056 
00057   double      getEvtVtxZOffset();
00058   double      getTrkVtxZOffset();
00059   double      getShwVtxZOffset();
00060 
00062 
00063   void setName(std::string name);
00064 
00065   void setNearFollowBeam(bool follow);
00066   void setNearR(double r);
00067   void setNearZData(int indx, double z);
00068   void setNearZMC(int indx, double z);
00069   void setBeamAngleRad(double angle);
00070   void setNearDyDz(double dydz);
00071   void setNearX0Beam(double x0);
00072   void setNearY0Beam(double y0);
00073   void setNearX0Z(double x0);
00074   void setNearY0Z(double y0);
00075 
00076   void setFarOctagon(bool octagon);
00077   void setFarCoilCut(bool coilcut);
00078   void setFarRinner(double r);
00079   void setFarRouter(double r);
00080   void setFarZData(int indx, double z);
00081   void setFarZMC(int indx, double z);
00082 
00083   void setEvtVtxZOffset(double zoff);
00084   void setTrkVtxZOffset(double zoff);
00085   void setShwVtxZOffset(double zoff);
00086 
00088 
00089   double infid_near_radius(double x, double y, double z);
00090 
00091 }
00092 
00093 #endif // INFID_H

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