]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/TPC/AliRecInfoCuts.cxx
.so cleanup: more gSystem->Load()
[u/mrichter/AliRoot.git] / PWGPP / TPC / AliRecInfoCuts.cxx
CommitLineData
7cc34f08 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
7* Permission to use, copy, modify and distribute this software and its *
8* documentation strictly for non-commercial purposes is hereby granted *
9* without fee, provided that the above copyright notice appears in all *
10* copies and that both the copyright notice and this permission notice *
11* appear in the supporting documentation. The authors make no claims *
12* about the suitability of this software for any purpose. It is *
13* provided "as is" without express or implied warranty. *
14**************************************************************************/
15
16//------------------------------------------------------------------------------
17// Implementation of the AliRecInfoCuts class. It keeps selection cuts for
18// reconstructed tracks.
19//
20// Author: J.Otwinowski 04/02/2008
21//------------------------------------------------------------------------------
22
23#include "AliRecInfoCuts.h"
24
25ClassImp(AliRecInfoCuts)
26
27//_____________________________________________________________________________
28AliRecInfoCuts::AliRecInfoCuts(const Char_t* name,const Char_t *title) : AliESDtrackCuts(name, title)
29, fMinTPCsignalN(0)
30, fMaxAbsTanTheta(0)
31, fMinNClustersTRD(0)
32, fTPCITSMatchingRadius(0)
33, fTPCTRDMatchingRadius(0)
34, fMinNTrackletsTRD(0)
35{
36 // init data members with defaults
36c8e4e6 37 InitME();
7cc34f08 38}
39
40//_____________________________________________________________________________
36c8e4e6 41void AliRecInfoCuts::InitME()
7cc34f08 42{
43 // set default values
44 SetMinTPCsignalN();
45 SetMaxAbsTanTheta();
46 SetMinNClustersTRD();
47 SetMinNTrackletsTRD();
48 SetTPCITSMatchingRadius();
49 SetTPCTRDMatchingRadius();
50}
51
52
53//_____________________________________________________________________________
54/*
55Long64_t AliRecInfoCuts::Merge(TCollection* list) const
56{
57 // Merge list of objects (needed by PROOF)
58
59 if (!list)
60 return 0;
61
62 if (list->IsEmpty())
63 return 1;
64
65 TIterator* iter = list->MakeIterator();
66 TObject* obj = 0;
67
68 Int_t count=0;
69 while((obj = iter->Next()) != 0)
70 {
71 AliRecInfoCuts* entry = dynamic_cast<AliRecInfoCuts*>(obj);
72 if (entry == 0)
73 continue;
74
75 count++;
76 }
77
78return count;
79}
80*/
81