6.9.2010 - Kamil Sedlak

1) bug found and corrected in the field-map extrapolation of the electric 
     and magnetic fields for the spin-rotator (3DEOpera and 3D and 
     symmetryType=1 or 2). The documentation was updated.
  2) Some new variables added to the musrSimAna - the documentation has not
     been updated yet.
This commit is contained in:
2011-09-06 15:25:44 +00:00
parent 0e5bdb63f9
commit 7e6228aa10
6 changed files with 142 additions and 31 deletions

View File

@ -199,11 +199,21 @@ public :
Double_t muTargetPol_Theta360;
Double_t muTargetPol_Phi;
Double_t muTargetPol_Phi360;
Double_t muDecayPol_Theta;
Double_t muDecayPol_Theta360;
Double_t muDecayPol_Phi;
Double_t muDecayPol_Phi360;
Double_t pos_Trans_Momentum;
Double_t pos_Momentum;
Double_t pos_Radius;
Double_t pos_Theta;
Double_t pos_Theta360;
Double_t pos_Phi;
Double_t pos_Phi360;
Double_t pos_Theta_MINUS_muDecayPol_Theta;
Double_t pos_Theta_MINUS_muDecayPol_Theta360;
Double_t pos_Phi_MINUS_muDecayPol_Phi;
Double_t pos_Phi_MINUS_muDecayPol_Phi360;
// Double_t det_time0;
// Double_t get_time0;
// Double_t det_time1;
@ -212,6 +222,19 @@ public :
Double_t gen_time10;
Double_t det_time10_MINUS_gen_time10;
Double_t det_time20;
Double_t det_time1_MINUS_muDecayTime;
Double_t detP_x;
Double_t detP_y;
Double_t detP_z;
Double_t detP_time_start;
Double_t detP_time_end;
Double_t detP_theta;
Double_t detP_phi;
Double_t detP_phi_MINUS_pos_Phi;
Double_t detP_phi_MINUS_pos_Phi360;
Double_t detP_theta_MINUS_pos_Theta;
Double_t detP_theta_MINUS_pos_Theta360;
Double_t detP_time_start_MINUS_muDecayTime;
Double_t pileup_eventID;
Double_t pileup_muDecayDetID_double;
Double_t pileup_muDecayPosX;
@ -279,6 +302,7 @@ public :
void MyPrintTree();
void MyPrintConditions();
Double_t myAtan2(Double_t y, Double_t x);
Double_t deltaAngle(Double_t alpha, Double_t beta);
typedef std::map<int,Double_t> phaseShiftMapType;
phaseShiftMapType phaseShiftMap;
@ -452,11 +476,21 @@ musrAnalysis::musrAnalysis(TTree *tree)
variableMap["muTargetPol_Theta360"]=&muTargetPol_Theta360;
variableMap["muTargetPol_Phi"]=&muTargetPol_Phi;
variableMap["muTargetPol_Phi360"]=&muTargetPol_Phi360;
variableMap["muDecayPol_Theta"]=&muDecayPol_Theta;
variableMap["muDecayPol_Theta360"]=&muDecayPol_Theta360;
variableMap["muDecayPol_Phi"]=&muDecayPol_Phi;
variableMap["muDecayPol_Phi360"]=&muDecayPol_Phi360;
variableMap["pos_Trans_Momentum"]=&pos_Trans_Momentum;
variableMap["pos_Momentum"]=&pos_Momentum;
variableMap["pos_Radius"]=&pos_Radius;
variableMap["pos_Theta"]=&pos_Theta;
variableMap["pos_Theta360"]=&pos_Theta360;
variableMap["pos_Phi"]=&pos_Phi;
variableMap["pos_Phi360"]=&pos_Phi360;
variableMap["pos_Theta_MINUS_muDecayPol_Theta"]=&pos_Theta_MINUS_muDecayPol_Theta;
variableMap["pos_Theta_MINUS_muDecayPol_Theta360"]=&pos_Theta_MINUS_muDecayPol_Theta360;
variableMap["pos_Phi_MINUS_muDecayPol_Phi"]=&pos_Phi_MINUS_muDecayPol_Phi;
variableMap["pos_Phi_MINUS_muDecayPol_Phi360"]=&pos_Phi_MINUS_muDecayPol_Phi360;
// variableMap["det_time0"]=&det_time0;
// variableMap["gen_time0"]=&gen_time0;
// variableMap["det_time1"]=&det_time1;
@ -464,6 +498,19 @@ musrAnalysis::musrAnalysis(TTree *tree)
variableMap["det_time10"]=&det_time10;
variableMap["gen_time10"]=&gen_time10;
variableMap["det_time10_MINUS_gen_time10"]=&det_time10_MINUS_gen_time10;
variableMap["det_time1_MINUS_muDecayTime"]=&det_time1_MINUS_muDecayTime;
variableMap["detP_x"]=&detP_x;
variableMap["detP_y"]=&detP_x;
variableMap["detP_z"]=&detP_x;
variableMap["detP_time_start"]=&detP_time_start;
variableMap["detP_time_end"]=&detP_time_end;
variableMap["detP_theta"]=&detP_theta;
variableMap["detP_phi"]=&detP_phi;
variableMap["detP_phi_MINUS_pos_Phi"]=&detP_phi_MINUS_pos_Phi;
variableMap["detP_phi_MINUS_pos_Phi360"]=&detP_phi_MINUS_pos_Phi360;
variableMap["detP_theta_MINUS_pos_Theta"]=&detP_theta_MINUS_pos_Theta;
variableMap["detP_theta_MINUS_pos_Theta360"]=&detP_theta_MINUS_pos_Theta360;
variableMap["detP_time_start_MINUS_muDecayTime"]=&detP_time_start_MINUS_muDecayTime;
variableMap["pileup_eventID"]=&pileup_eventID;
variableMap["pileup_muDecayDetID"]=&pileup_muDecayDetID_double;
variableMap["pileup_muDecayPosX"]=&pileup_muDecayPosX;