00001 void drift_konstanten(Float_t Vc)
00002 {
00003 Float_t RA=30.05;
00004 Float_t RI=7.73;
00005
00006 cout<<"Calculate the values needed for the creation of the drift map tables:"<<endl;
00007
00008 cout<<"RA = "<<RA<<endl;
00009 cout<<"RI = "<<RI<<endl;
00010
00011 Float_t inv_konst=1/log(RA/RI);
00012
00013
00014 cout<<"Vc = "<<Vc<<endl;
00015
00016 Float_t rtimesE=(inv_konst*Vc)*1000;
00017
00018 cout<<"radiusTimesField = "<<rtimesE<<endl;
00019
00020
00021
00022 cout<<"minimumDriftField ="<<int (rtimesE/RA)<<endl;
00023 cout<<"maximumDriftField ="<<rtimesE/RI<<endl;
00024
00025 cout<<"numberOfEFieldBinsUsed = "<<fabs((rtimesE/RA)-(rtimesE/RI))<<endl;
00026 }