
I've produced a function for using this efficiency
for out-bending runs analysis.
It is based on eg1b 1.6 GeV outbending data.
Function name is
int cceffn_out(int run_number, int sector_number, float *point,
float *dir, float *Nphe,float *Nphe_err, float *cc_eff,
float *Theta, float *Phy);
C- Inputs : run_number - number of a run - to trace possible
C- changes in efficiency
C- sector_number - number of the sector
C- point(3) - coordinates of the point on the track
C- somewhere after CC (where B=0):
C- it could be EC or SC matching point.
C- dir(3) - direction vector at that point.
C- *** IMPORTANT ! *** Point and direction must be in Sector RS
C-
C- Outputs : Nphe - estimated number of photoelectrons
C- for the track.
C- Nphe_err - estimated error in Nphe
C- cc_eff - estimated Cerenkov detector efficiency
C- theta, phy - projective angles from the target
C- to the track cross-point with "special Cerenkov plane".
C-
C- Controls: Function returnes :
C- C- 0 : no errors
C- -1 : can't read initialization file
C- -2 : Wrong sector number ( must be from 1 to 6 )
C- -3 : No crossing with the plane - check coordinates
C- and direction - possible wrong coordinate system
C- -4 : Not enough data to define efficiency
C-
C- Created 11-AUG-2003 Alexander V. Vlassov
C-
C----------------------------------------------------------------------
It is a full analog of cceffn1 function but only for outbending electrons.
More info can be find at
http://www.jlab.org/~vlassov/cc/cc_outbend/index.html