StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerEnergyToTLorentzVector.h
1 // -*- mode: c++;-*-
2 // $Id: StjTowerEnergyToTLorentzVector.h,v 1.1 2008/11/27 07:35:33 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTOWERENERGYTOTLORENTZVECTOR_H
5 #define STJTOWERENERGYTOTLORENTZVECTOR_H
6 
7 #include <TObject.h>
8 
9 #include <TLorentzVector.h>
10 
11 class StjTowerEnergy;
12 
13 class StjTowerEnergyToTLorentzVector : public TObject {
14 
15 public:
16  StjTowerEnergyToTLorentzVector(double mass = 0 /* photon mass as default */)
17  : _mass(mass) { }
18  TLorentzVector operator()(const StjTowerEnergy& deposit);
19 
20 private:
21  double _mass;
22 
24 
25 };
26 
27 #endif // STJTOWERENERGYTOTLORENTZVECTOR_H