StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjAbstractTowerEnergyCorrectionForTracks.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Pibero Djawotho <pibero@tamu.edu>
5 // Texas A&M University
6 // 25 August 2009
7 //
8 
9 #ifndef STJ_ABSTRACT_TOWER_ENERGY_CORRECTION_FOR_TRACKS_H
10 #define STJ_ABSTRACT_TOWER_ENERGY_CORRECTION_FOR_TRACKS_H
11 
12 // ROOT
13 #include "TObject.h"
14 
15 // STAR
16 #include "StjTowerEnergyList.h"
17 #include "StjTrackList.h"
18 
20 public:
23 
24  StjTowerEnergyList operator()(const StjTowerEnergyList& energyDepositList, const StjTrackList& trackList)
25  {
26  return Do(energyDepositList,trackList);
27  }
28 
29  virtual StjTowerEnergyList Do(const StjTowerEnergyList& energyDepositList, const StjTrackList& trackList) = 0;
30 
32 };
33 
34 #endif // STJ_ABSTRACT_TOWER_ENERGY_CORRECTION_FOR_TRACKS_H