StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerEnergyFraction.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Grant Webb <grant.webb@uky.edu>
5 // University of Kentucky
6 // 6 March 2012
7 //
8 
9 #ifndef STJ_TOWER_ENERGY_FRACTION_H
10 #define STJ_TOWER_ENERGY_FRACTION_H
11 
12 // STAR
13 #include "StjTowerEnergyList.h"
14 
15 //Local
16 #include "StjAbstractTower.h"
17 
19 public:
20  StjTowerEnergyFraction(float fraction) : mFraction(fraction) {}
21  virtual ~StjTowerEnergyFraction() {}
22 
23  StjTowerEnergyList Do(const StjTowerEnergyList& energyDepositList);
24 
25  float fraction() const { return mFraction; }
26  void setFraction(float fraction) { mFraction = fraction; }
27 
28 private:
29  float mFraction;
30 
31  ClassDef(StjTowerEnergyFraction,0);
32 
33 };
34 
35 #endif // STJ_TOWER_ENERGYç_FRACTION_H