StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjAbstractTrackRegion.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Grant Webb <grant.webb@uky.edu>
5 // University of Kentucky
6 // 8 March 2013
7 //
8 
9 #ifndef STJ_ABSTRACT_TRACK_REGION_H
10 #define STJ_ABSTRACT_TRACK_REGION_H
11 
12 // ROOT
13 #include "TObject.h"
14 
15 // STAR
16 #include "StjTrackList.h"
17 #include "StSpinPool/StJetEvent/StJetCandidate.h"
18 
19 class StjAbstractTrackRegion : public TObject {
20 public:
22  virtual ~StjAbstractTrackRegion() {}
23 
24  StjTrackList operator()(const StjTrackList& trackList, const StJetCandidate* jet, const TString name)
25  {
26  return Do(trackList, jet, name);
27  }
28 
29  virtual StjTrackList Do(const StjTrackList& trackList, const StJetCandidate* jet, const TString name) = 0;
30 
31  ClassDef(StjAbstractTrackRegion,0);
32 };
33 
34 #endif // STJ_ABSTRACT_TRACK_REGION_H
35