StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjAbstractTower.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_TOWER_H
10 #define STJ_ABSTRACT_TOWER_H
11 
12 // ROOT
13 #include "TObject.h"
14 
15 // STAR
16 #include "StjTowerEnergyList.h"
17 
18 class StjAbstractTower : public TObject {
19 public:
20  StjAbstractTower() {}
21  virtual ~StjAbstractTower() {}
22 
23  StjTowerEnergyList operator()(const StjTowerEnergyList& towerList)
24  {
25  return Do(towerList);
26  }
27 
28  virtual StjTowerEnergyList Do(const StjTowerEnergyList& towerList) = 0;
29 
30  ClassDef(StjAbstractTower,0);
31 };
32 
33 #endif // STJ_ABTRACT_TOWERS_H
34