Go to the documentation of this file.
10 #include "FairRootManager.h"
19 for (
int i = 0;
i < map_size;
i++) {
20 Int_t good_track = map[
i];
21 for (
int j = track_pos; j < good_track; j++) {
24 track_pos = good_track + 1;
53 for (
int i = 0;
i < map_size;
i++) {
59 FairRootManager* manager = FairRootManager::Instance();
60 if (CanDeleteEvent()) {
71 mom.Boost(vx, vy, vz);
72 pos.Boost(vx, vy, vz);
79 if (CanDeleteEvent()) {
90 FairRootManager* manager = FairRootManager::Instance();
91 manager->Register(
"Event",
"", (TNamed*)
fEvent, write);
99 void NicaUnigenEventInterface::CopyUnigen(
UEvent* from,
UEvent* to) {
106 for (
int i = 0;
i < from->
GetNpa();
i++) {
TClonesArray * GetParticleList() const
virtual NicaTrackInterface * GetTrackInterface() const
virtual void ConnectToTree()
virtual void FillTrackInterface(NicaTrackInterface *track, Int_t index)
void GetComment(TString &comment) const
virtual void CopyData(NicaEventInterface *s)
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
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)
virtual void CopyAndCompress(NicaEventInterface *s, Int_t *map, Int_t map_size)
void SetStepNr(Int_t stepNr)
virtual void Boost(Double_t vx, Double_t vy, Double_t vz)
void SetStepT(Double_t stepT)
virtual ~NicaUnigenEventInterface()
void SetComment(const char *comment)
UParticle * GetParticle(Int_t index) const
NicaUnigenEventInterface()
virtual void Compress(Int_t *map, Int_t map_size)
TLorentzVector GetMomentum() const
TLorentzVector GetPosition() const
void SetPosition(Double_t x, Double_t y, Double_t z, Double_t t)
Double_t GetStepT() const
virtual void Register(Bool_t write)
void SetPhi(Double_t phi)
void Clear(Option_t *="")