Added all Mu fractions to print method; added time stamps in root macro.
This commit is contained in:
parent
4aa264c17a
commit
e91f8074a6
@ -172,6 +172,8 @@ void PSimulateMuTransition::PrintSettings() const
|
|||||||
cout << endl << "Muonium fraction state34 = " << fMuFractionState34;
|
cout << endl << "Muonium fraction state34 = " << fMuFractionState34;
|
||||||
cout << endl << "Muonium fraction state23 = " << fMuFractionState23;
|
cout << endl << "Muonium fraction state23 = " << fMuFractionState23;
|
||||||
cout << endl << "Muonium fraction state14 = " << fMuFractionState14;
|
cout << endl << "Muonium fraction state14 = " << fMuFractionState14;
|
||||||
|
cout << endl << "Muonium fraction state13 = " << fMuFractionState13;
|
||||||
|
cout << endl << "Muonium fraction state24 = " << fMuFractionState24;
|
||||||
cout << endl << "Number of particles to simulate = " << fNmuons;
|
cout << endl << "Number of particles to simulate = " << fNmuons;
|
||||||
cout << endl << "Print progress on screen frequency = " << fNshowProgress;
|
cout << endl << "Print progress on screen frequency = " << fNshowProgress;
|
||||||
cout << endl << "Initial muon spin phase (degree) = " << fInitialPhase;
|
cout << endl << "Initial muon spin phase (degree) = " << fInitialPhase;
|
||||||
|
@ -89,6 +89,11 @@ void runMuSimulation()
|
|||||||
Double_t Asym = 0.27; //muon decay asymmetry
|
Double_t Asym = 0.27; //muon decay asymmetry
|
||||||
Int_t debugFlag = 0; //print debug information on screen
|
Int_t debugFlag = 0; //print debug information on screen
|
||||||
|
|
||||||
|
TTimeStamp *timeStampStart = new TTimeStamp();
|
||||||
|
cout << endl << "Simulation started on:" << endl;
|
||||||
|
timeStampStart->Print("l);
|
||||||
|
cout << endl;
|
||||||
|
|
||||||
histogramFileName = TString("0");
|
histogramFileName = TString("0");
|
||||||
histogramFileName += runNo;
|
histogramFileName += runNo;
|
||||||
histogramFileName += TString(".root");
|
histogramFileName += TString(".root");
|
||||||
@ -97,6 +102,8 @@ void runMuSimulation()
|
|||||||
runTitle = TString("0");
|
runTitle = TString("0");
|
||||||
runTitle += runNo;
|
runTitle += runNo;
|
||||||
runTitle += TString(titleStr);
|
runTitle += TString(titleStr);
|
||||||
|
|
||||||
|
cout << runTitle << endl << endl;
|
||||||
|
|
||||||
PSimulateMuTransition *simulateMuTransition = new PSimulateMuTransition();
|
PSimulateMuTransition *simulateMuTransition = new PSimulateMuTransition();
|
||||||
if (!simulateMuTransition->IsValid()){
|
if (!simulateMuTransition->IsValid()){
|
||||||
@ -249,6 +256,11 @@ void runMuSimulation()
|
|||||||
gRunHeader->Write();
|
gRunHeader->Write();
|
||||||
fout->Close();
|
fout->Close();
|
||||||
cout << "Histograms written to " << histogramFileName.Data() << endl;
|
cout << "Histograms written to " << histogramFileName.Data() << endl;
|
||||||
|
|
||||||
|
cout << endl << "Simulation stopped on:" << endl;
|
||||||
|
TTimeStamp *timeStampEnd = new TTimeStamp();
|
||||||
|
timeStampEnd->Print("l");
|
||||||
|
cout << endl;
|
||||||
|
|
||||||
// delete fout;
|
// delete fout;
|
||||||
// delete header;
|
// delete header;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user