root [0] gAlice->SetConfigFunction("Config( \"/home/martinez/aliroot/work_NewIO/test/\" , \"box\" );");
============================================================
- How to run MUON Digitalization
+ How to run MUON Hits to SDigits
+============================================================
+AliRunDigitizer * manager = new AliRunDigitizer(1,1);
+manager->SetInputStream(0,"galice.root");
+AliMUONDigitizer * dMUON = new AliMUONSDigitizerv1(manager);
+manager->AddDigitizer(dMUON);
+manager->Exec("deb");
+
+
+============================================================
+ How to run MUON Digitalization from SDigits
+============================================================
+To process the digitalization of hits the AliRunDigitizer
+framework is used:
+
+AliRunDigitizer * manager = new AliRunDigitizer(1,1);
+manager->SetInputStream(0,"galice.root");
+AliMUONDigitizerv2* dMUON = new AliMUONDigitizerv2(manager)
+manager->AddDigitizer(dMUON);
+manager->Exec("deb");
+
+
+============================================================
+ How to run MUON Digitalization from Hits
============================================================
To process the digitalization of hits the AliRunDigitizer
framework is used:
MUONtrigger("galice.root",0,9999);
To Load
gSystem->Load("$ALICE_ROOT/MUON/MUONtrigger_C.so")
+
============================================================
How to run MUON Tracking reconstruction (old output)
===========================================================
members of ALiMUONTrack: fgFitter, fEventReconstructor,
and fTrackHitsPtr are not saved in the MUON.Track.root file
+
===========================================================
How to run MUON Trigger Track reconstruction (new output)
===========================================================
Output in MUON.Tracks.root using the new IO
as a TClonesArray of AliMUONTriggerTrack
+==========================================================
+ How to run full MUON reconstruction
+(clusterisation + trigger + tracking)
+===========================================================
+.includepath $ALICE_ROOT/STEER
+.includepath $ALICE_ROOT/MUON
+.L $ALICE_ROOT/MUON/MUONChallengeTest.C++
+MUONRecoTest("galice.root");
+
============================================================
How to run MUONCheck macro
gSystem->Load("$ALICE_ROOT/MUON/MUONCheck_C.so")
To print Kine : (default file is galice.root )
-MUONkine()
+MUONkine() or MUONkine("galice.root",##) for the event number ##
To print hits : (default file is galice.root if not MUONhits("toto.root""); )
-MUONhits()
+MUONhits() or MUONhits("galice.root",##) for the event number ##
To print digits : (default file is galice.root)
-MUONdigits()
+MUONdigits() or MUONdigits("galice.root",##) for the event number ##
To print rawcluster : (default file is galice.root)
-MUONrecpoints()
+MUONrecpoints() or MUONrecpoints("galice.root",##) for the event number ##
To print trigger : (default file is galice.root)
-MUONTestTrigger()
+MUONTestTrigger() or MUONTestTrigger("galice.root",##) for the event number ##
+
+....
============================================================
TRACKING must be 1 for RKUTA and 2 for HELIX (the default value for aliroot is 2 (HELIX))
FACTOR allows you to set the magnetic field to 0, just putting FACTOR=0. Default value is 1.
MAXB is the maximum magnetic field which is 10.T
+
===========================================================
MUON cocktail for physics ..............
===========================================================
gener->SetSigma(0,0,0.0); // Sigma in (X,Y,Z) (cm) on IP position
gener->Init();
+===========================================================
+ csh Script for the full reconstruction
+===========================================================
+
+
+aliroot -b << EOF
+AliSimulation MuonSim("YourConfig.C")
+MuonSim.Run(XXX)
+.q
+EOF
+
+aliroot -b << EOF
+TPluginManager* pluginManager = gROOT->GetPluginManager();
+pluginManager->AddHandler("AliReconstructor", "MUON","AliMUONReconstructor", "MUON","AliMUONReconstructor()")
+AliReconstruction MuonRec("galice.root")
+MuonRec.SetRunVertexFinder(kFALSE)
+MuonRec.SetRunLocalReconstruction("MUON")
+MuonRec.SetFillESD("MUON")
+MuonRec.Run()
+.q
+EOF
+
+aliroot -b << EOF
+.includepath $ALICE_ROOT/STEER
+.includepath $ALICE_ROOT/MUON
+.L $ALICE_ROOT/MUON/MUONmassPlot_ESD.C++
+MUONmassPlot("galice.root",0,99999);
+.q
+EOF
===========================================================
Still working ..............