KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVTestEvent.h
Go to the documentation of this file.
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 
25 class TRandom3;
26 class KVNucleus;
27 
56 class KVTestEvent: public KVSimEvent {
57 
69 
70 public:
71 
72  KVTestEvent();
73  virtual ~ KVTestEvent();
74  void init();
75  KVTestEvent(UInt_t mult, Option_t* t = "isotropic");
76 
77  void SetZRange(UInt_t zlo, UInt_t zhi);
78  void SetERange(Float_t elo, Float_t ehi);
79  void SetERangeAMeV(Float_t elo, Float_t ehi);
80  void SetThetaRange(Float_t thmin, Float_t thmax);
81  void SetPhiRange(Float_t phmin, Float_t phmax);
83  {
84  fGenMult = m;
85  } void Generate();
86  virtual void Print(Option_t* t = "") const;
87 
88  ClassDef(KVTestEvent, 1) //A simple event generator to test charged particle array response
89 };
90 
91 #endif
unsigned int UInt_t
char Char_t
bool Bool_t
float Float_t
const char Option_t
#define ClassDef(name, id)
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125
Container class for simulated nuclei, KVSimNucleus.
Definition: KVSimEvent.h:15
A simple event generator for testing charged particle array response.
Definition: KVTestEvent.h:56
void SetThetaRange(Float_t thmin, Float_t thmax)
UInt_t fGenMult
multiplicity of nuclei to generate
Definition: KVTestEvent.h:68
void SetMult(UInt_t m)
Definition: KVTestEvent.h:82
void SetZRange(UInt_t zlo, UInt_t zhi)
Definition: KVTestEvent.cpp:88
Char_t fOption[12]
[12] option string
Definition: KVTestEvent.h:67
Float_t fUpper_Limit_E
max E of nuclei
Definition: KVTestEvent.h:60
void SetPhiRange(Float_t phmin, Float_t phmax)
void init()
Default initialisations.
Definition: KVTestEvent.cpp:32
Float_t fLower_Limit_phi
min phi of nuclei
Definition: KVTestEvent.h:66
Float_t fUpper_Limit_phi
max phi of nuclei
Definition: KVTestEvent.h:65
Float_t fUpper_Limit_theta
max theta of nuclei
Definition: KVTestEvent.h:63
UInt_t fLower_Limit_Z
min Z of nuclei
Definition: KVTestEvent.h:59
virtual ~ KVTestEvent()
virtual void Print(Option_t *t="") const
Float_t fLower_Limit_theta
min theta of nuclei
Definition: KVTestEvent.h:64
void Generate()
Bool_t kAMeV
true if E limits are in MeV/nucleon
Definition: KVTestEvent.h:62
void SetERange(Float_t elo, Float_t ehi)
KVTestEvent()
Default constructor.
Definition: KVTestEvent.cpp:20
UInt_t fUpper_Limit_Z
max Z of nuclei
Definition: KVTestEvent.h:58
Float_t fLower_Limit_E
min E of nuclei
Definition: KVTestEvent.h:61
void SetERangeAMeV(Float_t elo, Float_t ehi)
const long double m
Definition: KVUnits.h:70