]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/AliRecInfoCuts.cxx
A new method DrawPMDModule is added
[u/mrichter/AliRoot.git] / PWG1 / AliRecInfoCuts.cxx
CommitLineData
b4126c69 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
e178f9f2 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{
32 // init data members with defaults
33 Init();
34}
35
36//_____________________________________________________________________________
37void AliRecInfoCuts::Init()
38{
39 // set default values
40 SetMinTPCsignalN();
41 SetMaxAbsTanTheta();
42}
43
44
45//_____________________________________________________________________________
46/*
47Long64_t AliRecInfoCuts::Merge(TCollection* list) const
48{
49 // Merge list of objects (needed by PROOF)
50
51 if (!list)
52 return 0;
53
54 if (list->IsEmpty())
55 return 1;
56
57 TIterator* iter = list->MakeIterator();
58 TObject* obj = 0;
59
60 Int_t count=0;
61 while((obj = iter->Next()) != 0)
62 {
63 AliRecInfoCuts* entry = dynamic_cast<AliRecInfoCuts*>(obj);
64 if (entry == 0)
65 continue;
66
67 count++;
68 }
69
70return count;
71}
72*/
73