6#include <Hal/DataManager.h>
7#include <Hal/TrackInterface.h>
15 for (
int i = 0; i < map_size; i++) {
16 Int_t good_track = map[i];
17 for (
int j = track_pos; j < good_track; j++) {
20 track_pos = good_track + 1;
49 for (
int i = 0; i < map_size; i++) {
56 Hal::DataManager* manager = Hal::DataManager::Instance();
66 mom.Boost(vx, vy, vz);
67 pos.Boost(vx, vy, vz);
80 Hal::DataManager* manager = Hal::DataManager::Instance();
81 manager->Register(
"Event",
"", (TNamed*)
fEvent, write);
virtual void FillTrackInterface(Hal::TrackInterface *track, Int_t index)
HalCbmUnigenEventInterface()
virtual void CopyAndCompress(Hal::EventInterface *s, Int_t *map, Int_t map_size)
virtual void Boost(Double_t vx, Double_t vy, Double_t vz)
virtual void ConnectToTreeInternal(EventInterface::eMode mode)
virtual void Compress(Int_t *map, Int_t map_size)
virtual ~HalCbmUnigenEventInterface()
virtual void CopyData(Hal::EventInterface *s)
virtual Hal::TrackInterface * GetTrackInterface() const
virtual void Register(Bool_t write)
void SetPhi(Double_t phi)
void AddParticle(Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t x, Double_t y, Double_t z, Double_t t, Double_t weight)
void Clear(Option_t *="")
void SetComment(const char *comment)
void SetStepNr(Int_t stepNr)
Double_t GetStepT() const
TClonesArray * GetParticleList() const
UParticle * GetParticle(Int_t index) const
void GetComment(TString &comment) const
void SetStepT(Double_t stepT)
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
TLorentzVector GetMomentum() const
TLorentzVector GetPosition() const
void SetPosition(Double_t x, Double_t y, Double_t z, Double_t t)