spectrometerFunctions.h

Go to the documentation of this file.
00001 
00006 #ifndef __SPECTROMETER_FUNCTIONS_h
00007 #define __SPECTROMETER_FUNCTIONS_h
00008 
00009 #include <TF1.h>
00010 
00033 extern Double_t spectrometerSBendSynchEnergyLossEB( Double_t Energy,
00034                                                     Double_t BField,
00035                                                     Double_t sLength );
00036 
00037 
00047 extern Double_t spectrometerSBendSynchEnergyLossERho( Double_t Energy,
00048                                                       Double_t Rho,
00049                                                       Double_t sLength );
00050 
00069 extern Double_t spectrometer4MagChicaneEnergy( Double_t Offset, 
00070                                                Double_t Lm,
00071                                                Double_t Lb,
00072                                                Double_t Bdl1,
00073                                                Double_t Bdl2 );
00074 
00075 
00089 extern Double_t spectrometer4MagChicaneEnergyErr( Double_t Offset, Double_t OffsetErr,
00090                                                   Double_t Lm, Double_t LmErr,
00091                                                   Double_t Lb, Double_t LbErr,
00092                                                   Double_t Bdl1, Double_t Bdl1Err,
00093                                                   Double_t Bdl2, Double_t Bdl2Err );
00094 
00095 
00104 extern Double_t spectrometer4MagChicaneOffset( Double_t Energy, 
00105                                                Double_t Lm,
00106                                                Double_t Lb,
00107                                                Double_t Bdl1,
00108                                                Double_t Bdl2 );
00119 extern Double_t spectrometerGetOrbit( Double_t *pos, 
00120                                       Double_t *zpos, 
00121                                       Int_t     n,
00122                                       Double_t  z, 
00123                                       TF1      *f );
00124 
00134 extern Double_t spectrometerGetLinearOrbit( Double_t *pos, 
00135                                             Double_t *zpos, 
00136                                             Int_t     n,
00137                                             Double_t  z );
00138 
00139 
00149 extern Double_t spectrometerGetParabolicOrbit( Double_t *pos, 
00150                                                Double_t *zpos, 
00151                                                Int_t     n,
00152                                                Double_t  z );
00153 
00154 #endif /* #ifndef __SPECTROMETER_FUNCTIONS_h */

Generated on Fri Dec 14 15:55:25 2007 for spectrometer by  doxygen 1.5.1