StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerEnergyPrint.h
1 // -*- mode: c++;-*-
2 // $Id: StjTowerEnergyPrint.h,v 1.1 2008/11/27 07:35:32 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTOWERENERGYPRINT_H
5 #define STJTOWERENERGYPRINT_H
6 
7 #include <TObject.h>
8 
9 #include "StjTowerEnergyList.h"
10 
11 #include <fstream>
12 #include <string>
13 
14 class StjTowerEnergyPrint : public TObject {
15 
16 public:
17 
19  virtual ~StjTowerEnergyPrint() { }
20 
21  void operator()(const StjTowerEnergyList& energyList);
22 
23 private:
24 
25  void print(const StjTowerEnergy& energyDeposit);
26 
27  ClassDef(StjTowerEnergyPrint, 1)
28 
29 };
30 
31 #endif // STJTOWERENERGYPRINT_H