StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Reconstructor.h
1 /*
2  Copyright (C) 2009 Matthias Kretz <kretz@kde.org>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) version 3.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 
19 */
20 
21 #ifndef RECONSTRUCTOR_H
22 #define RECONSTRUCTOR_H
23 
24 #include "AliHLTTPCCATracker.h"
25 
26 #ifdef USE_TBB
27 #include <tbb/task.h>
28 
29 class AliHLTTPCCATracker::Reconstructor : public tbb::task
30 {
31  public:
32  Reconstructor( AliHLTTPCCATracker *tracker ) : d( tracker ) {}
33  tbb::task *execute();
34 
35  private:
36  AliHLTTPCCATracker *const d;
37 };
38 #else //USE_TBB
40 {
41  public:
42  Reconstructor( AliHLTTPCCATracker *tracker ) : d( tracker ) {}
43  int execute();
44 
45  private:
46  AliHLTTPCCATracker *const d;
47 };
48 #endif //USE_TBB
49 
50 #endif // RECONSTRUCTOR_H