]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MFT/AliMuonForwardTrackFinder.C
Adding the new detector MFT (Antonio Uras)
[u/mrichter/AliRoot.git] / MFT / AliMuonForwardTrackFinder.C
CommitLineData
820b4d9e 1//================================================================================================================================
2
3void AliMuonForwardTrackFinder(Int_t run=0,
4 const Char_t *readDir= ".",
5 const Char_t *outDir = ".",
6 Int_t nEventsToAnalyze = -1) {
7
8 // TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", -1., -1, AliMagF::k5kG));
9
10 AliCDBManager* man = AliCDBManager::Instance();
11 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
12 man->SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd()));
13
14 AliMuonForwardTrackFinder *finder = new AliMuonForwardTrackFinder();
15 finder->SetDraw(kFALSE);
16 finder->Init(run, readDir, outDir, nEventsToAnalyze);
17
18 finder -> SetSigmaSpectrometerCut(4.0);
19 finder -> SetSigmaClusterCut(4.0);
20 finder -> SetChi2GlobalCut(2.0);
21 finder -> SetRAbsorberCut(0.0);
22 // finder -> SetRAbsorberCut(26.4);
23 finder -> SetLowPtCut(0.0);
24 // finder -> SetLowPtCut(0.5);
25 finder -> SetExtrapOriginTransvError(0.05); // To be imposed if the gen. vertex is fixed in (0,0,0)
26 finder -> SetGaussianBlurZVert(5.0); // To be imposed if the gen. vertex is fixed in (0,0,0)
27 finder -> SetMatchingMode(0); // 0 -> real matching 1 -> ideal matching
28 finder -> SetMinResearchRadiusAtLastPlane(0.5);
29
30 while (finder->LoadNextTrack()) continue;
31
32 if (finder->GetNRealTracksAnalyzed()) finder->Terminate();
33
34}
35
36//================================================================================================================================
37