StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerEnergyCorrectionForTracksFraction.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_TOWER_ENERGY_CORRECTION_FOR_TRACKS_FRACTION_H
10 #define STJ_TOWER_ENERGY_CORRECTION_FOR_TRACKS_FRACTION_H
11 
12 // STAR
13 #include "StjTowerEnergyList.h"
14 #include "StjTrackList.h"
15 
16 // Local
17 #include "StjAbstractTowerEnergyCorrectionForTracks.h"
18 
20 public:
21  StjTowerEnergyCorrectionForTracksFraction(float fraction) : mFraction(fraction) {}
23 
24  StjTowerEnergyList Do(const StjTowerEnergyList& energyDepositList, const StjTrackList& trackList);
25 
26  float fraction() const { return mFraction; }
27  void setFraction(float fraction) { mFraction = fraction; }
28 
29 private:
30  float mFraction;
31 
33 };
34 
35 #endif // STJ_TOWER_ENERGY_CORRECTION_FOR_TRACKS_FRACTION_H