]>
Commit | Line | Data |
---|---|---|
820b4d9e | 1 | //================================================================================================================================ |
2 | ||
3 | void AliMuonForwardTrackFinder(Int_t run=0, | |
7e3dd1af | 4 | Bool_t bransonCorrection = kTRUE, |
b5ab1ac4 | 5 | Double_t zVertexError=0.010, |
d4643a10 | 6 | Int_t matching=0, |
820b4d9e | 7 | const Char_t *readDir= ".", |
8 | const Char_t *outDir = ".", | |
9 | Int_t nEventsToAnalyze = -1) { | |
10 | ||
11 | // TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", -1., -1, AliMagF::k5kG)); | |
12 | ||
d4643a10 | 13 | // AliLog::SetClassDebugLevel("AliMuonForwardTrackFinder", 1); |
14 | ||
820b4d9e | 15 | AliCDBManager* man = AliCDBManager::Instance(); |
16 | man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
17 | man->SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd())); | |
18 | ||
19 | AliMuonForwardTrackFinder *finder = new AliMuonForwardTrackFinder(); | |
20 | finder->SetDraw(kFALSE); | |
21 | finder->Init(run, readDir, outDir, nEventsToAnalyze); | |
22 | ||
23 | finder -> SetSigmaSpectrometerCut(4.0); | |
24 | finder -> SetSigmaClusterCut(4.0); | |
25 | finder -> SetChi2GlobalCut(2.0); | |
26 | finder -> SetRAbsorberCut(0.0); | |
27 | // finder -> SetRAbsorberCut(26.4); | |
28 | finder -> SetLowPtCut(0.0); | |
29 | // finder -> SetLowPtCut(0.5); | |
b5ab1ac4 | 30 | finder -> SetVertexError(0.015, 0.015, zVertexError); |
9805ceb3 | 31 | finder -> SetMatchingMode(matching); // 0 -> real matching 1 -> ideal matching |
7e3dd1af | 32 | // finder -> SetMinResearchRadiusAtPlane(4, 0.0); |
33 | // finder -> SetMinResearchRadiusAtPlane(3, 0.0); | |
b5ab1ac4 | 34 | finder -> SetMinResearchRadiusAtPlane(4, 0.50); |
35 | finder -> SetMinResearchRadiusAtPlane(3, 0.05); | |
7e3dd1af | 36 | finder -> SetBransonCorrection(bransonCorrection); |
820b4d9e | 37 | |
38 | while (finder->LoadNextTrack()) continue; | |
39 | ||
40 | if (finder->GetNRealTracksAnalyzed()) finder->Terminate(); | |
41 | ||
42 | } | |
43 | ||
44 | //================================================================================================================================ | |
45 |