2 // $Id: AliHLTESDTrackCuts.cxx $
3 //**************************************************************************
4 //* This file is property of and copyright by the ALICE HLT Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
7 //* Primary Authors: Jochen Thaeder <jochen@thaeder.de> *
8 //* for The ALICE HLT Project. *
10 //* Permission to use, copy, modify and distribute this software and its *
11 //* documentation strictly for non-commercial purposes is hereby granted *
12 //* without fee, provided that the above copyright notice appears in all *
13 //* copies and that both the copyright notice and this permission notice *
14 //* appear in the supporting documentation. The authors make no claims *
15 //* about the suitability of this software for any purpose. It is *
16 //* provided "as is" without express or implied warranty. *
17 //**************************************************************************
19 /** @file AliHLTESDTrackCuts.cxx
20 @author Jochen Thaeder <jochen@thaeder.de>
21 @brief ESD track cuts used in the analysis of HLT data
24 // see header file for class documentation
26 // refer to README to build package
28 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
34 #include "AliHLTESDTrackCuts.h"
35 #include "AliESDtrack.h"
37 /** ROOT macro for the implementation of ROOT specific class methods */
38 ClassImp(AliHLTESDTrackCuts)
41 * ---------------------------------------------------------------------------------
42 * Constructor / Destructor
43 * ---------------------------------------------------------------------------------
46 //##################################################################################
47 AliHLTESDTrackCuts:: AliHLTESDTrackCuts(const Char_t* name, const Char_t* title)
48 : AliESDtrackCuts(name,title) {
49 // see header file for class documentation
51 // refer to README to build package
53 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
57 //##################################################################################
58 AliHLTESDTrackCuts::~AliHLTESDTrackCuts() {
59 // see header file for class documentation
63 * ---------------------------------------------------------------------------------
65 * ---------------------------------------------------------------------------------
68 //##################################################################################
69 Bool_t AliHLTESDTrackCuts::IsSelected(TObject* obj) {
70 // see header file for class documentation
72 AliESDtrack* esdTrack = dynamic_cast<AliESDtrack*>(obj);
76 return AcceptTrack(esdTrack);
80 * ---------------------------------------------------------------------------------
81 * Standard Track Cut Definitions
82 * ---------------------------------------------------------------------------------
85 //##################################################################################
86 AliHLTESDTrackCuts* AliHLTESDTrackCuts::GetStandardTrackCuts2010pp() {
87 // see header file for class documentation
90 // !!! Be aware - this is not the final yet
93 // -- HLT adopted track cuts
94 AliHLTESDTrackCuts* esdTrackCuts = new AliHLTESDTrackCuts("ALiHLTESDTrackCuts","HLT standard track cuts 2010 for pp");
96 // -- turn off criteria
97 esdTrackCuts->SetDCAToVertex2D(kFALSE);
98 esdTrackCuts->SetRequireSigmaToVertex(kFALSE);
99 esdTrackCuts->SetRequireTPCRefit(kFALSE);
100 esdTrackCuts->SetRequireITSRefit(kFALSE);
103 esdTrackCuts->SetMaxDCAToVertexXY(3.0);
104 esdTrackCuts->SetMaxDCAToVertexZ(3.0);
105 esdTrackCuts->SetEtaRange(-0.9,0.9);
106 esdTrackCuts->SetMinNClustersTPC(60);
109 esdTrackCuts->SetPtRange(0.3,200.);