1#ifndef NUAGEGENERATOR_H
2#define NUAGEGENERATOR_H 1
5#include "FairGenerator.h"
12class FairPrimaryGenerator;
26 virtual Bool_t
Init(
const char*,
int);
27 virtual Bool_t
Init(
const char*);
30 void SetPositions(Double_t zTa, Double_t zS=-3400., Double_t zE=2650., Double_t xS = 0, Double_t xE = 0, Double_t yS = 0, Double_t yE=0 ){
39 void AddBox(TVector3 dVec, TVector3 box);
44 std::vector<double>
Rotate(Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz);
45 Double_t
MeanMaterialBudget(
const Double_t *start,
const Double_t *end, Double_t *mparam);
50 Float_t
Ev,
pxv,
pyv,
pzv,
El,
pxl,
pyl,
pzl,
vtxx,
vtxy,
vtxz,
vtxt;
63 std::vector<TVector3>
boxs;
virtual Bool_t Init(const char *, int)
Bool_t ReadEvent(FairPrimaryGenerator *)
void EnableExternalDecayer(Bool_t value)
std::vector< TVector3 > dVecs
TFile * fInputFile
don't make it persistent, magic ROOT command
ClassDef(NuageGenerator, 2)
void AddBox(TVector3 dVec, TVector3 box)
void SetPositions(Double_t zTa, Double_t zS=-3400., Double_t zE=2650., Double_t xS=0, Double_t xE=0, Double_t yS=0, Double_t yE=0)
virtual ~NuageGenerator()
std::vector< TVector3 > boxs
Double_t MeanMaterialBudget(const Double_t *start, const Double_t *end, Double_t *mparam)
std::vector< double > Rotate(Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz)