KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVTestEvent.h
1/***************************************************************************
2 kvtestevent.h - description
3 -------------------
4 begin : Sun May 19 2002
5 copyright : (C) 2002 by J.D. Frankland
6 email : frankland@ganil.fr
7
8$Id: KVTestEvent.h,v 1.8 2006/10/19 14:32:43 franklan Exp $
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20#ifndef KVTESTEVENT_H
21#define KVTESTEVENT_H
22
23#include "KVSimEvent.h"
24
25class TRandom3;
26class KVNucleus;
27
57class KVTestEvent: public KVSimEvent {
58
70
71public:
72
74 virtual ~ KVTestEvent();
75 void init();
76 KVTestEvent(UInt_t mult, Option_t* t = "isotropic");
77
78 void SetZRange(UInt_t zlo, UInt_t zhi);
79 void SetERange(Float_t elo, Float_t ehi);
80 void SetERangeAMeV(Float_t elo, Float_t ehi);
81 void SetThetaRange(Float_t thmin, Float_t thmax);
82 void SetPhiRange(Float_t phmin, Float_t phmax);
84 {
85 fGenMult = m;
86 }
87 void Generate();
88 virtual void Print(Option_t* t = "") const;
89
90 ClassDef(KVTestEvent, 1) //A simple event generator to test charged particle array response
91};
92
93#endif
unsigned int UInt_t
bool Bool_t
char Char_t
float Float_t
const char Option_t
#define ClassDef(name, id)
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Container class for simulated nuclei, KVSimNucleus.
Definition KVSimEvent.h:22
A simple event generator for testing charged particle array response.
Definition KVTestEvent.h:57
void SetThetaRange(Float_t thmin, Float_t thmax)
UInt_t fGenMult
multiplicity of nuclei to generate
Definition KVTestEvent.h:69
void SetMult(UInt_t m)
Definition KVTestEvent.h:83
void SetZRange(UInt_t zlo, UInt_t zhi)
Char_t fOption[12]
[12] option string
Definition KVTestEvent.h:68
Float_t fUpper_Limit_E
max E of nuclei
Definition KVTestEvent.h:61
void SetPhiRange(Float_t phmin, Float_t phmax)
void init()
Default initialisations.
Float_t fLower_Limit_phi
min phi of nuclei
Definition KVTestEvent.h:67
Float_t fUpper_Limit_phi
max phi of nuclei
Definition KVTestEvent.h:66
Float_t fUpper_Limit_theta
max theta of nuclei
Definition KVTestEvent.h:64
UInt_t fLower_Limit_Z
min Z of nuclei
Definition KVTestEvent.h:60
virtual void Print(Option_t *t="") const
Float_t fLower_Limit_theta
min theta of nuclei
Definition KVTestEvent.h:65
Bool_t kAMeV
true if E limits are in MeV/nucleon
Definition KVTestEvent.h:63
void SetERange(Float_t elo, Float_t ehi)
KVTestEvent()
Default constructor.
UInt_t fUpper_Limit_Z
max Z of nuclei
Definition KVTestEvent.h:59
Float_t fLower_Limit_E
min E of nuclei
Definition KVTestEvent.h:62
void SetERangeAMeV(Float_t elo, Float_t ehi)
TMarker m