00001
00002
00003
00004 #ifndef STJTRACKTOFOURVEC_H
00005 #define STJTRACKTOFOURVEC_H
00006
00007 #include <TObject.h>
00008
00009 #include "StjFourVecList.h"
00010
00011 #include "StjTrackToTLorentzVector.h"
00012
00013 class StjTrack;
00014
00015 class StjTrackToFourVec : public TObject {
00016 public:
00017 StjTrackToFourVec(double mass = 0.1395700 )
00018 : _track2tlorentzvector(*(new StjTrackToTLorentzVector(mass))) { }
00019 virtual ~StjTrackToFourVec() { delete &_track2tlorentzvector; }
00020 StjFourVec operator()(const StjTrack& track);
00021
00022 private:
00023 StjTrackToTLorentzVector& _track2tlorentzvector;
00024 ClassDef(StjTrackToFourVec, 1)
00025
00026 };
00027
00028 #endif // STJTRACKTOFOURVEC_H