94 if (!
top)
return NULL;
174 Double_t CurrentWeight;
175 Int_t CurrentReactionNumber;
185 Int_t NumberOfReactions;
187 Int_t decaychannel_param;
206 void PrintReactionListEntry(
PReactionList*, ostream &os)
const;
211 using TObject::GetName;
212 const char *GetName(Int_t
id)
const;
222 int bulkdecay_pos, pro_bulkdecay_pos;
256 void Clear(
const Option_t *delme=NULL) {
257 if (delme)
MyClear((
char*) delme);
275 int f2=0,
int f3=0, TTree *tt=NULL);
277 int f3=0, TTree *tt=NULL);
282 Int_t
Loop(
int num,
int wf,
const char* name,
int f0=0,
283 int f1=0,
int f2=0,
int f3=0,
int rf=0);
284 Int_t
loop(
int num,
int wf,
const char* name,
int f0=0,
285 int f1=0,
int f2=0,
int f3=0,
int rf=0) {
286 return Loop(num, wf, name, f0,
f1,
f2, f3, rf);
294 void Print(
const Option_t *delme=NULL)
const {
295 if (delme && strlen(delme)) {
315 userSelection = (
void*)
f;
335 pdist->Disable(
"helicity_angles");
347 Warning(
"AddFileOutput",
"MAX_FILEOUTPUT reached");
350 files[fileoutput_pos++] = file;
358 Bool_t
Do(
const char *command) {
361 Bool_t
Do(TH1F *
f,
char *command) {
364 Bool_t
Do(TH2F *
f,
char *command) {
367 Bool_t
Output(TNtuple *
f,
char *command = (
char *)
"") {
374 if (!bulkdecay_pos) {
378 if (strcmp(
"PProjector", bulk[bulkdecay_pos-1]->GetName()) == 0) {
379 current_projector = (
PProjector *) bulk[bulkdecay_pos-1];
385 return current_projector;
PDistributionManager * makeDistributionManager()
void MyPrint(char *name) const
void SetDefault(Int_t id, Int_t recursive=0)
void Print(PParticle *p) const
void SetMaxFileSize(Int_t bytes)
Bool_t Do(TH1F *f, char *command)
void SetVerbose(Int_t v=1)
void SetUserSelection(Int_t(*f)(PParticle *))
PProjector * GetCurrentProjector(void)
void Print(const Option_t *delme=NULL) const
void SetUserSelection(void *f)
PDecayChannel * GetChannel(PParticle *p) const
Bool_t AddFileOutput(PFileOutput *file)
PReaction * GetNextReaction(int wf, const char *name, int f0=0, int f1=0, int f2=0, int f3=0, TTree *tt=NULL)
void SetDecayAll(Float_t tau=1.)
Bool_t Output(TNtuple *f, char *command=(char *)"")
void InitReaction(PParticle *start, PDecayChannel *c1=NULL)
void AddChannel(PParticle *p, PDecayChannel *n)
void SetWriteIndex(Bool_t flag)
void AddChannel(Int_t id, PDecayChannel *n)
PReaction * GetNextReaction(const char *name, int f0=0, int f1=0, int f2=0, int f3=0, TTree *tt=NULL)
void SetDefault(const char *p, Int_t recursive=0)
void Clear(const Option_t *delme=NULL)
void Print(Int_t id) const
PDecayChannel * GetChannel(Int_t id) const
Int_t loop(int num, int wf, const char *name, int f0=0, int f1=0, int f2=0, int f3=0, int rf=0)
Bool_t Do(const char *command)
Bool_t AddBulk(PBulkInterface *mybulk)
Bool_t AddPrologueBulk(PBulkInterface *mybulk)
void DisableHelicityAngle(void)
Bool_t Do(TH2F *f, char *command)
void SetPythia(TPythia6 *p)
PDecayChannel * GetChannel(char *n) const
PDistributionManager * GetDistributionManager(void)
void PrintReactionList() const
void SetTrigCond(Int_t n)
void AddChannel(const char *p, PDecayChannel *n)
Int_t Loop(int num, int wf, const char *name, int f0=0, int f1=0, int f2=0, int f3=0, int rf=0)
void SetDefault(PParticle *p, Int_t recursive=0)
Double_t GetCurrentWeight()
Bool_t AddOutputTNtuple(TNtuple *n, const char *command="")
Bool_t AddCommand(const char *command)
Bool_t AddInputTNtuple(TNtuple *n, const char *command="")
Bool_t AddHistogram(TH3 *histo, const char *command="", Int_t fillflag=1)
PStack< PChannel > * ToDo
PStack< PChannel > * Finished
PStack< T > * Clone(PStack< T > *UseThis=NULL)