StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjAbstractTowerRegion.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Grant Webb <gdwebb@bnl.gov>
5 // Brookhaven National Lab
6 // 8 August 2015
7 //
8 
9 #ifndef STJ_ABSTRACT_TOWER_REGION_H
10 #define STJ_ABSTRACT_TOWER_REGION_H
11 
12 // ROOT
13 #include "TObject.h"
14 
15 // STAR
16 #include "StjTowerEnergyList.h"
17 #include "StSpinPool/StJetEvent/StJetCandidate.h"
18 
19 class StjAbstractTowerRegion : public TObject {
20 public:
22  virtual ~StjAbstractTowerRegion() {}
23 
24  StjTowerEnergyList operator()(const StjTowerEnergyList& towerList, const StJetCandidate* jet, const TString name)
25  {
26  return Do(towerList, jet, name);
27  }
28 
29  virtual StjTowerEnergyList Do(const StjTowerEnergyList& towerList, const StJetCandidate* jet, const TString name) = 0;
30 
31  ClassDef(StjAbstractTowerRegion,0);
32 };
33 
34 #endif // STJ_ABSTRACT_TOWER_REGION_H
35